[alcatel-nsp] Getting a list of ifndex to port values
Bryan
deadheadblues at gmail.com
Tue Apr 5 17:45:31 EDT 2011
Thanks Andy, I ran that command, but the output doesn't resemble what
I see here. For example, notice the value 69369856
*A:7705# show port 1/1/7 ethernet lldp remote-info
===============================================================================
Link Layer Discovery Protocol (LLDP) Port Information
===============================================================================
Port 1/1/7 Bridge nearest-bridge Remote Peer Information
-------------------------------------------------------------------------------
Remote Peer Index 1 at timestamp 04/05/2011 20:51:18:
Supported Caps : (Not Specified)
Enabled Caps : (Not Specified)
Chassis Id Subtype : 4 (macAddress)
Chassis Id : 00:16:4d:aa:14:b6
PortId Subtype : 7 (local)
Port Id : 69369856
Port Description : SAR-82 SAP
System Name : msc02-ess7-01
System Description : n/a
On the neighbor I see this value here:
*A:msc02-ess7-01# show port 2/1/5 ethernet detail
===============================================================================
Ethernet Interface
===============================================================================
Description : SAR-82 SAP
Interface : 2/1/5 Oper Speed : 1 Gbps
Link-level : Ethernet Config Speed : 1 Gbps
Admin State : up Oper Duplex : full
Oper State : up Config Duplex : full
Physical Link : Yes MTU : 9212
Single Fiber Mode : No
IfIndex : 69369856
On Tue, Apr 5, 2011 at 2:17 PM, Andy Vance <andy.vance at 360.net> wrote:
> Bryan,
>
> I assume knowing the SAP would work as well?
>
> show router interface detail | match "If Index" post-lines 2
>
> show get you the if index and the SAP for each ifindex in a list type output from the router.
>
> Honestly, I usually use snmpwalk for this type of info but the above can get it out of the router.
>
> Hope this helps...
>
> Cheers,
>
> Andy Vance, IP Engineer
> 360networks
> 2101 4th Ave., Suite 2000
> Seattle, WA 98121
> 253.307.7546 (c)
> andy.vance at 360networks.com
> www.360networks.com
>
>
>
>
>
>
> -----Original Message-----
> From: alcatel-nsp-bounces at puck.nether.net [mailto:alcatel-nsp-bounces at puck.nether.net] On Behalf Of Bryan
> Sent: Tuesday, April 05, 2011 2:07 PM
> To: alcatel-nsp at puck.nether.net
> Subject: [alcatel-nsp] Getting a list of ifndex to port values
>
> Does anyone know a way to see a list of all the ifindex values and the
> corresponding port number? I am testing some lldp configurations and
> the port number is advertised as the ifindex.
>
> Thanks,
>
> -Bryan
> _______________________________________________
> alcatel-nsp mailing list
> alcatel-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/alcatel-nsp
>
More information about the alcatel-nsp
mailing list