16. SNMP
448
snmp getroute
Displays the IP routing table (ipRouteTable).
Syntax
snmp getroute
Input mode
User mode and administrator mode
Parameters
None
Searches management information for ipRouteTable and then displays routing information.
Example
Figure 16-9:
Example of executing the snmp getroute command
> snmp getroute
Index Destination NextHop Metric1 Type Proto Age
2 10.0.0.0 10.1.1.1 0 direct local 720
2 10.1.1.0 10.1.1.1 0 direct local 720
2 10.1.1.1 10.1.1.1 0 direct local 720
0 127.0.0.0 0.0.0.0 0 other local 720
1 127.0.0.1 127.0.0.1 0 direct local 720
>
Display items
Table 16-14:
Items displayed when the snmp getroute command is executed
Item
Meaning
Displayed information
Index
Indicates the interface number used for reaching the next
hop on this route (ipRouteIfIndex).
--
Destination
Indicates the destination IP address on this route
(ipRouteDest).
--
NextHop
Indicates the IP address of the next hop for the
destination of this route (ipRouteNextHop).
--
Metric1
Indicates the primary routing metric for this route
(ipRouteMetric1).
--
Type
Indicate the type of this route (ipRouteType).
direct
(direct route)
indirect
(indirect route)
invalid
(invalid route)
other
(others)
Proto
Indicates the routing protocol (ipRouteProto).
rip
(RIP)
ospf
(OSPF)
bgp
(bgp)
local
(static routing)
netmgmt
(static routing)
other
(others)
Summary of Contents for AX6300S series
Page 4: ......
Page 10: ......
Page 16: ......
Page 24: ......
Page 25: ...9 PART 2 Filters Chapter 2 Filters show access filter clear access filter ...
Page 34: ......
Page 49: ...3 Access List Logging 33 Notes None ...
Page 80: ...4 QoS 64 Notes None ...
Page 112: ......
Page 148: ......
Page 202: ......
Page 242: ......
Page 264: ......
Page 294: ......
Page 304: ......
Page 332: ......
Page 377: ...12 VRRP 361 Notes None ...
Page 378: ......
Page 388: ...13 IEEE 802 3ah UDLD 372 file in advance if necessary ...
Page 390: ......
Page 406: ......
Page 436: ...15 CFM 420 Notes None ...
Page 440: ...15 CFM 424 Notes None ...
Page 466: ...16 SNMP 450 appears and the MIB cannot be acquired ...
Page 483: ...467 Chapter 17 sFlow show sflow clear sflow statistics restart sflow dump sflow ...
Page 490: ......
Page 497: ...18 LLDP 481 Notes None ...
Page 520: ......