博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何利用snmp协议发现大型复杂环境的网络拓扑
阅读量:6837 次
发布时间:2019-06-26

本文共 42736 字,大约阅读时间需要 142 分钟。

参考文献:http://blog.51cto.com/13769225/2121431

获取指标参考下图:

 

 

1、取接口描述(指定VLAN号)

命令:snmpwalk -v 2c -c Cvicse123 192.168.52.202 ifDescr

结果:

IF-MIB::ifDescr.1 = STRING: InLoopBack0IF-MIB::ifDescr.2 = STRING: NULL0IF-MIB::ifDescr.3 = STRING: Console0/0/0IF-MIB::ifDescr.4 = STRING: Ethernet0/0/0IF-MIB::ifDescr.5 = STRING: Console0/0/1IF-MIB::ifDescr.6 = STRING: Vlanif1 IF-MIB::ifDescr.7 = STRING: Vlanif2 IF-MIB::ifDescr.8 = STRING: Vlanif3 IF-MIB::ifDescr.9 = STRING: Vlanif4 IF-MIB::ifDescr.10 = STRING: Vlanif5 IF-MIB::ifDescr.11 = STRING: Vlanif6 IF-MIB::ifDescr.12 = STRING: Vlanif8 IF-MIB::ifDescr.13 = STRING: Vlanif10 IF-MIB::ifDescr.14 = STRING: Vlanif11 IF-MIB::ifDescr.15 = STRING: Vlanif12 IF-MIB::ifDescr.18 = STRING: Vlanif19 IF-MIB::ifDescr.19 = STRING: Vlanif20 IF-MIB::ifDescr.20 = STRING: Vlanif21 IF-MIB::ifDescr.21 = STRING: Vlanif26 IF-MIB::ifDescr.22 = STRING: Vlanif27 IF-MIB::ifDescr.24 = STRING: Vlanif29 IF-MIB::ifDescr.26 = STRING: Vlanif36 IF-MIB::ifDescr.27 = STRING: Vlanif40 IF-MIB::ifDescr.28 = STRING: Vlanif41 IF-MIB::ifDescr.29 = STRING: Vlanif50 IF-MIB::ifDescr.30 = STRING: Vlanif51 IF-MIB::ifDescr.31 = STRING: Vlanif55 IF-MIB::ifDescr.33 = STRING: Vlanif60 IF-MIB::ifDescr.34 = STRING: Vlanif62 IF-MIB::ifDescr.35 = STRING: Vlanif63 IF-MIB::ifDescr.36 = STRING: XGigabitEthernet8/0/0 IF-MIB::ifDescr.37 = STRING: XGigabitEthernet8/0/1 IF-MIB::ifDescr.38 = STRING: XGigabitEthernet8/0/2 IF-MIB::ifDescr.39 = STRING: XGigabitEthernet8/0/3 IF-MIB::ifDescr.40 = STRING: XGigabitEthernet9/0/0 IF-MIB::ifDescr.41 = STRING: XGigabitEthernet9/0/1 IF-MIB::ifDescr.42 = STRING: XGigabitEthernet9/0/2 IF-MIB::ifDescr.43 = STRING: XGigabitEthernet9/0/3 IF-MIB::ifDescr.44 = STRING: XGigabitEthernet10/0/0 IF-MIB::ifDescr.45 = STRING: XGigabitEthernet10/0/1 IF-MIB::ifDescr.46 = STRING: XGigabitEthernet10/0/2 IF-MIB::ifDescr.47 = STRING: XGigabitEthernet10/0/3 IF-MIB::ifDescr.48 = STRING: XGigabitEthernet11/0/0 IF-MIB::ifDescr.49 = STRING: XGigabitEthernet11/0/1 IF-MIB::ifDescr.50 = STRING: XGigabitEthernet11/0/2 IF-MIB::ifDescr.51 = STRING: XGigabitEthernet11/0/3 IF-MIB::ifDescr.52 = STRING: GigabitEthernet12/0/0 IF-MIB::ifDescr.53 = STRING: GigabitEthernet12/0/1 IF-MIB::ifDescr.54 = STRING: GigabitEthernet12/0/2 IF-MIB::ifDescr.55 = STRING: GigabitEthernet12/0/3 IF-MIB::ifDescr.56 = STRING: GigabitEthernet12/0/4 IF-MIB::ifDescr.57 = STRING: GigabitEthernet12/0/5 IF-MIB::ifDescr.58 = STRING: GigabitEthernet12/0/6 IF-MIB::ifDescr.59 = STRING: GigabitEthernet12/0/7 IF-MIB::ifDescr.60 = STRING: GigabitEthernet12/0/8 IF-MIB::ifDescr.61 = STRING: GigabitEthernet12/0/9 IF-MIB::ifDescr.62 = STRING: GigabitEthernet12/0/10 IF-MIB::ifDescr.63 = STRING: GigabitEthernet12/0/11 IF-MIB::ifDescr.64 = STRING: GigabitEthernet12/0/12 IF-MIB::ifDescr.65 = STRING: GigabitEthernet12/0/13 IF-MIB::ifDescr.66 = STRING: GigabitEthernet12/0/14 IF-MIB::ifDescr.67 = STRING: GigabitEthernet12/0/15 IF-MIB::ifDescr.68 = STRING: GigabitEthernet12/0/16 IF-MIB::ifDescr.69 = STRING: GigabitEthernet12/0/17 IF-MIB::ifDescr.70 = STRING: GigabitEthernet12/0/18 IF-MIB::ifDescr.71 = STRING: GigabitEthernet12/0/19 IF-MIB::ifDescr.72 = STRING: GigabitEthernet12/0/20 IF-MIB::ifDescr.73 = STRING: GigabitEthernet12/0/21 IF-MIB::ifDescr.74 = STRING: GigabitEthernet12/0/22 IF-MIB::ifDescr.75 = STRING: GigabitEthernet12/0/23 IF-MIB::ifDescr.76 = STRING: GigabitEthernet12/0/24 IF-MIB::ifDescr.77 = STRING: GigabitEthernet12/0/25 IF-MIB::ifDescr.78 = STRING: GigabitEthernet12/0/26 IF-MIB::ifDescr.79 = STRING: GigabitEthernet12/0/27 IF-MIB::ifDescr.80 = STRING: GigabitEthernet12/0/28 IF-MIB::ifDescr.81 = STRING: GigabitEthernet12/0/29 IF-MIB::ifDescr.82 = STRING: GigabitEthernet12/0/30 IF-MIB::ifDescr.83 = STRING: GigabitEthernet12/0/31 IF-MIB::ifDescr.84 = STRING: GigabitEthernet12/0/32 IF-MIB::ifDescr.85 = STRING: GigabitEthernet12/0/33 IF-MIB::ifDescr.86 = STRING: GigabitEthernet12/0/34 IF-MIB::ifDescr.87 = STRING: GigabitEthernet12/0/35 IF-MIB::ifDescr.88 = STRING: GigabitEthernet12/0/36 IF-MIB::ifDescr.89 = STRING: GigabitEthernet12/0/37 IF-MIB::ifDescr.90 = STRING: GigabitEthernet12/0/38 IF-MIB::ifDescr.91 = STRING: GigabitEthernet12/0/39 IF-MIB::ifDescr.92 = STRING: GigabitEthernet12/0/40 IF-MIB::ifDescr.93 = STRING: GigabitEthernet12/0/41 IF-MIB::ifDescr.94 = STRING: GigabitEthernet12/0/42 IF-MIB::ifDescr.95 = STRING: GigabitEthernet12/0/43 IF-MIB::ifDescr.96 = STRING: GigabitEthernet12/0/44 IF-MIB::ifDescr.97 = STRING: GigabitEthernet12/0/45 IF-MIB::ifDescr.98 = STRING: GigabitEthernet12/0/46 IF-MIB::ifDescr.99 = STRING: GigabitEthernet12/0/47 IF-MIB::ifDescr.100 = STRING: Vlanif101 IF-MIB::ifDescr.102 = STRING: Vlanif103 IF-MIB::ifDescr.103 = STRING: Vlanif104 IF-MIB::ifDescr.104 = STRING: Vlanif105 IF-MIB::ifDescr.107 = STRING: Vlanif70 IF-MIB::ifDescr.108 = STRING: Vlanif33 IF-MIB::ifDescr.109 = STRING: Vlanif22 IF-MIB::ifDescr.111 = STRING: Vlanif52 IF-MIB::ifDescr.112 = STRING: Vlanif71 IF-MIB::ifDescr.113 = STRING: Vlanif72 IF-MIB::ifDescr.114 = STRING: Vlanif73 IF-MIB::ifDescr.115 = STRING: Vlanif74 IF-MIB::ifDescr.118 = STRING: Vlanif77 IF-MIB::ifDescr.119 = STRING: Vlanif78 IF-MIB::ifDescr.120 = STRING: Vlanif79 IF-MIB::ifDescr.121 = STRING: Vlanif64 IF-MIB::ifDescr.122 = STRING: Eth-Trunk100 IF-MIB::ifDescr.125 = STRING: Vlanif115 IF-MIB::ifDescr.127 = STRING: Vlanif14 IF-MIB::ifDescr.130 = STRING: Vlanif113 IF-MIB::ifDescr.131 = STRING: Vlanif119 IF-MIB::ifDescr.133 = STRING: Vlanif25 IF-MIB::ifDescr.135 = STRING: Vlanif191 IF-MIB::ifDescr.136 = STRING: Vlanif110 IF-MIB::ifDescr.138 = STRING: Vlanif321 IF-MIB::ifDescr.139 = STRING: Vlanif322 IF-MIB::ifDescr.140 = STRING: Vlanif325 IF-MIB::ifDescr.141 = STRING: Vlanif109 IF-MIB::ifDescr.142 = STRING: Vlanif100

 

