cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5598
Views
0
Helpful
9
Replies

Cisco 2960-X Trunk Ports

RB117892
Level 1
Level 1

Can someone please enlighten me on the proper port commands that should be on a uplink/trunk port on a C2960-X? We have just placed these in our environment and having a heck of a time getting the uplink port to work. It's being connected into a 4500-X core switch. Here is what we are using now but it's not working. The port is lit up on the core switch, but not on the 2960-X uplink port. We have tried replacing cables, gbics, and all I can think of is that I have the port misconfigured. Here is what I have now:

2960-X Uplink Port

interface TenGigabitEthernet1/0/1
 switchport mode trunk
 switchport priority extend trust
 mls qos trust cos
 macro description cisco-switch
 spanning-tree link-type point-to-point

4500-X Core Uplink Port

interface TenGigabitEthernet1/25
 description HHSSWT21
 switchport trunk allowed vlan 1-4,6-4094
 switchport mode trunk

Thanks!

9 Replies 9

pdub206
Level 1
Level 1

Hi Ryan,

Please post the output of the following commands from both switches:

show interface <type> <slot/port> (showing line protocol and administrative status. possibly errdisabled state)

show interface <type> <slot/port> switchport (checking port mode, native vlan, and so on)

show interface trunk (showing trunk links and what vlans are permitted across them)

Thanks,

Patrick

Throwing packets since 2012

Thanks for the help. Here is the info:

C2960-X

HHSSWT21#sho run int te1/0/1

interface TenGigabitEthernet1/0/1
 switchport mode trunk
 switchport priority extend trust
 mls qos trust cos
 macro description cisco-switch
 spanning-tree link-type point-to-point
end

HHSSWT21#sho int te1/0/1
TenGigabitEthernet1/0/1 is down, line protocol is down (notconnect)
  Hardware is Ten Gigabit Ethernet, address is 38ed.1861.38b3 (bia 38ed.1861.38b3)
  MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not set
  Full-duplex, 10Gb/s, link type is auto, media type is SFP-10GBase-SR
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

HHSSWT21#sho int te1/0/1 switchport
Name: Te1/0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
 --More--         
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: trusted

HHSSWT21#sho int trunk
HHSSWT21#

Cisco 4500-X

HHS4500X1#sho run int te1/27

interface TenGigabitEthernet1/27
 description HHSSWT21
 switchport trunk allowed vlan 1-4,6-4094
 switchport mode trunk
end

HHS4500X1#sho int te1/27
TenGigabitEthernet1/27 is up, line protocol is up (connected)
  Hardware is Ten Gigabit Ethernet Port, address is c08c.60e1.1802 (bia c08c.60e
1.1802)
  Description: HHSSWT21
  MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 10Gb/s, link type is auto, media type is 10GBase-SR
  input flow-control is on, output flow-control is on
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 1330000 bits/sec, 484 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 input packets with dribble condition detected
     2014695 packets output, 735615708 bytes, 0 underruns
     0 output errors, 0 collisions, 3 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out
HHS4500X1#

HHS4500X1#sho int te1/27 switchport
Name: Te1/27
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: 1-4,6-4094
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

HHS4500X1#sho int trunk

Port        Mode             Encapsulation  Status        Native vlan
Te1/3       on               802.1q         trunking      1
Te1/4       on               802.1q         trunking      1
Te1/5       on               802.1q         trunking      1
Te1/6       on               802.1q         trunking      1
Te1/7       on               802.1q         trunking      1
Te1/8       on               802.1q         trunking      1
Te1/10      on               802.1q         trunking      1
Te1/11      on               802.1q         trunking      1
Te1/12      on               802.1q         trunking      1
Te1/13      on               802.1q         trunking      1
Te1/15      on               802.1q         trunking      1
Te1/16      on               802.1q         trunking      1
Te1/18      on               802.1q         trunking      1
Te1/19      on               802.1q         trunking      1
Te1/20      on               802.1q         trunking      1
Te1/21      on               802.1q         trunking      1
Te1/22      on               802.1q         trunking      1
Te1/23      auto             802.1q         trunking      1
Te1/24      auto             802.1q         trunking      1
Te1/27      on               802.1q         trunking      1
Po10        on               802.1q         trunking      1

Port        Vlans allowed on trunk
Te1/3       1-4094
Te1/4       1-4094
Te1/5       1-4,6-4094
Te1/6       1-4,6-4094
Te1/7       1-4,6-4094
Te1/8       1-4,6-4094
Te1/10      1-4,6-4094
Te1/11      1-4,6-4094
Te1/12      1-4,6-4094
Te1/13      1-4,6-4094

Port        Vlans allowed on trunk
Te1/15      1-4,6-4094
Te1/16      1-4,6-4094
Te1/18      1-4094
Te1/19      1-4094
Te1/20      1-4094
Te1/21      1-4094
Te1/22      1-4,6-4094
Te1/23      1-4094
Te1/24      1-4094
Te1/27      1-4,6-4094
Po10        1-4094

Port        Vlans allowed and active in management domain
Te1/3       1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/4       1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/5       1,3,10,15,18,80,90-91,172-173,190-191
Te1/6       1,3,10,15,18,80,90-91,172-173,190-191
Te1/7       1,3,10,15,18,80,90-91,172-173,190-191
Te1/8       1,3,10,15,18,80,90-91,172-173,190-191
Te1/10      1,3,10,15,18,80,90-91,172-173,190-191
Te1/11      1,3,10,15,18,80,90-91,172-173,190-191
Te1/12      1,3,10,15,18,80,90-91,172-173,190-191
Te1/13      1,3,10,15,18,80,90-91,172-173,190-191
Te1/15      1,3,10,15,18,80,90-91,172-173,190-191
Te1/16      1,3,10,15,18,80,90-91,172-173,190-191
Te1/18      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/19      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/20      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/21      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/22      1,3,10,15,18,80,90-91,172-173,190-191
Te1/23      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/24      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/27      1,3,10,15,18,80,90-91,172-173,190-191
Po10        1,3,5,10,15,18,80,90-91,172-173,190-191

