Appendix A: Scenario-based Cisco command line reference 213
Scenario 3-2 – Cisco IOS command line configuration
(VLAN Tagging (802.1Q) with Multiple Shared Uplink
Sets (SUS))
Connect to the Cisco switch servicing the VC-Enet uplink ports and enter the following IOS commands.
NOTE: If tw o sw itches are being u sed, issu e the sam e com m ands on the second sw itch.
Table 10
Scenario 3-2 Cisco IOS command line configuration (802.1Q)
Command
Shortcut
Description
>enable
>en
Privilege mode
#configure terminal
#config t
Configure via terminal
#interface gigabitethernet0/1
#int gi0/1
Focus on Port 1
#switchport trunk encapsulation
dot1q
#sw tr enc dot
Configure Port 1 for tagged VLANs
#switchport trunk allowed vlan 101-
105
#sw tr ac vl 101-105
Configure port for VLANs 101
through 105
#switchport mode trunk
#sw mo tr
Enable trunking on Port 1
#spanning-tree portfast trunk
#sp portf tr
Enable portfast on Port 1
#exit
#ex
Remove focus from Port 1
#show lacp 10 internal
#sh la 10 i
Show the LACP group 10
configuration
#show etherchannel summary
#sh eth sum
Show the etherchannel configuration
#show interface port-channel10
trunk
#sh int port-channel 10 tr
Show the port channel 10 trunk
configuration
#copy running-config startup-config
(For permanent changes only)
#cop ru st
Save the running configuration to
NVRAM. Otherwise, the changes
will be lost on the next reboot.