2、获取网关的IP地址

命令:snmpwalk -v 2c -c Cvicse123 192.168.52.202 ipAdEntAddr >ipAdEntAddr

IP-MIB::ipAdEntAddr.127.0.0.1 = IpAddress: 127.0.0.1IP-MIB::ipAdEntAddr.191.191.191.193 = IpAddress: 191.191.191.193IP-MIB::ipAdEntAddr.192.168.1.202 = IpAddress: 192.168.1.202IP-MIB::ipAdEntAddr.192.168.2.202 = IpAddress: 192.168.2.202IP-MIB::ipAdEntAddr.192.168.3.202 = IpAddress: 192.168.3.202IP-MIB::ipAdEntAddr.192.168.4.202 = IpAddress: 192.168.4.202 IP-MIB::ipAdEntAddr.192.168.5.202 = IpAddress: 192.168.5.202 IP-MIB::ipAdEntAddr.192.168.6.202 = IpAddress: 192.168.6.202 IP-MIB::ipAdEntAddr.192.168.8.202 = IpAddress: 192.168.8.202 IP-MIB::ipAdEntAddr.192.168.10.202 = IpAddress: 192.168.10.202 IP-MIB::ipAdEntAddr.192.168.11.202 = IpAddress: 192.168.11.202 IP-MIB::ipAdEntAddr.192.168.12.202 = IpAddress: 192.168.12.202 IP-MIB::ipAdEntAddr.192.168.14.202 = IpAddress: 192.168.14.202 IP-MIB::ipAdEntAddr.192.168.19.202 = IpAddress: 192.168.19.202 IP-MIB::ipAdEntAddr.192.168.20.202 = IpAddress: 192.168.20.202 IP-MIB::ipAdEntAddr.192.168.21.202 = IpAddress: 192.168.21.202 IP-MIB::ipAdEntAddr.192.168.22.202 = IpAddress: 192.168.22.202 IP-MIB::ipAdEntAddr.192.168.25.202 = IpAddress: 192.168.25.202 IP-MIB::ipAdEntAddr.192.168.26.202 = IpAddress: 192.168.26.202 IP-MIB::ipAdEntAddr.192.168.27.202 = IpAddress: 192.168.27.202 IP-MIB::ipAdEntAddr.192.168.29.202 = IpAddress: 192.168.29.202 IP-MIB::ipAdEntAddr.192.168.33.202 = IpAddress: 192.168.33.202 IP-MIB::ipAdEntAddr.192.168.36.202 = IpAddress: 192.168.36.202 IP-MIB::ipAdEntAddr.192.168.40.202 = IpAddress: 192.168.40.202 IP-MIB::ipAdEntAddr.192.168.41.202 = IpAddress: 192.168.41.202 IP-MIB::ipAdEntAddr.192.168.50.202 = IpAddress: 192.168.50.202 IP-MIB::ipAdEntAddr.192.168.51.202 = IpAddress: 192.168.51.202 IP-MIB::ipAdEntAddr.192.168.52.202 = IpAddress: 192.168.52.202 IP-MIB::ipAdEntAddr.192.168.55.202 = IpAddress: 192.168.55.202 IP-MIB::ipAdEntAddr.192.168.60.202 = IpAddress: 192.168.60.202 IP-MIB::ipAdEntAddr.192.168.62.202 = IpAddress: 192.168.62.202 IP-MIB::ipAdEntAddr.192.168.63.202 = IpAddress: 192.168.63.202 IP-MIB::ipAdEntAddr.192.168.64.202 = IpAddress: 192.168.64.202 IP-MIB::ipAdEntAddr.192.168.70.202 = IpAddress: 192.168.70.202 IP-MIB::ipAdEntAddr.192.168.71.202 = IpAddress: 192.168.71.202 IP-MIB::ipAdEntAddr.192.168.72.202 = IpAddress: 192.168.72.202 IP-MIB::ipAdEntAddr.192.168.73.202 = IpAddress: 192.168.73.202 IP-MIB::ipAdEntAddr.192.168.74.202 = IpAddress: 192.168.74.202 IP-MIB::ipAdEntAddr.192.168.77.202 = IpAddress: 192.168.77.202 IP-MIB::ipAdEntAddr.192.168.78.202 = IpAddress: 192.168.78.202 IP-MIB::ipAdEntAddr.192.168.79.202 = IpAddress: 192.168.79.202 IP-MIB::ipAdEntAddr.192.168.100.202 = IpAddress: 192.168.100.202 IP-MIB::ipAdEntAddr.192.168.101.202 = IpAddress: 192.168.101.202 IP-MIB::ipAdEntAddr.192.168.103.202 = IpAddress: 192.168.103.202 IP-MIB::ipAdEntAddr.192.168.104.202 = IpAddress: 192.168.104.202 IP-MIB::ipAdEntAddr.192.168.105.202 = IpAddress: 192.168.105.202 IP-MIB::ipAdEntAddr.192.168.109.202 = IpAddress: 192.168.109.202 IP-MIB::ipAdEntAddr.192.168.110.30 = IpAddress: 192.168.110.30 IP-MIB::ipAdEntAddr.192.168.111.1 = IpAddress: 192.168.111.1 IP-MIB::ipAdEntAddr.192.168.111.5 = IpAddress: 192.168.111.5 IP-MIB::ipAdEntAddr.192.168.111.17 = IpAddress: 192.168.111.17 IP-MIB::ipAdEntAddr.192.168.113.202 = IpAddress: 192.168.113.202 IP-MIB::ipAdEntAddr.192.168.115.1 = IpAddress: 192.168.115.1 IP-MIB::ipAdEntAddr.192.168.119.202 = IpAddress: 192.168.119.202

 

