-
Task 1. Configure Sw1 and Sw2 with the VLAN naming as indicated.
Sw1,Sw2(config)# vlan 77
Sw1,Sw2(config-vlan)# name IT_User_VLAN
Sw1,Sw2(config-vlan)# vlan 88
Sw1,Sw2(config-vlan)# name HR_User_VLAN
Sw1,Sw2(config-vlan)# vlan 177
Sw1,Sw2(config-vlan)# name IT_Voice_VLAN
Sw1,Sw2(config-vlan)# vlan 188
Sw1,Sw2(config-vlan)# name HR_Voice_VLAN
Sw1,Sw2(config-vlan)# exit
-
Task 2. Assign the VLANs to the appropriate interfaces and set a non-trunking, non-tagged,
single-VLAN for each interface according to the topology.
Use access mode for these interfaces.
Flexible syntax: interface range e0/1 - 2 may be split into separate
interface e0/1 and interface e0/2 blocks (same access VLAN on each). Configure
e0/1, e0/2, and e0/3 in any order as long as every port is finished before you save.
Sw1(config)# interface range e0/1 - 2
Sw1(config-if-range)# switchport mode access
Sw1(config-if-range)# switchport access vlan 77
Sw1(config-if-range)# interface e0/3
Sw1(config-if)# switchport mode access
Sw1(config-if)# switchport access vlan 88
Sw1(config-if)# switchport voice vlan 188
Sw1(config-if)# interface e0/1
Sw1(config-if)# switchport voice vlan 177
Sw2(config)# interface e0/3
Sw2(config-if)# switchport mode access
Sw2(config-if)# switchport access vlan 77
Sw2(config-if)# interface e0/1
Sw2(config-if)# switchport mode access
Sw2(config-if)# switchport access vlan 88
Sw2(config-if)# switchport voice vlan 188
Sw2(config-if)# interface e0/2
Sw2(config-if)# switchport voice vlan 177
-
(Optional) Task 3. Configure both switches to use the L2 vendor-neutral discovery protocol to broadcast
device information, including the native VLAN across the e0/0 interfaces.
Sw1,Sw2(config)#lldp run
Sw1,Sw2(config)#int e0/0
Sw1,Sw2(config-if)#lldp transmit
Sw1,Sw2(config-if)#lldp receive
-
(Optional) Task 4. Configure interfaces E0/1, E0/2, and E0/3 so the interfaces do not pass the
configured neighbor discovery protocol. To be safe, disable both CDP and LLDP.
Sw1,Sw2(config)#int range e0/1 - 2, e0/3
Sw1,Sw2(config-if-range)#no cdp enable
Sw1,Sw2(config-if-range)#no lldp transmit
Sw1,Sw2(config-if-range)#no lldp receive
-
When finished: click Submit Lab on the main page (optional:
copy running-config startup-config on each switch).
Sw1,Sw2# copy running-config startup-config