run show route forward-route
The run show route forward-route command is 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} | Specifies 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} | 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.
admin@Xorplus# run show route forward-route ipv4 all Destination NextHopMac Port --------------- ----------------- --------- 20.20.20.0/24 00:18:23:30:DD:53 connected Total route count:1
- If IP routing function is disabled, the command result shows "Ip routing is disable".
admin@XorPlus# run show route forward-route ipv4 all Ip routing is disable
Copyright © 2024 Pica8 Inc. All Rights Reserved.