3、获取网段的子网掩码

命令:snmpwalk -v 2c -c Cvicse123 192.168.52.202 1.3.6.1.2.1.4.21.1.11 >ipRouteMask

IP-MIB::ip.21.1.11.0.0.0.0 = IpAddress: 0.0.0.0IP-MIB::ip.21.1.11.10.10.11.0 = IpAddress: 255.255.255.0IP-MIB::ip.21.1.11.10.10.12.0 = IpAddress: 255.255.255.0IP-MIB::ip.21.1.11.10.10.13.0 = IpAddress: 255.255.255.0IP-MIB::ip.21.1.11.10.10.14.0 = IpAddress: 255.255.255.0IP-MIB::ip.21.1.11.10.10.15.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.127.0.0.0 = IpAddress: 255.0.0.0 IP-MIB::ip.21.1.11.127.0.0.1 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.172.16.1.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.172.16.10.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.191.191.191.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.191.191.191.193 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.0.0 = IpAddress: 255.255.0.0 IP-MIB::ip.21.1.11.192.168.1.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.1.200 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.1.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.2.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.2.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.3.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.3.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.4.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.4.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.5.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.5.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.6.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.6.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.7.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.8.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.8.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.10.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.10.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.11.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.11.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.12.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.12.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.13.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.14.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.14.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.15.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.16.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.17.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.18.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.19.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.19.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.20.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.20.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.21.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.21.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.22.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.22.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.23.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.24.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.25.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.25.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.26.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.26.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.27.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.27.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.28.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.29.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.29.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.32.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.33.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.33.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.34.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.36.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.36.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.40.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.40.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.41.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.41.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.50.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.50.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.51.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.51.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.52.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.52.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.55.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.55.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.58.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.59.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.60.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.60.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.62.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.62.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.63.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.63.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.64.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.64.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.70.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.70.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.71.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.71.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.72.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.72.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.73.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.73.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.74.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.74.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.75.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.76.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.77.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.77.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.78.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.78.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.79.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.79.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.80.0 = IpAddress: 255.255.252.0 IP-MIB::ip.21.1.11.192.168.100.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.100.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.101.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.101.200 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.101.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.102.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.103.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.103.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.104.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.104.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.105.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.105.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.106.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.107.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.109.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.109.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.110.0 = IpAddress: 255.255.255.252 IP-MIB::ip.21.1.11.192.168.110.4 = IpAddress: 255.255.255.252 IP-MIB::ip.21.1.11.192.168.110.16 = IpAddress: 255.255.255.240 IP-MIB::ip.21.1.11.192.168.110.30 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.111.0 = IpAddress: 255.255.255.252 IP-MIB::ip.21.1.11.192.168.111.1 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.111.4 = IpAddress: 255.255.255.252 IP-MIB::ip.21.1.11.192.168.111.5 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.111.16 = IpAddress: 255.255.255.252 IP-MIB::ip.21.1.11.192.168.111.17 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.112.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.113.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.113.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.115.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.115.1 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.119.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.119.202 = IpAddress: 255.255.255.255 IP-MIB::ip.21.1.11.192.168.122.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.128.0 = IpAddress: 255.255.224.0 IP-MIB::ip.21.1.11.192.168.129.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.133.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.134.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.135.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.136.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.138.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.144.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.149.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.151.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.157.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.159.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.168.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.169.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.199.0 = IpAddress: 255.255.255.0 IP-MIB::ip.21.1.11.192.168.224.0 = IpAddress: 255.255.248.0 IP-MIB::ip.21.1.11.222.175.126.44 = IpAddress: 255.255.255.255

 

