Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

MDS9148 cdp not working

Assisting our storage guys with some 9148s. We did a software upgrade from 5.0.1a to 5.2.8d. Now we do not see cdp adverts from the mgmt0 interface of the 9148s. Doing a sho cdp traffic int mgmt0 shows that the 9148s aren't even sending them, even though cdp is not disabled. Has anyone run into this before? I did see some bugs in older code but it seemed like it was malformed packets being sent, not packets not being sent at all.

I don't work with the MDS, but I am familiar with nx-os, and I don't think I missed anything in the release notes. Has anyone seen this before, or did I miss something in the release notes?

 

Thanks - chris

4 REPLIES
Cisco Employee

Hi Chris,I have a 9148 in the

Hi Chris,

I have a 9148 in the TAC lab running NX-OS 5.2(8d) and I see the ethernet switch adjacent to the mgmt0 interface.

Could CDP be disabled on the ethernet switch maybe?

Here are some displays that might help. 

9148# show cdp neighbors

Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater,
                  V - VoIP-Phone, D - Remotely-Managed-Device,
                  s - Supports-STP-Dispute

qDevice-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
san-34-16-2960
                    mgmt0          146    S I       WS-C2960-48TC Fas0/8

 

9148# show cdp traffic interface mgmt 0
----------------------------------------
Traffic statistics for mgmt0
Input Statistics:
    Total Packets: 22607
    Valid CDP Packets: 22607
        CDP v1 Packets: 0
        CDP v2 Packets: 22607
    Invalid CDP Packets: 0
        Unsupported Version: 0
        Checksum Errors: 0
        Malformed Packets: 0

Output Statistics:
    Total Packets: 4
        CDP v1 Packets: 0
        CDP v2 Packets: 4
    Send Errors: 0

 

 

9148# show cdp interface mgmt 0
mgmt0 is up
    CDP enabled on interface
    Refresh time is 60 seconds
    Hold time is 180 seconds

 

9148(config)# cdp ?
  advertise  Highest CDP version supported on the switch
  enable     Enable/disable CDP on all interfaces
  format     Device ID format for CDP
  holdtime   CDP hold time advertised (in seconds)
  timer      CDP refresh time interval (in seconds)

 

Best regards,

Jim

New Member

I appreciate the reply, but

I appreciate the reply, but it's the other direction. I do see the mgmt switch as a neighbor on the MDS. I do not see the MDS as a neighbor on the mgmt switch. The sho traffic on the MDS mgmt0 shows that it is not sending out cdp adverts. Your output above shows 4 packets sent. Mine shows 1 packet sent.
 

Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
ahn-papmgmt-3750-1.wpahs.org
                    mgmt0          133    S I       WS-C3750G-48T Gig1/0/8
ahn-sec-fc-sw-02#

 

ahn-papmgmt-3750-1#sh cdp nei g1/0/8
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
ahn-papmgmt-3750-1#

 

If I look at another port that has a 9148 running 5.0(1a) on the same switch, I see the mds:

ahn-papmgmt-3750-1#sh cdp nei g1/0/15
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
ahn-sec-fc-sw-01(AMS18110877)
                 Gig 1/0/15        157            R S I C DS-C9148- mgmt0
ahn-papmgmt-3750-1#

 

not that big a deal, more of a luxury than anything. Haven't tried yet, but going to enable lldp also and see what happens.

Thanks again - chris

Cisco Employee

Hi Chris, What is the output

Hi Chris,

 

What is the output of this command?

 

show cdp traffic interface mgmt 0

 

Could it be CDP version mismatch?

 

Jim

New Member

Jim,on the v5.2 9148:ahn-sec

Jim,

on the v5.2 9148:

ahn-sec-fc-sw-02# sh cdp traf int mgmt 0
----------------------------------------
Traffic statistics for mgmt0
Input Statistics:
    Total Packets: 1141
    Valid CDP Packets: 1141
        CDP v1 Packets: 0
        CDP v2 Packets: 1141
    Invalid CDP Packets: 0
        Unsupported Version: 0
        Checksum Errors: 0
        Malformed Packets: 0

Output Statistics:
    Total Packets: 3
        CDP v1 Packets: 0
        CDP v2 Packets: 3
    Send Errors: 0

 

 

and on the v5.0 9148:

ahn-sec-fc-sw-01# sh cdp traf int mgmt0
----------------------------------------
Traffic statistics for mgmt0
Input Statistics:
    Total Packets: 14558
    Valid CDP Packets: 14558
        CDP v1 Packets: 409
        CDP v2 Packets: 14149
    Invalid CDP Packets: 0
        Unsupported Version: 0
        Checksum Errors: 0
        Malformed Packets: 0

Output Statistics:
    Total Packets: 28642
        CDP v1 Packets: 14244
        CDP v2 Packets: 14398
    Send Errors: 0


I don't think it's a version mismatch. The mgmt switch is definitely v2, and as far as I can tell I am not seeing any signs of errors or invalid adverts.

Thanks -chris

75
Views
0
Helpful
4
Replies
CreatePlease login to create content