Documente Academic
Documente Profesional
Documente Cultură
Place all switches in the VTP domain CISCO and set them all to VTP mode
transparent.
Arbab Nazar
Network Engineer
B.Sc. CE, M.Sc. Computer Networks
AS2(config)#vtp mode transparent
Make sure that all inter-switch links are statically set as 802.1q links.
DS1(config)#vlan 10
DS1(config-vlan)#exit
DS1(config)#vlan 200
DS1(config-vlan)#exit
DS1(config)#interface vlan 10
DS1(config-if)#ip add 172.16.10.1 255.255.255.0
DS1(config-if)#no sh
DS1(config-if)#exit
DS2(config)#vlan 10
DS2(config-vlan)#exit
DS2(config)#vlan 200
DS2(config-vlan)#exit
DS2(config)#interface vlan 10
DS2(config-if)#ip add 172.16.10.2 255.255.255.0
DS2(config-if)#no sh
DS2(config-if)#exit
AS1(config)#vlan 10
AS1(config-vlan)#exit
AS1(config)#vlan 200
AS1(config-vlan)#exit
AS2(config)#vlan 10
AS2(config-vlan)#exit
AS2(config)#vlan 200
AS2(config-vlan)#exit
Configure DLS1 and DLS2 to use HSRP on the 172.16.10.0/24 subnet. Make
DLS1 the primary gateway, and enable preemption on both switches.
DS1(config)#interface vlan 10
DS1(config-if)#standby 10 ip 172.16.10.3
Arbab Nazar
Network Engineer
B.Sc. CE, M.Sc. Computer Networks
DS1(config-if)#standby 10 priority 150
DS1(config-if)#standby 10 preempt
DS2(config)#interface vlan 10
DS2(config-if)# standby 10 ip 172.16.10.3
DS2(config-if)# standby 10 preempt
Place ports Fa0/15 through Fa0/20 in VLAN 10 on both access layer switches.
AS1(config)#mls qos
AS2(config)#mls qos
DS1(config)#mls qos
DS2(config)#mls qos
Arbab Nazar
Network Engineer
B.Sc. CE, M.Sc. Computer Networks
Configure ALS1 F0/15 and F0/16 for using Cisco IP phones with a voice VLAN of
200 and trust the IP phone CoSe s.
Configure ALS1 F0/18 through F0/20 for port security. Allow only up to three
MAC addresses to be learned on each port and then drop any traffic from other
MAC addresses.
Configure ALS2 F0/18 to only allows the MAC address 1234.1234 .1234 and to
shut down if a violation occurs.
AS2(config)#int fa0/18
AS2(config-if)#switchport port-security
AS2(config-if)#switchport port-security maximum 1
AS2(config-if)#switchport port-security mac-address 1234.1234.1234
AS2(config-if)#switchport port-security violation shutdown
AS2(config-if)#exit
Arbab Nazar
Network Engineer
B.Sc. CE, M.Sc. Computer Networks