Cisco N7K-C7010 Configuration Guide - Page 175
Adding a Layer 3 Port to a Port Channel
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 175 highlights
Chapter 6 Configuring Port Channels Configuring Port Channels Send document comments to [email protected] Step 6 Step 7 Step 8 Command Purpose channel-group channel-number [force] [mode {on | active | passive}] Example: switch(config-if)# channel-group 5 Configures the port in a channel group and sets the mode. The channel-number range is from 1 to 4096. This command creates the port channel associated with this channel group if the port channel does not already exist. All static port-channel interfaces are set to mode on. You must set all LACP-enabled port-channel interfaces to active or passive. The default mode is on. Example: switch(config-if)# channel-group 5 force (Optional) Forces an interface with some incompatible configurations to join the channel. The forced interface must have the same speed, duplex, and flow control settings as the channel group. Note The force option fails if the port has a QoS policy mismatch with the other members of the port channel. show interface type slot/port (Optional) Displays interface information. Example: switch(config-router)# show interface port channel 5 copy running-config startup-config Example: switch(config)# copy running-config startup-config (Optional) Copies the running configuration to the startup configuration. Use the no channel-group command to remove the port from the channel group. Command no channel-group Example: switch(config)# no channel-group Purpose Removes the port from the channel group. This example shows how to add a Layer 2 Ethernet interface 1/4 to channel group 5: switch# configure terminal switch (config)# interface ethernet 1/4 switch(config-if)# switchport switch(config-if)# channel-group 5 Adding a Layer 3 Port to a Port Channel You can add a Layer 3 port to a new channel group or to a channel group that is already configured with Layer 3 ports. The software creates the port channel associated with this channel group if the port channel does not already exist. If the Layer 3 port that you are adding has a configured IP address, the system removes that IP address before adding the port to the port channel. After you create a Layer 3 port channel, you can assign an IP address to the port-channel interface. You can also add subinterfaces to an existing Layer 3 port channel. OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 6-19