Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
admin@XorPlus# run show route vrf vrf1
show ip route vrf vrf1 
=======================
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

VRF vrf1:
S>* 10.10.1.0/24 [1/0] via 172.168.1.3, vlan10, weight 1, 00:00:45
C>* 172.168.1.0/24 is directly connected, vlan10, 00:04:43
C>* 192.168.2.0/24 is directly connected, vlan11, 00:04:45

admin@XorPlus# run show route vrf vrf2
show ip route vrf vrf2 
=======================
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

VRF vrf2:
K>* 0.0.0.0/0 [255/8192] unreachable (blackhole), 00:21:13
S>* 10.10.1.0/24 [1/0] via 172.168.1.3, vlan20, weight 1, 00:00:59
C>* 172.168.1.0/24 is directly connected, vlan20, 00:04:56
C>* 192.168.2.0/24 is directly connected, vlan21, 00:04:59



show ipv6 route vrf vrf2 
=========================
  • You can use the run show route forward-host command to check the information about the host hardware route command to check the hardware route forwarding table information of the specific VRF.
Code Block
admin@XorPlus# run show route vrf vrf1 forward-route ipv4 all
Destination      NextHopMac         Port   
-----------     -----------------   ---------
172.168.1.0/24   04:7D:7B:62:93:FF   connected

Total route count:1

admin@XorPlus# run show route vrf vrf1 forward-route ipv4 all
Destination          NextHopMac          Port    
---------------      -----------------   ---------
192.168.2.0/24       CC:37:AB:BE:0E:D1   connected
172.168.1.0/24       CC:37:AB:BE:0E:D1   connected
10.10.1.0/24         04:7D:7B:62:93:FF   te-1/1/3