4、获取路由类型

direct(3):路由到直连子网

direct(4):路由到非本地主机、网络或子网

命令:snmpwalk -v 2c -c Cvicse123 192.168.52.202 1.3.6.1.2.1.4.21.1.8

IP-MIB::ip.21.1.8.0.0.0.0 = INTEGER: 4IP-MIB::ip.21.1.8.10.10.11.0 = INTEGER: 4IP-MIB::ip.21.1.8.10.10.12.0 = INTEGER: 4IP-MIB::ip.21.1.8.10.10.13.0 = INTEGER: 4IP-MIB::ip.21.1.8.10.10.14.0 = INTEGER: 4IP-MIB::ip.21.1.8.10.10.15.0 = INTEGER: 4 IP-MIB::ip.21.1.8.127.0.0.0 = INTEGER: 3 IP-MIB::ip.21.1.8.127.0.0.1 = INTEGER: 3 IP-MIB::ip.21.1.8.172.16.1.0 = INTEGER: 4 IP-MIB::ip.21.1.8.172.16.10.0 = INTEGER: 4 IP-MIB::ip.21.1.8.191.191.191.0 = INTEGER: 3 IP-MIB::ip.21.1.8.191.191.191.193 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.0.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.1.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.1.200 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.1.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.2.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.2.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.3.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.3.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.4.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.4.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.5.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.5.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.6.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.6.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.7.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.8.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.8.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.10.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.10.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.11.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.11.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.12.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.12.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.13.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.14.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.14.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.15.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.16.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.17.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.18.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.19.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.19.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.20.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.20.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.21.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.21.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.22.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.22.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.23.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.24.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.25.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.25.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.26.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.26.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.27.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.27.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.28.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.29.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.29.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.32.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.33.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.33.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.34.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.36.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.36.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.40.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.40.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.41.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.41.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.50.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.50.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.51.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.51.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.52.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.52.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.55.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.55.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.58.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.59.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.60.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.60.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.62.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.62.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.63.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.63.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.64.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.64.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.70.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.70.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.71.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.71.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.72.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.72.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.73.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.73.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.74.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.74.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.75.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.76.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.77.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.77.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.78.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.78.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.79.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.79.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.80.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.100.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.100.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.101.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.101.200 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.101.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.102.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.103.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.103.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.104.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.104.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.105.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.105.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.106.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.107.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.109.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.109.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.110.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.110.4 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.110.16 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.110.30 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.111.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.111.1 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.111.4 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.111.5 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.111.16 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.111.17 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.112.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.113.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.113.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.115.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.115.1 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.119.0 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.119.202 = INTEGER: 3 IP-MIB::ip.21.1.8.192.168.122.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.128.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.129.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.133.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.134.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.135.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.136.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.138.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.144.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.149.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.151.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.157.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.159.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.168.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.169.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.199.0 = INTEGER: 4 IP-MIB::ip.21.1.8.192.168.224.0 = INTEGER: 4 IP-MIB::ip.21.1.8.222.175.126.44 = INTEGER: 4

 

