ALS1 Config:: Sapiandante, Goran Y. EX7 Chapter 6 Lab 6-1, Securing Layer 2 Switches
ALS1 Config:: Sapiandante, Goran Y. EX7 Chapter 6 Lab 6-1, Securing Layer 2 Switches
ALS1 Config:: Sapiandante, Goran Y. EX7 Chapter 6 Lab 6-1, Securing Layer 2 Switches
ALS1 Config:
hostname ALS1 interface FastEthernet0/9
! !
aaa new-model !
! !
interface FastEthernet0/7 !
interface FastEthernet0/16 !
interface FastEthernet0/17 !
interface FastEthernet0/18 !
interface FastEthernet0/22 !
! login
switchport port-security !
! spanning-tree portfast
interface FastEthernet0/9 !
! !
! switchport port-security
! interface FastEthernet0/19
! interface FastEthernet0/24
! interface Vlan1
spanning-tree portfast !
! password cisco
spanning-tree portfast !
! interface Vlan1
! standby 1 ip 172.16.1.1
! standby 1 preempt
! !
! standby 1 preempt
interface FastEthernet0/10 !
! login
! end
interface FastEthernet0/12
interface FastEthernet0/12
hostname DLS2
switchport trunk encapsulation dot1q
!
switchport mode trunk
enable secret class
!
!
interface Vlan1
ip routing
ip address 172.16.1.4 255.255.255.0
!
standby 1 ip 172.16.1.1
ip dhcp relay information trust-all
standby 1 preempt
!
no shutdown
interface FastEthernet0/7
!
switchport trunk encapsulation dot1q
interface Vlan100
switchport mode trunk
ip address 172.16.100.4 255.255.255.0
!
standby 1 ip 172.16.100.1
interface FastEthernet0/8
standby 1 preempt
switchport trunk encapsulation dot1q
!
switchport mode trunk
interface Vlan200
!
ip address 172.16.200.4 255.255.255.0
interface FastEthernet0/9
standby 1 ip 172.16.200.1
switchport trunk encapsulation dot1q
standby 1 priority 150
switchport mode trunk
standby 1 preempt
!
!
interface FastEthernet0/10
line vty 0 4
switchport trunk encapsulation dot1q
password cisco
switchport mode trunk
login
!
line vty 5 15
interface FastEthernet0/11
password cisco
switchport trunk encapsulation dot1q
login
!
end