/
run show route

run show route


The run show route command shows the information about the IP routing table.


Command Syntax

run show route [vrf <vrf-name>]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string.


Usage Guidelines

When a VRF is specified, only the routing table information of the specific VRF is displayed.

When no VRF is specified, the result shows only the routing table information of the default VRF.


Example

•  View the information about the IP routing table of vrf1.      

admin@Xorplus# run show route vrf vrf1
IPv4 Routing table: 4 routes
192.168.1.1/32     [local(0)/0]
                   > via vlan1/vlan1
192.168.1.0/24     [connected(0)/0]
                   > via vlan1/vlan1
192.168.2.1/32     [local(0)/0]
                   > via vlan2/vlan2
192.168.2.0/24     [connected(0)/0]
                   > via vlan2/vlan2 

IPv6 Routing table: 2 routes
fe80::4a6e:73ff:201:391/128[local(0)/0]
                   > via vlan1/vlan1
fe80::4a6e:73ff:301:391/128[local(0)/0]
                   > via vlan2/vlan2


 •  View the information about the IP routing table of the default VRF.      

admin@Xorplus# run show route
IPv4 Routing table: 2 routes
20.20.20.4/32      [local(0)/0]
                   > via vlan20/vlan20
20.20.20.0/24      [connected(0)/0]
                   > via vlan20/vlan20 

IPv6 Routing table: 2 routes
fe80::218:23ff:130:dd53/128[local(0)/0]
                   > via loopback/loopback
fe80::218:23ff:330:dd53/128[local(0)/0]
                   > via vlan20/vlan20

Copyright © 2025 Pica8 Inc. All Rights Reserved.