D-Link CLI Reference Guide
Page 168
Examples
The following example displays the whole routing table state.
The following example displays the routing table for IP address 192.168.1.0 with the address mask
255.255.255.0.
The following example displays the routing table for IP address 192.168.1.0 with the address mask 255.255.255.0
and matching the prefix created from the IP address and address mask.
The following table describes the significant fields shown in the display:
Console>
show ip route
Maximum Parallel Paths: 2 (4 after reset)
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external, * - candidate default
R 10.0.0.0/8 is rejected
C 10.0.1.1/32 is directly connected, Loopback0
C 10.0.1.0/24 is directly connected, Ethernet g1
C 10.0.2.0/24 is directly connected, Ethernet g2
R 10.8.2.0/24 [230/50] via 10.0.2.2, 00:17:19, Ethernet g2
S 10.9.1.0/24 [5/2] via 10.0.1.2, 17:19:18, Ethernet g1
S 10.9.1.0/24 [5/3] via 10.0.2.2, Backup Not Active
O 10.8.1.0/24 [30/2000] via 10.0.1.2, 00:39:08, Ethernet g1
S 172.1.0.0/16 [5/3] via 10.0.1.1, 18:21:58, Ethernet g1
S 172.1.1.0/24 [5/3] via 10.0.2.1, 17:12:19, Ethernet g1
S 172.1.1.1/32 [5/3] via 10.0.3.1, 19:51:18, Ethernet g1
Console>
show ip route address
192.168.1.0 255.255.255.0
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external, * - candidate default
Gateway of last resort is not set
S 192.168.1.0/24 [5/3] via 10.0.2.1, 17:12:19, Ethernet g1
Console>
show ip route address
192.168.1.0 255.255.255.0
longer-prefixes
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external, * - candidate default
Gateway of last resort is not set
S 192.168.1.0/24 [5/3] via 10.0.2.1, 17:12:19, Ethernet g1
S 192.168.1.1/32 [5/3] via 10.0.3.1, 19:51:18, Ethernet g1
Field
Description
O
Indicates protocol that derived the route.
10.8.1.0/24
Indicates the remote network address.
[30/2000]
The first number in the brackets is the administrative distance of the information source; the
second number is the metric for the route.
via 10.0.1.2
Specifies the address of the next router to the remote network.
00:39:08
Specifies the last time the route was updated, in hours:minutes:seconds.
Содержание DXS-3250 - xStack Switch - Stackable
Страница 12: ...Page 11 ...
Страница 46: ...ACL Commands Page 45 ...
Страница 68: ...Address Table Commands Page 67 ...
Страница 124: ...Ethernet Configuration Commands Page 123 ...
Страница 134: ...GVRP Commands Page 133 ...
Страница 144: ...IGMP Snooping Commands Page 143 ...
Страница 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Страница 166: ...IP Addressing Commands Page 165 ...
Страница 170: ...IP Routing Commands Page 169 Ethernet 1 Specifies the interface through which the specified network can be reached ...
Страница 186: ...Line Commands Page 185 ...
Страница 194: ...Management ACL Commands Page 193 ...
Страница 200: ...PHY Diagnostics Commands Page 199 ...
Страница 208: ...Port Monitor Commands Page 207 ...
Страница 216: ...Power over Ethernet Commands Page 215 ...
Страница 272: ...RMON Commands Page 271 ...
Страница 334: ...Spanning Tree Commands Page 333 ...
Страница 428: ...VLAN Commands Page 427 ...
Страница 465: ...D Link CLI Reference Guide Page 464 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 466: ...802 1x Commands Page 465 ...