Getting information via SNMP

Post Reply
srikanthrangan
Member
Posts: 1
Joined: 04 Feb 2015 10:25

Getting information via SNMP

Post by srikanthrangan »

Dear All,

I wish to get the VLAN information that is shown below using SNMP.
Does anyone know ? if yes, could you please help?

I need to get the VLAN number (110) from the line that shows the description of the interface:
TO_PTN00247_4/1/11 Up Up/Down Network 1/1/7:110


A:PTN01132# show router interface

===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name Adm Opr(v4/v6) Mode Port/SapId
IP-Address PfxState
-------------------------------------------------------------------------------
TO_FHT09447_FE1 Up Down/Down Network 1/1/5
10.18.1.246/29 n/a
TO_FHT28314_FE1 Up Down/Down Network 1/1/4
10.18.58.190/28 n/a
TO_FHT32515_GE1:301 Up Up/Down IES 1/1/8:301
10.18.1.182/29 n/a
TO_FHT33607_GE1:301 Up Up/Down IES 1/2/8:301
10.18.1.150/29 n/a
TO_PTN00247_4/1/11 Up Up/Down Network 1/1/7:110
10.26.51.122/30 n/a
system Up Up/Down Network system
10.26.8.101/32 n/a
-------------------------------------------------------------------------------

Thanks
Srikanth
User avatar
rekeds
Member
Posts: 110
Joined: 05 Jan 2015 09:22
Location: Riga

Re: Getting information via SNMP

Post by rekeds »

just a quick idea (im on mobile), you can look at the router interface and find out its index.

if you walkt simple ifInOctects you'll find your router interfaces.
Post Reply

Return to “7705 SAR”