cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1745
Views
0
Helpful
4
Replies

Proper SNMP ifType for VLAN

rd9689
Level 1
Level 1

Hi,

I'm at a customer site whose Cisco 2811 routers with IOS 12.4(15)T1 return an ifType of ethernetCsmacd(6)for vlans. Am I correct that this is wrong and the ifType should be l2vlan(135)or l3ipvlan(136)?

thanks

Bob

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

If the encapsulation on the VLAN interfaces is ARPA, then the ifType will be ethernetCsmacd(6) for this device in this version of IOS.

Hi,

We have vlan4 configured thusly;

interface Vlan4

description DCN LAN

bandwidth 10000

ip address 10.110.26.1 255.255.255.0

ip access-group NCM_Network_In in

no ip mroute-cache

fair-queue

service-policy output NCM_In

!

We also have

interface FastEthernet0/0

description Central Switch Gi0/1

no ip address

no ip mroute-cache

duplex full

speed 100

no cdp enable

service-policy output Theatre_In

!

The vlan4 interface has the same MAC Address as FastEthernet0/0 and both are ifType=6. We are using Smarts Availability Manager for fault managment and it is not able to build topology (connections between switches) properly. According to Smarts this is because two physical interfaces (identified by ifType = 6) have the same MAC address.

Does ifType 6 mean a physical address and therefore the vlan should not be a type 6?

thanks

Bob

I don't see how you're tying VLAN 4 to interface Fa0/0. It would be helpful to see the entire config from this device as well as a show ver. It looks like you are configuring a switch and not a 2811 router. Is this an etherswitch module in the 2811?

That's the problem, vlan4 is NOT associated with Fa0/0. If you give me your email address I can send you the config.

thnaks

Bob