5、获取下一跳网关的IP地址

命令:snmpwalk -v 2c -c Cvicse123 192.168.52.202 1.3.6.1.2.1.4.21.1.7

IP-MIB::ip.21.1.7.0.0.0.0 = IpAddress: 192.168.4.203IP-MIB::ip.21.1.7.10.10.11.0 = IpAddress: 192.168.1.6IP-MIB::ip.21.1.7.10.10.12.0 = IpAddress: 192.168.1.6IP-MIB::ip.21.1.7.10.10.13.0 = IpAddress: 192.168.1.6IP-MIB::ip.21.1.7.10.10.14.0 = IpAddress: 192.168.1.6IP-MIB::ip.21.1.7.10.10.15.0 = IpAddress: 192.168.1.6 IP-MIB::ip.21.1.7.127.0.0.0 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.127.0.0.1 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.172.16.1.0 = IpAddress: 192.168.1.9 IP-MIB::ip.21.1.7.172.16.10.0 = IpAddress: 192.168.2.20 IP-MIB::ip.21.1.7.191.191.191.0 = IpAddress: 191.191.191.193 IP-MIB::ip.21.1.7.191.191.191.193 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.0.0 = IpAddress: 192.168.1.201 IP-MIB::ip.21.1.7.192.168.1.0 = IpAddress: 192.168.1.202 IP-MIB::ip.21.1.7.192.168.1.200 = IpAddress: 192.168.1.201 IP-MIB::ip.21.1.7.192.168.1.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.2.0 = IpAddress: 192.168.2.202 IP-MIB::ip.21.1.7.192.168.2.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.3.0 = IpAddress: 192.168.3.202 IP-MIB::ip.21.1.7.192.168.3.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.4.0 = IpAddress: 192.168.4.202 IP-MIB::ip.21.1.7.192.168.4.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.5.0 = IpAddress: 192.168.5.202 IP-MIB::ip.21.1.7.192.168.5.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.6.0 = IpAddress: 192.168.6.202 IP-MIB::ip.21.1.7.192.168.6.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.7.0 = IpAddress: 192.168.2.203 IP-MIB::ip.21.1.7.192.168.8.0 = IpAddress: 192.168.8.202 IP-MIB::ip.21.1.7.192.168.8.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.10.0 = IpAddress: 192.168.10.202 IP-MIB::ip.21.1.7.192.168.10.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.11.0 = IpAddress: 192.168.11.202 IP-MIB::ip.21.1.7.192.168.11.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.12.0 = IpAddress: 192.168.12.202 IP-MIB::ip.21.1.7.192.168.12.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.13.0 = IpAddress: 192.168.111.2 IP-MIB::ip.21.1.7.192.168.14.0 = IpAddress: 192.168.14.202 IP-MIB::ip.21.1.7.192.168.14.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.15.0 = IpAddress: 192.168.1.6 IP-MIB::ip.21.1.7.192.168.16.0 = IpAddress: 192.168.111.18 IP-MIB::ip.21.1.7.192.168.17.0 = IpAddress: 192.168.111.18 IP-MIB::ip.21.1.7.192.168.18.0 = IpAddress: 192.168.111.18 IP-MIB::ip.21.1.7.192.168.19.0 = IpAddress: 192.168.19.202 IP-MIB::ip.21.1.7.192.168.19.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.20.0 = IpAddress: 192.168.20.202 IP-MIB::ip.21.1.7.192.168.20.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.21.0 = IpAddress: 192.168.21.202 IP-MIB::ip.21.1.7.192.168.21.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.22.0 = IpAddress: 192.168.22.202 IP-MIB::ip.21.1.7.192.168.22.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.23.0 = IpAddress: 192.168.111.2 IP-MIB::ip.21.1.7.192.168.24.0 = IpAddress: 192.168.111.2 IP-MIB::ip.21.1.7.192.168.25.0 = IpAddress: 192.168.25.202 IP-MIB::ip.21.1.7.192.168.25.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.26.0 = IpAddress: 192.168.26.202 IP-MIB::ip.21.1.7.192.168.26.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.27.0 = IpAddress: 192.168.27.202 IP-MIB::ip.21.1.7.192.168.27.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.28.0 = IpAddress: 192.168.111.2 IP-MIB::ip.21.1.7.192.168.29.0 = IpAddress: 192.168.29.202 IP-MIB::ip.21.1.7.192.168.29.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.32.0 = IpAddress: 192.168.1.201 IP-MIB::ip.21.1.7.192.168.33.0 = IpAddress: 192.168.33.202 IP-MIB::ip.21.1.7.192.168.33.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.34.0 = IpAddress: 192.168.1.201 IP-MIB::ip.21.1.7.192.168.36.0 = IpAddress: 192.168.36.202 IP-MIB::ip.21.1.7.192.168.36.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.40.0 = IpAddress: 192.168.40.202 IP-MIB::ip.21.1.7.192.168.40.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.41.0 = IpAddress: 192.168.41.202 IP-MIB::ip.21.1.7.192.168.41.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.50.0 = IpAddress: 192.168.50.202 IP-MIB::ip.21.1.7.192.168.50.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.51.0 = IpAddress: 192.168.51.202 IP-MIB::ip.21.1.7.192.168.51.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.52.0 = IpAddress: 192.168.52.202 IP-MIB::ip.21.1.7.192.168.52.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.55.0 = IpAddress: 192.168.55.202 IP-MIB::ip.21.1.7.192.168.55.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.58.0 = IpAddress: 192.168.1.69 IP-MIB::ip.21.1.7.192.168.59.0 = IpAddress: 192.168.1.69 IP-MIB::ip.21.1.7.192.168.60.0 = IpAddress: 192.168.60.202 IP-MIB::ip.21.1.7.192.168.60.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.62.0 = IpAddress: 192.168.62.202 IP-MIB::ip.21.1.7.192.168.62.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.63.0 = IpAddress: 192.168.63.202 IP-MIB::ip.21.1.7.192.168.63.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.64.0 = IpAddress: 192.168.64.202 IP-MIB::ip.21.1.7.192.168.64.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.70.0 = IpAddress: 192.168.70.202 IP-MIB::ip.21.1.7.192.168.70.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.71.0 = IpAddress: 192.168.71.202 IP-MIB::ip.21.1.7.192.168.71.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.72.0 = IpAddress: 192.168.72.202 IP-MIB::ip.21.1.7.192.168.72.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.73.0 = IpAddress: 192.168.73.202 IP-MIB::ip.21.1.7.192.168.73.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.74.0 = IpAddress: 192.168.74.202 IP-MIB::ip.21.1.7.192.168.74.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.75.0 = IpAddress: 192.168.1.7 IP-MIB::ip.21.1.7.192.168.76.0 = IpAddress: 192.168.1.7 IP-MIB::ip.21.1.7.192.168.77.0 = IpAddress: 192.168.77.202 IP-MIB::ip.21.1.7.192.168.77.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.78.0 = IpAddress: 192.168.78.202 IP-MIB::ip.21.1.7.192.168.78.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.79.0 = IpAddress: 192.168.79.202 IP-MIB::ip.21.1.7.192.168.79.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.80.0 = IpAddress: 192.168.2.203 IP-MIB::ip.21.1.7.192.168.100.0 = IpAddress: 192.168.100.202 IP-MIB::ip.21.1.7.192.168.100.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.101.0 = IpAddress: 192.168.101.202 IP-MIB::ip.21.1.7.192.168.101.200 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.101.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.102.0 = IpAddress: 192.168.1.7 IP-MIB::ip.21.1.7.192.168.103.0 = IpAddress: 192.168.103.202 IP-MIB::ip.21.1.7.192.168.103.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.104.0 = IpAddress: 192.168.104.202 IP-MIB::ip.21.1.7.192.168.104.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.105.0 = IpAddress: 192.168.105.202 IP-MIB::ip.21.1.7.192.168.105.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.106.0 = IpAddress: 192.168.1.9 IP-MIB::ip.21.1.7.192.168.107.0 = IpAddress: 192.168.1.9 IP-MIB::ip.21.1.7.192.168.109.0 = IpAddress: 192.168.109.202 IP-MIB::ip.21.1.7.192.168.109.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.110.0 = IpAddress: 192.168.111.2 IP-MIB::ip.21.1.7.192.168.110.4 = IpAddress: 192.168.1.201 IP-MIB::ip.21.1.7.192.168.110.16 = IpAddress: 192.168.110.30 IP-MIB::ip.21.1.7.192.168.110.30 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.111.0 = IpAddress: 192.168.111.1 IP-MIB::ip.21.1.7.192.168.111.1 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.111.4 = IpAddress: 192.168.111.5 IP-MIB::ip.21.1.7.192.168.111.5 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.111.16 = IpAddress: 192.168.111.17 IP-MIB::ip.21.1.7.192.168.111.17 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.112.0 = IpAddress: 192.168.1.7 IP-MIB::ip.21.1.7.192.168.113.0 = IpAddress: 192.168.113.202 IP-MIB::ip.21.1.7.192.168.113.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.115.0 = IpAddress: 192.168.115.1 IP-MIB::ip.21.1.7.192.168.115.1 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.119.0 = IpAddress: 192.168.119.202 IP-MIB::ip.21.1.7.192.168.119.202 = IpAddress: 127.0.0.1 IP-MIB::ip.21.1.7.192.168.122.0 = IpAddress: 192.168.1.7 IP-MIB::ip.21.1.7.192.168.128.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.129.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.133.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.134.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.135.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.136.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.138.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.144.0 = IpAddress: 192.168.2.203 IP-MIB::ip.21.1.7.192.168.149.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.151.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.157.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.159.0 = IpAddress: 192.168.2.135 IP-MIB::ip.21.1.7.192.168.168.0 = IpAddress: 192.168.2.203 IP-MIB::ip.21.1.7.192.168.169.0 = IpAddress: 192.168.2.203 IP-MIB::ip.21.1.7.192.168.199.0 = IpAddress: 192.168.1.201 IP-MIB::ip.21.1.7.192.168.224.0 = IpAddress: 192.168.2.203 IP-MIB::ip.21.1.7.222.175.126.44 = IpAddress: 192.168.2.135

