1. My Final Project in subject Computer Networks. I connect all the department with different
networks using encapsulation and vlan database technique. Below are the running configuration
of the main router and main switch.
2. MAIN ROUTER
Router#sh running-config
Building configuration...
Current configuration : 1473 bytes
!
version 12.4
no service timestamps log datetime
msec
no service timestamps debug datetime
msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.2.254 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 3
ip address 192.168.3.254 255.255.255.0
!
interface FastEthernet0/0.4
encapsulation dot1Q 4
ip address 192.168.4.254 255.255.255.0
!
interface FastEthernet0/0.5
encapsulation dot1Q 5
ip address 192.168.5.254 255.255.255.0
!
interface FastEthernet0/0.6
encapsulation dot1Q 6
ip address 192.168.6.254 255.255.255.0
!
interface FastEthernet0/0.7
encapsulation dot1Q 7
ip address 192.168.7.254 255.255.255.0
!
interface FastEthernet0/0.8
encapsulation dot1Q 8
ip address 192.168.8.254 255.255.255.0
!
interface FastEthernet0/0.9
encapsulation dot1Q 9
ip address 192.168.9.254 255.255.255.0
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.254
255.255.255.0
!
interface FastEthernet0/0.11
encapsulation dot1Q 11
ip address 192.168.11.254
255.255.255.0
3. !
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
MAIN SWITCH
Switch#show running-config
Building configuration...
Current configuration : 1808 bytes
!
version 12.2
no service timestamps log datetime
msec
no service timestamps debug datetime
msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 3
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 4
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 5
switchport mode access
spanning-tree portfast
!