As you can see from the output below, in some cases the numeric port number does not equal the mib's ifindex. However, I believe CiscoWorks CiscoView is using the snmp ifindex when applying VLAN memberships.
For example:
1) Open the VLAN membership configuration in CiscoView.
2) Set port 47 to be in vlan "x" and apply changes.
switch#show int status: reports that port 43 has been changed to vlan "x", not port 47 (see below: FastEthernet0/47: Ifindex = 43).
Anyone know how to get around this?
Thanks,
-- Jason
Details:
Cisco IOS Software, C3550 Software (C3550-IPSERVICESK9-M), Version 12.2(44)SE6
Name | Version | License Status |
CiscoWorks Common Services | 3.1.0 | Licensed |
Campus Manager | 5.0.1 | Purchased |
CiscoView | 6.1.6 | Licensed |
CiscoWorks Assistant | 1.0.0 | Licensed |
LMS Portal | 1.0.0 | Licensed |
Resource Manager Essentials | 4.1.0 | Purchased |
switch#show snmp mib ifmib ifindex
FastEthernet0/24: Ifindex = 20
FastEthernet0/37: Ifindex = 45
FastEthernet0/26: Ifindex = 26
FastEthernet0/35: Ifindex = 35
FastEthernet0/17: Ifindex = 13
FastEthernet0/42: Ifindex = 38
FastEthernet0/9: Ifindex = 9
FastEthernet0/15: Ifindex = 23
GigabitEthernet0/1: Ifindex = 49
FastEthernet0/40: Ifindex = 48
FastEthernet0/20: Ifindex = 16
FastEthernet0/33: Ifindex = 33
FastEthernet0/22: Ifindex = 18
FastEthernet0/31: Ifindex = 31
FastEthernet0/13: Ifindex = 21
FastEthernet0/46: Ifindex = 42
FastEthernet0/11: Ifindex = 11
FastEthernet0/44: Ifindex = 40
FastEthernet0/3: Ifindex = 3
FastEthernet0/1: Ifindex = 1
FastEthernet0/48: Ifindex = 44
Vlan500: Ifindex = 53
FastEthernet0/28: Ifindex = 28
FastEthernet0/39: Ifindex = 47
FastEthernet0/7: Ifindex = 7
FastEthernet0/19: Ifindex = 15
FastEthernet0/5: Ifindex = 5
FastEthernet0/36: Ifindex = 36
Null0: Ifindex = 51
FastEthernet0/25: Ifindex = 25
FastEthernet0/34: Ifindex = 34
FastEthernet0/27: Ifindex = 27
GigabitEthernet0/2: Ifindex = 50
FastEthernet0/43: Ifindex = 39
FastEthernet0/16: Ifindex = 24
FastEthernet0/41: Ifindex = 37
FastEthernet0/8: Ifindex = 8
FastEthernet0/14: Ifindex = 22
FastEthernet0/32: Ifindex = 32
FastEthernet0/21: Ifindex = 17
FastEthernet0/30: Ifindex = 30
FastEthernet0/23: Ifindex = 19
Vlan1: Ifindex = 52
FastEthernet0/47: Ifindex = 43
FastEthernet0/12: Ifindex = 12
FastEthernet0/45: Ifindex = 41
FastEthernet0/10: Ifindex = 10
FastEthernet0/2: Ifindex = 2
FastEthernet0/29: Ifindex = 29
FastEthernet0/38: Ifindex = 46
FastEthernet0/6: Ifindex = 6
FastEthernet0/18: Ifindex = 14
FastEthernet0/4: Ifindex = 4