Command Reference
NSM Commands
5.13 show ip route
Use the commands to display the configuration of the IP routing table.
show ip route
network
[
mask
[
longer-prefix
]
] |
count
|
protocol
[
process-id
] |
weight
] ]
show ip route
[
normal
|
ecmp
] [
network
[
mask
] ]
Parameter
Description
Parameter
Description
network
(Optional) Displays the route information to the network.
mask
(Optional)Displays the route information to the network of this mask.
longer-prefix
(optional) Displays the routes that match the specified prefix.
count
(Optional)Displays the number of existent routes. (for the
ECMP/WCMP route, displays one route)
protocol
(Optional) Displays the route information of specific protocol.
process-id
(Optional) Routing protocol process ID.
weight
(Optional) Displays the route information of non default weight.
normal
Displays normal routes and not equivalent routes or fast reroutes.
ecmp
Displays only equivalent routes.
Defaults
All routes are displayed by default.
Command
Mode
Privileged EXEC mode/ Global configuration mode/Interface configuration mode/ Routing protocol
configuration mode/ Route map configuration mode
Usage Guide
This command can display route information flexibly.
This command shows all routes. To show different attributes of routes, specify normal | ecmp |
fast-reroute.
Examples
The following example displays the configuration of the IP routing table.
Ruijie# show ip route
Codes: C - Connected, L - Local, S - Static
R - RIP, O - OSPF, B - BGP, I - IS-IS, V - Overflow route
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
SU - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
IA - Inter area, * - candidate default
Gateway of last resort is no set
S 20.0.0.0/8 is directly connected, VLAN 1
S 22.0.0.0/8 [1/0] via 20.0.0.1
O E2 30.0.0.0/8 [110/20] via 192.1.1.1, 00:00:06, VLAN 1
R 40.0.0.0/8 [120/20] via 192.1.1.2, 00:00:23, VLAN 1
B 50.0.0.0/8 [120/0] via 192.1.1.3, 00:00:41
C 192.1.1.0/24 is directly connected, VLAN 1
C 192.1.1.254/32 is local host.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...