The run show route forward-route command displays information about the IP routing table of the switchis used to view the hardware route forwarding table information.
Command Syntax
run show route [vrf <vrf-name>] forward-route brief
run show route [vrf <vrf-name>] forward-route ipv4 {<IP4Net>| all}
run show route [vrf <vrf-name>] forward-route ipv6 {<IP6Net>| all}
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. |
brief | Displays statistics information about routes in the IP routing table. |
ipv4 {<IP4Net>| all} | Displays the routes with the specified destination IPv4 address or all destination IPv4 addressSpecifies an IPv4 network segment address to view the hardware route forwarding table information of a specific IPv4 network segment, or all to view the hardware route forwarding table information of all IPv4 network segment. |
ipv6 {<IP6Net>| all} | Displays the routes with the specified destination IPv6 address or all destination IPv6 address. |
Example
- Show the routes of all destination IPv4 address.
...
Specifies an IPv6 network segment address to view the hardware route forwarding table information of a specific IPv6 network segment, or all to view the hardware route forwarding table information of all IPv6 network segment. |
Usage Guidelines
When a VRF is specified, only the hardware route forwarding table information of the specific VRF is displayed.
When no VRF is specified, the result shows only the hardware route forwarding table information of the default VRF.
Example
- View the hardware route forwarding table information.
Code Block |
---|
admin@Xorplus# run show route forward-route ipv4 all Destination NetMask NextHopMac Port Port ----------- ------------ ----------------- --------- 192.168.1.0 255.255.255.0 04:7D:7B:62:93:FF connected 192.168.2.0 255.255.255.0 04:7D:7B:62:93:FF connected 192.168.3.0 255.255.255.0 04:7D:7B:62:93:FF connected 192.168.20.0 255.255.255.0 04:7D:7B:62:93:FF connected 192.168.100.0 255.255.255.0 04:7D:7B:62:93:FF20.20.20.0/24 00:18:23:30:DD:53 connected Total route count:51 |
- If IP routing function is disabled, the command result shows "Ip routing is disable".
Code Block |
---|
admin@XorPlus# run show route forward-route ipv4 all allIpIp routing is disable |