6、网关接口号

命令:snmpwalk -v 2c -c Cvicse123 192.168.52.202 1.3.6.1.2.1.4.21.1.2

IP-MIB::ip.21.1.2.0.0.0.0 = INTEGER: 9IP-MIB::ip.21.1.2.10.10.11.0 = INTEGER: 6IP-MIB::ip.21.1.2.10.10.12.0 = INTEGER: 6IP-MIB::ip.21.1.2.10.10.13.0 = INTEGER: 6IP-MIB::ip.21.1.2.10.10.14.0 = INTEGER: 6IP-MIB::ip.21.1.2.10.10.15.0 = INTEGER: 6 IP-MIB::ip.21.1.2.127.0.0.0 = INTEGER: 1 IP-MIB::ip.21.1.2.127.0.0.1 = INTEGER: 1 IP-MIB::ip.21.1.2.172.16.1.0 = INTEGER: 6 IP-MIB::ip.21.1.2.172.16.10.0 = INTEGER: 7 IP-MIB::ip.21.1.2.191.191.191.0 = INTEGER: 135 IP-MIB::ip.21.1.2.191.191.191.193 = INTEGER: 135 IP-MIB::ip.21.1.2.192.168.0.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.1.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.1.200 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.1.202 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.2.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.2.202 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.3.0 = INTEGER: 8 IP-MIB::ip.21.1.2.192.168.3.202 = INTEGER: 8 IP-MIB::ip.21.1.2.192.168.4.0 = INTEGER: 9 IP-MIB::ip.21.1.2.192.168.4.202 = INTEGER: 9 IP-MIB::ip.21.1.2.192.168.5.0 = INTEGER: 10 IP-MIB::ip.21.1.2.192.168.5.202 = INTEGER: 10 IP-MIB::ip.21.1.2.192.168.6.0 = INTEGER: 11 IP-MIB::ip.21.1.2.192.168.6.202 = INTEGER: 11 IP-MIB::ip.21.1.2.192.168.7.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.8.0 = INTEGER: 12 IP-MIB::ip.21.1.2.192.168.8.202 = INTEGER: 12 IP-MIB::ip.21.1.2.192.168.10.0 = INTEGER: 13 IP-MIB::ip.21.1.2.192.168.10.202 = INTEGER: 13 IP-MIB::ip.21.1.2.192.168.11.0 = INTEGER: 14 IP-MIB::ip.21.1.2.192.168.11.202 = INTEGER: 14 IP-MIB::ip.21.1.2.192.168.12.0 = INTEGER: 15 IP-MIB::ip.21.1.2.192.168.12.202 = INTEGER: 15 IP-MIB::ip.21.1.2.192.168.13.0 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.14.0 = INTEGER: 127 IP-MIB::ip.21.1.2.192.168.14.202 = INTEGER: 127 IP-MIB::ip.21.1.2.192.168.15.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.16.0 = INTEGER: 140 IP-MIB::ip.21.1.2.192.168.17.0 = INTEGER: 140 IP-MIB::ip.21.1.2.192.168.18.0 = INTEGER: 140 IP-MIB::ip.21.1.2.192.168.19.0 = INTEGER: 18 IP-MIB::ip.21.1.2.192.168.19.202 = INTEGER: 18 IP-MIB::ip.21.1.2.192.168.20.0 = INTEGER: 19 IP-MIB::ip.21.1.2.192.168.20.202 = INTEGER: 19 IP-MIB::ip.21.1.2.192.168.21.0 = INTEGER: 20 IP-MIB::ip.21.1.2.192.168.21.202 = INTEGER: 20 IP-MIB::ip.21.1.2.192.168.22.0 = INTEGER: 109 IP-MIB::ip.21.1.2.192.168.22.202 = INTEGER: 109 IP-MIB::ip.21.1.2.192.168.23.0 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.24.0 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.25.0 = INTEGER: 133 IP-MIB::ip.21.1.2.192.168.25.202 = INTEGER: 133 IP-MIB::ip.21.1.2.192.168.26.0 = INTEGER: 21 IP-MIB::ip.21.1.2.192.168.26.202 = INTEGER: 21 IP-MIB::ip.21.1.2.192.168.27.0 = INTEGER: 22 IP-MIB::ip.21.1.2.192.168.27.202 = INTEGER: 22 IP-MIB::ip.21.1.2.192.168.28.0 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.29.0 = INTEGER: 24 IP-MIB::ip.21.1.2.192.168.29.202 = INTEGER: 24 IP-MIB::ip.21.1.2.192.168.32.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.33.0 = INTEGER: 108 IP-MIB::ip.21.1.2.192.168.33.202 = INTEGER: 108 IP-MIB::ip.21.1.2.192.168.34.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.36.0 = INTEGER: 26 IP-MIB::ip.21.1.2.192.168.36.202 = INTEGER: 26 IP-MIB::ip.21.1.2.192.168.40.0 = INTEGER: 27 IP-MIB::ip.21.1.2.192.168.40.202 = INTEGER: 27 IP-MIB::ip.21.1.2.192.168.41.0 = INTEGER: 28 IP-MIB::ip.21.1.2.192.168.41.202 = INTEGER: 28 IP-MIB::ip.21.1.2.192.168.50.0 = INTEGER: 29 IP-MIB::ip.21.1.2.192.168.50.202 = INTEGER: 29 IP-MIB::ip.21.1.2.192.168.51.0 = INTEGER: 30 IP-MIB::ip.21.1.2.192.168.51.202 = INTEGER: 30 IP-MIB::ip.21.1.2.192.168.52.0 = INTEGER: 111 IP-MIB::ip.21.1.2.192.168.52.202 = INTEGER: 111 IP-MIB::ip.21.1.2.192.168.55.0 = INTEGER: 31 IP-MIB::ip.21.1.2.192.168.55.202 = INTEGER: 31 IP-MIB::ip.21.1.2.192.168.58.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.59.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.60.0 = INTEGER: 33 IP-MIB::ip.21.1.2.192.168.60.202 = INTEGER: 33 IP-MIB::ip.21.1.2.192.168.62.0 = INTEGER: 34 IP-MIB::ip.21.1.2.192.168.62.202 = INTEGER: 34 IP-MIB::ip.21.1.2.192.168.63.0 = INTEGER: 35 IP-MIB::ip.21.1.2.192.168.63.202 = INTEGER: 35 IP-MIB::ip.21.1.2.192.168.64.0 = INTEGER: 121 IP-MIB::ip.21.1.2.192.168.64.202 = INTEGER: 121 IP-MIB::ip.21.1.2.192.168.70.0 = INTEGER: 107 IP-MIB::ip.21.1.2.192.168.70.202 = INTEGER: 107 IP-MIB::ip.21.1.2.192.168.71.0 = INTEGER: 112 IP-MIB::ip.21.1.2.192.168.71.202 = INTEGER: 112 IP-MIB::ip.21.1.2.192.168.72.0 = INTEGER: 113 IP-MIB::ip.21.1.2.192.168.72.202 = INTEGER: 113 IP-MIB::ip.21.1.2.192.168.73.0 = INTEGER: 114 IP-MIB::ip.21.1.2.192.168.73.202 = INTEGER: 114 IP-MIB::ip.21.1.2.192.168.74.0 = INTEGER: 115 IP-MIB::ip.21.1.2.192.168.74.202 = INTEGER: 115 IP-MIB::ip.21.1.2.192.168.75.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.76.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.77.0 = INTEGER: 118 IP-MIB::ip.21.1.2.192.168.77.202 = INTEGER: 118 IP-MIB::ip.21.1.2.192.168.78.0 = INTEGER: 119 IP-MIB::ip.21.1.2.192.168.78.202 = INTEGER: 119 IP-MIB::ip.21.1.2.192.168.79.0 = INTEGER: 120 IP-MIB::ip.21.1.2.192.168.79.202 = INTEGER: 120 IP-MIB::ip.21.1.2.192.168.80.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.100.0 = INTEGER: 142 IP-MIB::ip.21.1.2.192.168.100.202 = INTEGER: 142 IP-MIB::ip.21.1.2.192.168.101.0 = INTEGER: 100 IP-MIB::ip.21.1.2.192.168.101.200 = INTEGER: 100 IP-MIB::ip.21.1.2.192.168.101.202 = INTEGER: 100 IP-MIB::ip.21.1.2.192.168.102.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.103.0 = INTEGER: 102 IP-MIB::ip.21.1.2.192.168.103.202 = INTEGER: 102 IP-MIB::ip.21.1.2.192.168.104.0 = INTEGER: 103 IP-MIB::ip.21.1.2.192.168.104.202 = INTEGER: 103 IP-MIB::ip.21.1.2.192.168.105.0 = INTEGER: 104 IP-MIB::ip.21.1.2.192.168.105.202 = INTEGER: 104 IP-MIB::ip.21.1.2.192.168.106.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.107.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.109.0 = INTEGER: 141 IP-MIB::ip.21.1.2.192.168.109.202 = INTEGER: 141 IP-MIB::ip.21.1.2.192.168.110.0 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.110.4 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.110.16 = INTEGER: 136 IP-MIB::ip.21.1.2.192.168.110.30 = INTEGER: 136 IP-MIB::ip.21.1.2.192.168.111.0 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.111.1 = INTEGER: 138 IP-MIB::ip.21.1.2.192.168.111.4 = INTEGER: 139 IP-MIB::ip.21.1.2.192.168.111.5 = INTEGER: 139 IP-MIB::ip.21.1.2.192.168.111.16 = INTEGER: 140 IP-MIB::ip.21.1.2.192.168.111.17 = INTEGER: 140 IP-MIB::ip.21.1.2.192.168.112.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.113.0 = INTEGER: 130 IP-MIB::ip.21.1.2.192.168.113.202 = INTEGER: 130 IP-MIB::ip.21.1.2.192.168.115.0 = INTEGER: 125 IP-MIB::ip.21.1.2.192.168.115.1 = INTEGER: 125 IP-MIB::ip.21.1.2.192.168.119.0 = INTEGER: 131 IP-MIB::ip.21.1.2.192.168.119.202 = INTEGER: 131 IP-MIB::ip.21.1.2.192.168.122.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.128.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.129.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.133.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.134.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.135.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.136.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.138.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.144.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.149.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.151.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.157.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.159.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.168.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.169.0 = INTEGER: 7 IP-MIB::ip.21.1.2.192.168.199.0 = INTEGER: 6 IP-MIB::ip.21.1.2.192.168.224.0 = INTEGER: 7 IP-MIB::ip.21.1.2.222.175.126.44 = INTEGER: 7

 

转载于:https://www.cnblogs.com/dyh004/p/10412658.html

你可能感兴趣的文章
MFI认证过程
查看>>
ScrollView和ListView共存
查看>>
XCode使用技巧
查看>>
Sicily/1203. The Cubic End
查看>>
进程监控树。
查看>>
如何将ToolBar 样式设置Title文字水平居中
查看>>
Maven 核心原理
查看>>
UVA 1613 K-Graph Oddity
查看>>
‘ActiveX component can’t create object解决方法
查看>>
IIS启用.net2.0
查看>>
sql server 索引阐述系列七 索引填充因子与碎片
查看>>
redis内存策略
查看>>
filter防盗链
查看>>
shell脚本实现ssh自动登录远程服务器示例
查看>>
网络接口和全屏接口的使用
查看>>
1.4(JavaScript学习笔记) window对象的属性及方法
查看>>
IE6下兼容问题(转载)
查看>>
Problem E: 类的初体验(V)
查看>>
如何衡量个人在各自团队的效率和绩效
查看>>
testlink的下载地址
查看>>