Appendix A: Scenario-based Cisco command line reference 204
Simple vNet with Active/Standby Uplinks and Link Aggregation 802.3ad
(LACP) - Windows
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 1b
Scenario 1 (Part 2) - Cisco IOS command line configuration
Command
Shortcut
Description
>enable
>en
Privilege mode
#configure terminal
#config t
Configure via terminal
#interface gigabitethernet0/1
#int gi1/0/1
Focus on Port 1
#switchport mode access
#sw mo ac
Set Port 1 for Single VLAN mode
#switchport access vlan 1
#sw ac vl 1
Allow Port 1 access to VLAN 1
#channel-protocol lacp
#channel-p l
Configure Port 1 for 802.3ad LACP
#channel-group 10 mode active
#channel-g 10 mo ac
Enable channel group 10
#spanning-tree portfast trunk
# this is an access port, is this
required?
#sp portf tr
Enable portfast on Port 1
#exit
#ex
Remove focus from Port 1
#interface gigabitethernet0/2
#int gi0/2
Focus on Port 2
#switchport mode access
#sw mo ac
Set port 2 for Single VLAN mode
#channel-protocol lacp
#channel-p l
Configure Port 2 for 802.3ad LACP
#channel-group 10 mode active
#channel-g 10 mo ac
Enable channel group 10
#switchport access vlan 1
#sw ac vl 1
Allow Port 2 access to VLAN 1
#spanning-tree portfast trunk
# this is an access port, is this
required?
#sp portf tr
Enable portfast on Port 2
#exit
#exit
Remove focus from Port 2
#exit
#exit
Exit config mode
#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
#show vlan brief
#sh vl br
Display all VLANs
#show interface gigabitethernet0/2
status
#sh int gi1/0/2 status
Display the status of Port 2