Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

The show route forward-route command displays information about the IP routing table of the switch.


Command Syntax

show route forward-route brief

show route forward-route ipv4 {<IP4Net>| all}

show route forward-route ipv6 {<IP6Net>| all}

Parameter

Parameter

Description

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 address.

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. 
admin@XorPlus# run show route forward-route ipv4 all
Destination     NetMask           NextHopMac         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:FF   connected
Total route count:5
  • If IP routing function is disabled, the command result shows "Ip routing is disable".
admin@XorPlus# run show route forward-route ipv4 allIp routing is disable
  • No labels