cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2041
Views
0
Helpful
10
Replies

SNMP: switchport mode dot1q-tunnel

Hello,

Does anybody know the OID that tells whether the interfaces on a switch are configured as switchport mode dot1q-tunnel for catalyst switches 29/35 etc.?

10 Replies 10

2: notTrunking - in this OID will indicate access port, but will not make it clear that this port is dot1q-tunnel.

 

interface GigabitEthernet0/1
 switchport access vlan 123
 switchport mode dot1q-tunnel

Look at the same URL you see access port if you walk SNMPWALk you see results.

 

https://snmp.cloudapps.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.46.1.6.1.1.29#oidContent

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Switch does not response to this OID, and an CISCO-L2-TUNNEL-CONFIG-MIB too.

 

C3560G_TV-2#show inventory
NAME: "1", DESCR: "WS-C3560G-24TS"
PID: WS-C3560G-24TS-E , VID: V06, SN: xxx

 

C3560G_TV-2#show dot1q-tunnel

dot1q-tunnel mode LAN Port(s)
-----------------------------
Gi0/1


snmpwalk -v2c -Cc -c xxx x.x.x.x 1.3.6.1.4.1.9.9.46.1.6.1.1.29
SNMPv2-SMI::enterprises.9.9.46.1.6.1.1.29 = No Such Object available on this agent at this OID

Can you post show version 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

C3560G_TV-2#show version
Cisco IOS Software, C3560 Software (C3560-IPSERVICES-M), Version 12.2(50)SE5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 28-Sep-10 13:21 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02B00000

ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44r)SE8, RELEASE SOFTWARE (fc1)

C3560G_TV-2 uptime is 2 days, 6 hours, 31 minutes
System returned to ROM by power-on
System image file is "flash:c3560-ipservices-mz.122-50.SE5/c3560-ipservices-mz.122-50.SE5.bin"

what happens when you do SNMP walk root level?

 

http://www.circitor.fr/Mibs/Html/S/SNMPv2-SMI.php#Integer32

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

switch replied ~ 31k lines

you can use grep to grep what you looking.

 

 

snmpwalk -v2c -Cc -c xxx x.x.x.x  | grep trunk

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

only port channels in answear

 

snmpwalk -v2c -Cc -c xxx x.x.x.x 1.3 | grep trunk
IF-MIB::ifAlias.5001 = STRING: trunk
IF-MIB::ifAlias.5002 = STRING: trunk2
SNMPv2-SMI::enterprises.9.2.2.1.1.28.5001 = STRING: "trunk"
SNMPv2-SMI::enterprises.9.2.2.1.1.28.5002 = STRING: "trunk2"

 

snmpwalk -v2c -Cc -c xxx x.x.x.x 1.3 | grep 10101 - in attach

10101 - gi0/1 - dot1q-tunnel

 

Review Cisco Networking for a $25 gift card