- New and Changed Information
- Preface
- Overview
- Tools
- Installation
- Licenses
- Upgrade
- High Availability
- VSM and VEM Modules
- Ports
- Port Profiles
- Port Channels and Trunking
- Layer 2 Switching
- VLAN
- Private VLAN
- NetFlow
- ACL
- Quality of Service
- SPAN
- Multicast IGMP
- DHCP, DAI, and IPSG
- Virtual Service Domain
- System
- Network Segmentation Manager
- VXLANs
- Ethanalyzer
- Before Contacting Technical Support
- Index
Port Channels and Trunking
Use this chapter to troubleshoot port channels and trunking.
This chapter includes the following topics:
•Initial Troubleshooting Checklist
•Troubleshooting Asymmetric Port Channels
•Newly Added Interface Does Not Come Online In a Port Channel
•VLAN Traffic Does Not Traverse Trunk
Overview
This section includes the following topics:
Port Channel Overview
Port channels aggregate multiple physical interfaces into one logical interface to provide higher bandwidth, load balancing, and link redundancy.
A port channel performs the following functions:
•Increases the aggregate bandwidth on a link by distributing traffic among all functional links in the channel.
•Load balances across multiple links and maintains optimum bandwidth usage.
•Provides high availability. If one link fails, traffic previously carried on this link is switched to the remaining links. If a link goes down in a port channel, the upper protocol is not aware of it. To the upper protocol, the link is still there, although the bandwidth is diminished. The MAC address tables are not affected by link failure.
Port Channel Restriction
The following are port channel restrictions.
•Port channels do not support ACLs.
•Port channels do not support NetFlow.
Trunking Overview
Trunking, also known as VLAN trunking, enables interconnected ports to transmit and receive frames in more than one VLAN, over the same physical link.
Trunking and port channels function as follows:
•Port channels enable several physical links to be combined into one aggregated logical link.
•Trunking enables a link to carry (trunk) multiple VLAN traffic.
Initial Troubleshooting Checklist
Use the following checklist to begin troubleshooting port channel and trunking issues:
The following commands help troubleshoot port channels and trunking:
•show port-channel summary
•show port-channel internal event-history interface port-channel channel-number
•show port-channel internal event-history interface ethernet slot-number
•show system internal ethpm event-history interface port-channel channel-number
•show system internal ethpm event-history interface ethernet slot-number
•show vlan internal trunk interface ethernet slot-number
•show vlan internal trunk interface port-channel channel-number
•debug port-channel error
•module vem module-number execute vemcmd show port
•module vem module-number execute vemcmd show pc
•module vem module-number execute vemcmd show trunk
Example 10-1 shows output of the show port-channel summary command.
Example 10-1 show port-channel summary Command
n1000v# show port-channel summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
--------------------------------------------------------------------------------
Group Port- Type Protocol Member Ports
Channel
--------------------------------------------------------------------------------
1 Po1(SU) Eth NONE Eth3/4(P)
2 Po2(SU) Eth NONE Eth3/2(P) Eth3/6(P)
Troubleshooting Asymmetric Port Channels
When troubleshooting asymmetric port channels, follow these guidelines:
•Use APC when you want to configure a port channel whose members are connected to two different upstream switches.
•APC depends on Cisco Discovery Protocol (CDP). Make sure CDP is enabled on VSM and upstream switches.
•Physical ports within an APC get assigned subgroup IDs based on the CDP information received from upstream switches.
•A user can manually configure subgroup IDs in interface configuration submode.
•Make sure that you configured sub-group CDP either with a port profile or on the port channel interface.
•Ports in APC will come up only when they are assigned subgroup IDs manually or through CDP.
•Issue the show cdp neighbors command on the VSM and check the output.
•Once the ports came up, check that ports are put in the correct sub-groups by issuing the module vem module-number execute vemcmd show pc command on the VEM.
•Use the debug port-channel trace command to collect information.
Cannot Create Port Channel
Newly Added Interface Does Not Come Online In a Port Channel
|
|
|
---|---|---|
Newly added interface does not come online in a port channel. |
Port channel mode is on. |
1. Make sure you have the port channel configuration in the port profile (port group) used by that interface. 2. Check if there is a port channel already present on the module that is using the same port profile. If there is, check the running configuration on the port channel and the newly added interface. The interface will not come up if the port channel configurations are different. 3. If the port channel configuration is different, apply the difference on the newly added interface. Remove the port, and then add it back. |
Interface parameters are not compatible with those of the existing port. |
Use the procedure, Forcing Port Channel Characteristics onto an Interface, to force the physical interface to take on the parameters of the port channel. Use this procedure only if you want to configure the port channel manually and not through the port profile. |
Forcing Port Channel Characteristics onto an Interface
Use this procedure to force the physical interface to take on the characteristics of the port channel. Use this procedure only if you want to configure the port channel manually and not through the port profile.
BEFORE YOUR BEGIN
•You are logged in to the CLI in configuration mode.
•The forced interface must have the same speed, duplex, and flow control settings as the channel group.
DETAILED STEPS
Step 1 From CLI configuration mode, enter the following command.
interface ethernet slot/port
You are placed into interface configuration mode.
Example:
switch(config)# interface ethernet 1/4
switch(config-if)
Step 2 Enter the following command:
channel-group channel-number force
The physical interface with an incompatible configuration is forced to join the channel group.
Example:
switch(config-if)# channel-group 5 force
switch(config-if)
Verifying a Port Channel Configuration
Use this procedure to debug port channels configured through a port profile.
BEFORE YOUR BEGIN
•You are logged in to the CLI in configuration mode.
DETAILED STEPS
Step 1 Issue the show port-profile name profile-name command to verify that you have configured a port channel in the profile.
Step 2 Issue the show port-channel summary command.
Step 3 Issue the debug port-channel trace command.
VLAN Traffic Does Not Traverse Trunk