Port        Vlans in spanning tree forwarding state and not pruned
Te1/3       1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/4       1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/5       1,3,10,15,18,80,90-91,172-173,190-191
Te1/6       1,3,10,15,18,80,90-91,172-173,190-191
Te1/7       1,3,10,15,18,80,90-91,172-173,190-191
Te1/8       1,3,10,15,18,80,90-91,172-173,190-191
Te1/10      1,3,10,15,18,80,90-91,172-173,190-191
Te1/11      1,3,10,15,18,80,90-91,172-173,190-191
Te1/12      1,3,10,15,18,80,90-91,172-173,190-191
Te1/13      1,3,10,15,18,80,90-91,172-173,190-191
Te1/15      1,3,10,15,18,80,90-91,172-173,190-191
Te1/16      1,3,10,15,18,80,90-91,172-173,190-191
Te1/18      1,3,5,10,15,18,80,91,172-173,190-191
Te1/19      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/20      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/21      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/22      1,3,10,15,18,80,90-91,172-173,190-191
Te1/23      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/24      1,3,5,10,15,18,80,90-91,172-173,190-191
Te1/27      1,3,10,15,18,80,90-91,172-173,190-191
Po10        1,3,5,10,15,18,80,90-91,172-173,190-191
HHS4500X1#

Has this worked before? If not, I would check the physical cabling to ensure you are indeed plugged into the right ports.  Next step would be to verify the transceivers you are using are seeing light levels from each other.

show interface <type> <slot/port> transceiver detail

Should show the TX/RX light levels.  If one (or both) side(s) does not see RX that will mean you may have a bad cable.

Try to also enable CDP on the interfaces and then check your CDP neighbors.  Since your 4500X sees the port as up/up, I'd be inclined to think that it is plugged into a device but not the one you think :)

show cdp neighbors

Throwing packets since 2012

No, this is a new switch we are setting up. I have setup 100's of switches in our environment so I am really confused on this one. Never seen this but then again, this is our first 2960-X switch. I have a feeling either a bad gbic or a bad cable. Will try replacing the cables. We use the sho cdp neigh often and in this case, there is no reference on the core switch to the access switch when I run the show cdp neigh command. It does not list my int port at all. As for the transceiver detail, here is what I am showing on the core switch:

HHS4500X1#sho int te1/27 transceiver detail
ITU Channel not available (Wavelength not available),
Transceiver is internally calibrated.
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, +  : high warning, -  : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.

                              High Alarm  High Warn  Low Warn   Low Alarm
          Temperature         Threshold   Threshold  Threshold  Threshold
Port       (Celsius)          (Celsius)   (Celsius)  (Celsius)  (Celsius)
--------- ------------------  ----------  ---------  ---------  ---------
Te1/27      28.0                75.0        70.0         0.0       -5.0

                              High Alarm  High Warn  Low Warn   Low Alarm
           Voltage            Threshold   Threshold  Threshold  Threshold
Port       (Volts)            (Volts)     (Volts)    (Volts)    (Volts)
---------  ---------------    ----------  ---------  ---------  ---------
Te1/27     3.29                  3.60        3.50        3.10       3.00

           Optical            High Alarm  High Warn  Low Warn   Low Alarm
           Transmit Power     Threshold   Threshold  Threshold  Threshold
Port       (dBm)              (dBm)       (dBm)      (dBm)      (dBm)
---------  -----------------  ----------  ---------  ---------  ---------
Te1/27      -2.3                 1.6        -1.3        -7.3      -11.3

           Optical            High Alarm  High Warn  Low Warn   Low Alarm
           Receive Power      Threshold   Threshold  Threshold  Threshold
Port       (dBm)              (dBm)       (dBm)      (dBm)      (dBm)
-------    -----------------  ----------  ---------  ---------  ---------
Te1/27      -3.8                 1.9        -1.0        -9.9      -13.9


HHS4500X1#

I would try moving your access switch SFP and configuration to a second port.  Shut/no shut the port and check again.  If no status changed on the core switch side, than you can pretty much discern that the cabling is incorrect.

If that does not work, perhaps try a different SFP.  If that still does not work, I would try a loopback connection on the access switch side to see if you can bring up the connection locally.

Lastly, if you are not using Cisco branded SFP's, you may have an issue with an transceiver not being recognized/permitted by the IOS software.  This is a last resort -- only try it if you really think you need it as it is a hidden command:

service unsupported-transceiver

Throwing packets since 2012

They are Cisco SFP's. I did try using the other uplink port on the 2960-X but still nothing. I just peaked at each transceiver on each switch. The Tx light is a very bright glow on both ends whereas the receive light is off. I can't say for sure but I believe there is no light then again I thought I could see a very faint light on the Rx side.

You shouldn't see any light from the RX side (also don't stare into an SFP laser, it isn't good for your eyes).

My only other thought here is you may want to try removing all configuration from the ports on either side except for

switchport mode trunk

switchport trunk allowed vlan all

Then check again.  Good luck!

Throwing packets since 2012

Ok, thx again for the help. I will try a few more things and then open a case with TAC if it still does not work. Appreciate it!

Also, just a note to add. We use Solarwinds Network Monitoring. When I unplug the fiber cable from the 2960-X switch that is plugged into the uplink port, we immediately get a alert stating the switch is down. So that makes me even more confused. It knows the switch is plugged into the core switch, and there is light on the core switch end but not on the 2960-X end. And I cannot ping the 2960-X at all.