PurposeCommand or Action
(Optional)
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
switch(config)# copy running-config
startup-config
Step 4
This example shows how to configure the source IP load-balancing method for port channels on module 5:
switch# configure terminal
switch# interface port channel 2
switch# port-channel load-balance ethernet source-ip module 5
Configuring the Speed and Duplex Settings for a Port Channel Interface
You can configure the speed and duplex settings for a port channel interface.
Before You Begin
•
Log in to the CLI in EXEC mode.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Specifies the port channel interface that you want to
configure and enters the interface mode.
switch(config)# interface port-channel
channel-number
Step 2
Allowable channel numbers are from 1 to 4096.
Sets the speed for the port channel interface. The
default is auto for autonegotiation.
switch(config-if)# speed {10 | 100 |
1000 | auto}
Step 3
Sets the duplex mode for the port channel interface.
The default is auto for autonegotiation.
switch(config-if)# duplex {auto | full |
half}
Step 4
(Optional)
Displays interface information for the specified port
channel.
switch(config-if)# show interface
port-channel channel-number
Step 5
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config-if)# copy running-config
startup-config
Step 6
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
77
Configuring Port Channels
Configuring the Speed and Duplex Settings for a Port Channel Interface