跟思科确认:
用asr1001-x路由器开的case。思科售后通过用真机测试,可以确定,asr路由器的index重启后会重新排列,此机制是无法改变的。 3750交换机index不会改变,因为每一个index唯一表示一个接口。 其他设备是否变化,详见下表
结果
ip | 型号 | index是否变化 |
---|---|---|
10.200.200.7 | CISCO 2921 | index重新排列 |
10.200.200.73 | cisco 3925E | index重新排列 |
10.200.200.254 | Cisco ASA5540 | 防火墙设备暂不知道 |
10.202.0.4 | cisco asr 1001-x | index重新排列 |
10.202.0.5 | cisco asr 1001-x | index重新排列 |
10.200.200.231 | cisco WS-C3750X-48 | 不变 |
10.200.200.234 | cisco WS-C3750X-48 | 不变 |
10.200.200.253 | cisco WS-C3750X-48 | 不变 |
10.200.200.236 | Cisco WS-C4948-S | index重新排列 |
10.200.200.250 | Cisco WS-C4948-S | index重新排列 |
10.200.200.5 | Cisco WS-C4948-S | index重新排列 |
10.200.200.8 | Cisco WS-C4948-S | index重新排列 |
10.200.200.2 | Cisco WS-C4948-S | index重新排列 |
10.200.200.3 | Cisco WS-C4948-S | index重新排列 |
10.200.200.4 | Cisco WS-C4948-S | index重新排列 |
10.203.0.2 | N5K-C5648Q | 不变 |
10.203.0.3 | N5K-C5648Q | 不变 |
10.202.0.2 | N5K-C5648Q | 不变 |
10.202.0.3 | N5K-C5648Q | 不变 |
10.201.0.2 | NEXUE 6001 | 不变 |
10.201.0.3 | NEXUE 6001 | 不变 |
snmp详情
通过对10.200.200.231进行snmp抓取,可以看到index是唯一的:
[root@localhost ~]# snmpwalk -v 2c -c test 10.200.200.231 fDescr
IF-MIB::ifDescr.1 = STRING: Vlan1
IF-MIB::ifDescr.5005 = STRING: Port-channel5
IF-MIB::ifDescr.5011 = STRING: Port-channel11
IF-MIB::ifDescr.5013 = STRING: Port-channel13
IF-MIB::ifDescr.5014 = STRING: Port-channel14
通过对10.200.200.7进行snmp抓取,可以看到index是顺序往下排的:
[root@localhost ~]# snmpwalk -v 2c -c test 10.200.200.7 fDescr
IF-MIB::ifDescr.1 = STRING: Embedded-Service-Engine0/0
IF-MIB::ifDescr.2 = STRING: GigabitEthernet0/0
IF-MIB::ifDescr.3 = STRING: GigabitEthernet0/1
IF-MIB::ifDescr.4 = STRING: GigabitEthernet0/2
IF-MIB::ifDescr.5 = STRING: Backplane-GigabitEthernet0/3
IF-MIB::ifDescr.6 = STRING: GigabitEthernet0/0/0
IF-MIB::ifDescr.7 = STRING: GigabitEthernet0/0/1
IF-MIB::ifDescr.8 = STRING: GigabitEthernet0/0/2
IF-MIB::ifDescr.9 = STRING: GigabitEthernet0/0/3
IF-MIB::ifDescr.10 = STRING: Null0
IF-MIB::ifDescr.11 = STRING: Vlan1
IF-MIB::ifDescr.12 = STRING: Loopback0
IF-MIB::ifDescr.13 = STRING: Vlan2
IF-MIB::ifDescr.14 = STRING: Port-channel10
标签:index,cisco,STRING,重启,MIB,WS,重新排列,10.200
From: https://blog.51cto.com/u_9346709/5729512