Options

Show Command

CyanicCyanic Member Posts: 289
Is there a show command that prints the interface number and not just the ID? For instance, interface 60 instead of just Gi2/28. SNMP and netflow use this and I was looking to see if there was a way to mach the two up from the CLI.

Cy

Comments

  • Options
    kryollakryolla Member Posts: 785
    Rack1R3#sh snmp mib ifmib ifindex
    %SNMP agent not enabled

    Rack1R3(config)#snmp-server community PASSWORD ro

    Rack1R3#sh snmp mib ifmib ifindex
    Loopback0: Ifindex = 15
    Null0: Ifindex = 8
    VoIP-Null0: Ifindex = 7
    Serial1/0: Ifindex = 3
    Ethernet2/0: Ifindex = 1
    Serial1/1: Ifindex = 4
    Ethernet2/1: Ifindex = 2
    Foreign Exchange Office 3/1/0: Ifindex = 13
    Serial1/0.1: Ifindex = 16
    Serial1/2: Ifindex = 5
    Serial1/3: Ifindex = 6
    Foreign Exchange Office 3/1/1: Ifindex = 14
    Async33: Ifindex = 9
    Async34: Ifindex = 10
    Async35: Ifindex = 11
    Async36: Ifindex = 12
    Rack1R3#
    Studying for CCIE and drinking Home Brew
  • Options
    CyanicCyanic Member Posts: 289
    Thank you sir, just what I was looking for.

    Cy
Sign In or Register to comment.