1 Basic Configuration
1. Hostnames: Assign the Routers and Switchs name as topology. For example: BR1, Sw12….
2. Passwords & Banner Message:
a. Console and VTY lines are password , password=’class’.
b. Set the privileged mode password (enable secret password) to ‘cisco’.
c. Banner contains the name of device:router1, router2. (type "#router1#"...)
d. Set clock rate on serial interface as 64000
2 Head Quarter region
2.1 VLANs:
2.2 VTP:
VTP Domain: HeadQuarter
VTP pass: hqp@ss123
Sw31: server
Other switch: client
Note: change all switch mode to transparent when they learned all VLAN info.
2.3 STP:
STP mode: PVST+
Sw31: root bridge for all VLANs
Enable Cisco portfast on all accessLayer’switchs.
2.4 IP address:
All End users connect to VLAN have ip address in the subNetwork: 168.79.X.0/24, where X is VLAN ID
Router subinterface is assigned ip address with 4th octet : routerID
Ex: interface f0/1.10 of R3: 168.79.10.3
2.5 Routing
Router HeadQuarter shares routing info with other router using OSPF 1 area 0 (use network command with associated wildcard mask).
Configure routing in a stick on interface F0/1 of a router HeadQuarder.
Ex: vlan 10: f0/1.10, vlan20: f0/1.20…
3 BrandOffice1 region
3.1 VLANs:
3.2 VTP:
VTP Domain: BrandOffice1
VTP pass: br1p@ss123
Sw11: server
Other switch: client
3.3 STP:
STP mode: PVST+
Sw11: root bridge for all VLANs
Enable Cisco portfast on all switchs.
3.4 IP address:
All End users connect to VLAN have ip address in the subNetwork: 154.0.X.0/24, where X is VLAN ID
Router subinterface is assigned ip address with 4th octet : routerID (like 2.4)
3.5 Routing
Configure routing in a stick on interface F0/0 of the router BrandOffice1.
Ex: vlan 10: f0/0.10, vlan20: f0/0.20…
Router BrandOffice1 shares routing info with other router using OSPF 1 area 0 (use network command with associated wildcard mask).
3.6 Wireless (on AP1).
Internet port IP: 154.0.20.11
SSID: BrandOffice1
Mode: mixed
Local ip address: 10.0.1.0/24. Lan port IP: 10.0.1.1/24
Security Mode: WPA 2 Personal
- Encryption: AES
- Passphrase: BrandOffice1@wifi
Note: Student has to turn on the PC wirelessNIC to test the Wifi.
4 BrandOffice2 region
4.1 VLANs:
4.2 VTP:
VTP Domain: BrandOffice2
VTP pass: br2p@ss123
Sw11: server
Other switch: client
4.3 STP:
STP mode: PVST+
Sw21: root bridge for all VLANs
Enable Cisco portfast on all switchs.
4.4 IP address:
All End users connect to VLAN have ip address in the subNetwork: 167.1.X.0/24, where X is VLAN ID
Router subinterface is assigned ip address with 4th octet : routerID (like 2.4)
4.5 Routing
Configure routing in a stick on interface F0/0 of the router BrandOffice1.
Ex: vlan 10: f0/1.10, vlan20: f0/1.20…
Router BrandOffice1 shares routing info with other router using OSPF 1 area 0 (use network command with associated wildcard mask).
4.6 Wireless (on AP2).
Internet port IP: 167.1.20.22
SSID: BrandOffice2
Mode: mixed
Local ip address: 192.168.1.0. Lan port IP: 192.168.1.1/24
Security Mode: WPA 2 Personal
- Encryption: AES
- Passphrase: BrandOffice2@wifi
Note: Student has to turn on the PC wirelessNIC to test the Wifi.
5 IV. WAN Network
Each router has connection to ISP via serial interface with second ip address of the subnetwork.
- R1: 200.200.200.4/30
- R2: 200.200.200.0/30
- R3: 200.200.200.8/30
All routers have default route to the ISP using static routing.
R1, R2, R3, TFTP and WEB server using the ip address of Subnetwork 134.23.54.0/24 connect to the cluster(R1: +1, R2: +2, R3: +3, TFTP: +10, WEB: +11).
All router and switch have to save configuration file on TFTP server
_________________________________________________________________________
AP1
AP2
hostname R1_BR1
spanning-tree mode pvst
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 154.0.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 154.0.20.1 255.255.255.0
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 154.0.30.1 255.255.255.0
!
interface FastEthernet0/0.99
encapsulation dot1Q 99 native
ip address 154.0.99.1 255.255.255.0
!
interface FastEthernet0/1
ip address 134.23.54.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 200.200.200.2 255.255.255.252
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 154.0.10.0 0.0.0.255 area 0
network 154.0.20.0 0.0.0.255 area 0
network 154.0.30.0 0.0.0.255 area 0
network 154.0.99.0 0.0.0.255 area 0
network 134.23.54.0 0.0.0.255 area 0
default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
!
no cdp run
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
______________________________________________________
hostname R2_BR2
spanning-tree mode pvst
interface FastEthernet0/0
ip address 134.23.54.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.10
encapsulation dot1Q 10
ip address 167.1.10.2 255.255.255.0
!
interface FastEthernet0/1.20
encapsulation dot1Q 20
ip address 167.1.20.2 255.255.255.0
!
interface FastEthernet0/1.30
encapsulation dot1Q 30
ip address 167.1.30.2 255.255.255.0
!
interface FastEthernet0/1.99
encapsulation dot1Q 99 native
ip address 167.1.99.2 255.255.255.0
!
interface Serial0/0/0
ip address 200.200.200.10 255.255.255.252
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 167.1.10.0 0.0.0.255 area 0
network 167.1.20.0 0.0.0.255 area 0
network 167.1.30.0 0.0.0.255 area 0
network 167.1.99.0 0.0.0.255 area 0
network 134.23.54.0 0.0.0.255 area 0
default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
!
no cdp run
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
______________________________________________________
hostname R3_HeadQuarter
!
spanning-tree mode pvst
!
interface FastEthernet0/0
ip address 134.23.54.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.10
encapsulation dot1Q 10
ip address 168.79.10.3 255.255.255.0
!
interface FastEthernet0/1.20
encapsulation dot1Q 20
ip address 168.79.20.3 255.255.255.0
!
interface FastEthernet0/1.30
encapsulation dot1Q 30
ip address 168.79.30.3 255.255.255.0
!
interface FastEthernet0/1.99
encapsulation dot1Q 99 native
ip address 168.79.99.3 255.255.255.0
!
interface Serial0/0/0
ip address 200.200.200.6 255.255.255.252
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 168.79.10.0 0.0.0.255 area 0
network 168.79.20.0 0.0.0.255 area 0
network 168.79.30.0 0.0.0.255 area 0
network 168.79.99.0 0.0.0.255 area 0
network 134.23.54.0 0.0.0.255 area 0
default-information originate
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
!
no cdp run
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end
______________________________________________________
hostname Sw11
!
spanning-tree mode pvst
spanning-tree portfast default
spanning-tree vlan 1,10,20,30,99 priority 24576
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
end
______________________________________________________
hostname Sw12
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
end
______________________________________________________
hostname Sw13
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
end
______________________________________________________
hostname Sw13
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
end
______________________________________________________
hostname Sw21
!
spanning-tree mode pvst
spanning-tree portfast default
spanning-tree vlan 1,10,20,30,99 priority 24576
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
end
______________________________________________________
hostname Sw22
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw22
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw23
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw31
!
spanning-tree mode pvst
spanning-tree vlan 1,10,20,30,99 priority 24576
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw31
!
spanning-tree mode pvst
spanning-tree vlan 1,10,20,30,99 priority 24576
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw32
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/4
switchport trunk native vlan 99
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw33
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/4
switchport trunk native vlan 99
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw34
!
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw35
!
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw33
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/4
switchport trunk native vlan 99
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
hostname Sw34
!
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw35
!
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
______________________________________________________
hostname Sw36
!
!
spanning-tree mode pvst
spanning-tree portfast default
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/2
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 99
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 99
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
Không có nhận xét nào:
Đăng nhận xét