show virtual-router

show virtual-router {name}

Description

Displays information about VRs and VRFs.

Syntax Description

name Specifies the name of a VR or VRF.

Default

N/A.

Usage Guidelines

The output display differs for the following options:
  • show virtual-router—displays information about all VRs and VRFs.
  • show virtual-router vr_name—displays information about a user VR or VR-Default.
  • show virtual-router vrf_name—displays information about the named VRF.

Example

The following example displays the VR and VRF configurations on the switch:

# show virtual-router
--------------------------------------------------------------------   
Virtual               Number of    Number of    Flags   
Router                VLANs        Ports   
--------------------------------------------------------------------   
VR-Control             0            0           --------S46   
VR-Default             32           18          boprimORS46    
xvr                    1            0           b-------F46   
VR-Mgmt                1            0           --------S46   
--------------------------------------------------------------------   
Flags : Virtual Router Type(
         (S) System, (U) User, (F) Non-VPN VRF, (N) VPN  VRF,
         (L) Local-only for switch‘s local IP addresses         
        : Virtual Router Admin State           
          (-) Disabled (4) IPv4 Enabled, (6) IPv6 Enabled         
        : Routing protocols configured on the virtual router           
          (b) BGP, (i) ISIS, (m) MPLS, (o) OSPF, (p) PIM, (r) RIP,           
          (O) OSPFv3, (R) RIPng   
System Totals         :   
Total VRs             :     4    Max VRs               :  1066   
Total User VRs        :     0    Max User VRs          :  63   
Total Non-VPN VRFs    :     1    Max VRFs              :  1000   
Total VPN VRFs        :     0    Total System VRs      :  3   
Total Protocols       :     8    Max Protocols         :  64   
Max IPv4 VLANs        :     4096 Max IPv6 VLANs        :  1024   
Total IPv4 VLANs      :     13   Total IPv6 VLANs      :  8   
Active IPv4 VLANs     :     12   Active IPv6 VLANs     :  8   
Inactive IPv4 VLANs   :     1    Inactive IPv6 VLANs   :  0  

The following example displays information about VR-Default:

# show virtual-router "VR-Default"
Virtual Router        : VR-Default                Type : System   
Description           : Default VR   
IPv4 Admin State      : Enabled      IPv4 Forwarding    : Enabled   
IPv6 Admin State      : Enabled      IPv6 Forwarding    : Enabled   
Operational State     : Up   
IPv4 Route Sharing    : Enabled      IPv6 Route Sharing : Disabled   
Protocols Configured  :   
--------------------------------------------------------------------   
Protocol    Process      Configuration    Protocol   
Name        Name          Module Name     Instances   
--------------------------------------------------------------------   
BGP         bgp           bgp                 2   
OSPF        ospf          ospf                1   
PIM         pim           pim                 1   
RIP         rip           rip                 1   
ISIS        isis          isis                1   
MPLS        mpls          mpls                1   
OSPFv3      ospfv3        ospfv3              1   
RIPng       ripng         ripng               1   
--------------------------------------------------------------------       
VRFs Configured       :   
--------------------------------------------------------------------   
Virtual              Flags   
Router   
--------------------------------------------------------------------   
xvr                  b-------F46   
--------------------------------------------------------------------   
Flags : Virtual Router Type(
          (S) System, (U) User, (F) Non-VPN VRF, (N) VPN  VRF,
          (L) Local-only for switch‘s local IP addresses         
        : Virtual Router Admin State           
          (-) Disabled (4) IPv4 Enabled, (6) IPv6 Enabled         
        : Routing protocols configured on the virtual router           
          (b) BGP, (i) ISIS, (m) MPLS, (o) OSPF, (p) PIM, (r) RIP,           
          (O) OSPFv3, (R) RIPng   
Port List             : 1:2-14, 1:16, 1:19-20, 2:1-2   
VLANS                 : Default, e1, foo1,                           
                        foo10, foo11, foo12,                           
                        foo13, foo14, foo15,                           
                        foo16, foo17, foo18,                           
                        foo19, foo2, foo3,                           
                        foo4, foo5, foo6,                           
                        foo7, foo8, foo9,                           
                        fra_mil1, fra_mil2, fra_mil3,                           
                        fra_mil4, lo, loo,                           
                        v23, v77, vk-01,                           
                        vlan1, vlan2   
Virtual Router Totals :   
Total Non-VPN VRFs    :    1    
Total VPN VRFs        :    0   
Total Protocols       :    8    Max Protocols         :    8   
Total Ports           :    18   
Total VLANs           :    32   
Total IPv4 VLANs      :    12   Total IPv6 VLANs      :    8   
Active IPv4 VLANs     :    11   Active IPv6 VLANs     :    8   
Inactive IPv4 VLANs   :    1    Inactive IPv6 VLANs   :    0    

The following example displays detailed information for a VRF:

# show virtual-router xvr   
Virtual Router        : xvr                       Type : Non-VPN VRF   
IPv4 Admin State      : Enabled                   IPv4 Forwarding    : Enabled   
IPv6 Admin State      : Enabled                   IPv6 Forwarding    : Enabled   
Operational State     : Up   
IPv4 Route Sharing    : Enabled                   IPv6 Route Sharing : Disabled   
Parent VR             : VR-Default   
Protocols Configured  :   
--------------------------------------------------------------------   
Protocol    Process      Configuration    Protocol   
Name        Name          Module Name     Instances   
--------------------------------------------------------------------   
BGP         bgp           bgp-3               2   
--------------------------------------------------------------------   
VLANS                 : xlan   
Virtual Router Totals :   
Total Protocols       :    1    Max Protocols         :    8   
Total Ports           :    0   
Total VLANs           :    1   
Total IPv4 VLANs      :    1    Total IPv6 VLANs      :    0   
Active IPv4 VLANs     :    1    Active IPv6 VLANs     :    0   
Inactive IPv4 VLANs   :    0    Inactive IPv6 VLANs   :    0    

The following example displays information for user VR region1:

# show virtual-router   
--------------------------------------------------------------------   
Virtual               Number of    Number of   Flags   
Router                VLANs        Ports   
--------------------------------------------------------------------   
uservr-1                     26            0    bo---m--U46     
  xxx                         1            0    b-------N46   
VR-Control                    0            0    --------S46   
VR-Default                   12           14    bopri-ORS46   
VR-Mgmt                       1            0    --------S46   
--------------------------------------------------------------------   
Flags : Virtual Router Type           
        (S) System, (U) User, (F) Non-VPN VRF, (N) VPN VRF
        (L) Local-only for switch‘s local IP addresses         
        : Virtual Router Admin State           
        (-) Disabled (4) IPv4 Enabled, (6) IPv6 Enabled         
        : Routing protocols configured on the virtual router           
        (b) BGP, (i) ISIS, (m) MPLS, (o) OSPF, (p) PIM, (r) RIP,           
        (O) OSPFv3, (R) RIPng   
System Totals         :   
Total VRs             :     5    Max VRs               :  1066   
Total User VRs        :     1    Max User VRs          :    63   
Total Non-VPN VRFs    :     0    Max VRFs              :  1000   
Total VPN VRFs        :     1    Total System VRs      :     3   
Total Protocols       :    10    Max Protocols         :    64   
Max IPv4 VLANs        :  4096    Max IPv6 VLANs        :  1024   
Total IPv4 VLANs      :    19    Total IPv6 VLANs      :     9   
Active IPv4 VLANs     :    18    Active IPv6 VLANs     :     9   
Inactive IPv4 VLANs   :     1    Inactive IPv6 VLANs   :     0       

Show virtual-router detail for a user created VR 
# show virtual-router "uservr-1"   
Virtual Router        : uservr-1                  Type : User   
IPv4 Admin State      : Enabled     IPv4 Forwarding    : Enabled   
IPv6 Admin State      : Enabled     IPv6 Forwarding    :Enabled   
Operational State     : Up   
IPv4 Route Sharing    : Enabled     IPv6 Route Sharing : Disabled   
L3VPN SNMP Traps      : Disabled   
Protocols Configured  :   
--------------------------------------------------------------------   
Protocol    Process      Configuration    Protocol   
Name        Name          Module Name     Instances   
--------------------------------------------------------------------   
BGP         bgp-5         bgp-5                    2   
OSPF        ospf-5        ospf-5                   1   
MPLS        mpls-5        mpls-5                   1   
--------------------------------------------------------------------   
VRFs Configured       :   
--------------------------------------------------------------------   
Virtual               Flags   
Router   
--------------------------------------------------------------------   
xxx                   b-------N46   
--------------------------------------------------------------------   
Flags : Virtual Router Type           
        (S) System, (U) User, (F) Non-VPN VRF, (N) VPN VRF
        (L) Local-only for switch‘s local IP addresses         
        : Virtual Router Admin State           
        (-) Disabled (4) IPv4 Enabled, (6) IPv6 Enabled         
        : Routing protocols configured on the virtual router           
        (b) BGP, (i) ISIS, (m) MPLS, (o) OSPF, (p) PIM, (r) RIP,           
        (O) OSPFv3, (R) RIPng           

Route Exports into L3VPN (BGP):   
--------------------------------------------------------------------------------   
VPN VRF                             Route Type     Flags        Priority      
    Policy   
--------------------------------------------------------------------------------   
xxx                                 Direct          EO          2048      
    None   
vpn2                                Static          EO           2048      
    None   
--------------------------------------------------------------------------------   
Flags:  (E) Export Enabled, (L) Export Operationally Off due to Low Memory,          
        (O) Export Operationally On           

VLANS                 : foo1, foo10, foo11,                           
                        foo12,foo13, foo14,                           
                        foo15,foo16, foo17,                           
                        foo18,foo19, foo2,                           
                        foo3, foo4,  foo5,                           
                        foo6, foo7,  foo8,                           
                        foo9, lan-uvr-1, lo,                           
                        lo-uvr-1, v77, v88,                           
                        vlan1, vlan2   
Virtual Router Totals :   
Total Non-VPN VRFs    :    0    Total VPN VRFs        :    1   
Total Protocols       :    3    Max Protocols         :    8   
Total Ports           :    0    Total VLANs           :   26   
Total IPv4 VLANs      :    7    Total IPv6 VLANs      :    1   
Active IPv4 VLANs     :    7    Active IPv6 VLANs     :    1   
Inactive IPv4 VLANs   :    0    Inactive IPv6 VLANs   :    0       

Show virtual router for a VPN VRF   t16.2 # sh virtual-router "xxx"   
Virtual Router        : xxx                       Type : VPN VRF   
IPv4 Admin State      : Enabled     IPv4 Forwarding    : Enabled   
IPv6 Admin State      : Enabled 
             IPv6 Forwarding    : Enabled   
Operational State     : Up   
IPv4 Route Sharing    :
        Enabled     IPv6 Route Sharing : Disabled   
Parent VR             : uservr-1   
VPN ID                :   
VPN RD                : 1:1   
Export RT             : 1:1   
Import RT             : 1:1   
Protocols Configured  :   
--------------------------------------------------------------------   
Protocol    Process      Configuration    Protocol   
Name        Name          Module Name     Instances   
--------------------------------------------------------------------   
BGP         bgp-5         bgp-3                    2   
--------------------------------------------------------------------       
Route Exports into L3VPN (BGP):   
--------------------------------------------------------------------------------   
VPN VRF                             Route Type     Flags        Priority      
    Policy  
--------------------------------------------------------------------------------   
xxx                                 Direct         EO           2048      
    None   
--------------------------------------------------------------------------------   
Flags: (E) Export Enabled, (L) Export Operationally Off due to Low Memory,          
       (O) Export Operationally On       
VLANS                 : xlan   
Virtual Router Totals :   
Total Protocols       :     1    Max Protocols        :     8   
Total Ports           :     0    Total VLANs          :     1   
Total IPv4 VLANs      :     1    Total IPv6 VLANs     :     0   
Active IPv4 VLANs     :     1    Active IPv6 VLANs    :     0   
Inactive IPv4 VLANs   :     0    Inactive IPv6 VLANs  :     0    

The current and configured values for max-gateways now apply to IPv6 gateway sets as well as IPv4, so these values are added to the output of show ipconfig ipv6.

# show virtual-router      
Virtual                                  Number of     Number of Flags          
Router                                    VLANs          Ports                       
--------------------------------------------------------------------------------   
VR-Boston                                     2            2    --------U46    
VR-Control                                    0            0    --------S46    
VR-Default                                    1          278    boprimORS46    
VR-Mgmt                                       1            0    --------S46    
--------------------------------------------------------------------------------   
Flags : Virtual Router Type           
(S) System, (U) User, (F) Non-VPN VRF, (N) VPN VRF
(L) Local-only for switch‘s local IP addresses         
: Virtual Router Admin State           
(-) Disabled (4) IPv4 Enabled, (6) IPv6 Enabled         
: Routing protocols configured on the virtual router           
(b) BGP, (i) ISIS, (m) MPLS, (o) OSPF, (p) PIM, (r) RIP,           
(O) OSPFv3, (R) RIPng   
System Totals         :   
Total VRs             :     4    Max          VRs               :   256   
Total User VRs        :     1    Max          User VRs          :    63   
Total Non-VPN VRFs    :     0    Max          VRFs              :   190   
Total VPN VRFs        :     0   
Total System VRs      :     3   
Total Protocols       :     8    
Max Protocols         :    64   
Max IPv4 VLANs        :   512    Max          IPv6 VLANs         :   512   
Total IPv4 VLANs      :     0              Total IPv6 VLANs      :     0   
Active IPv4 VLANs     :     0              Active IPv6 VLANs     :     0   
Inactive IPv4 VLANs   :     0              Inactive IPv6 VLANs   :     0  
Max Shared GWs (Cur)  :    32              Max Shared GWs (Cfg)  :    32     

History

A command similar to this command was available in ExtremeXOS 10.1 (show vr).

This command was first available in ExtremeXOS 11.0.

Support for non-VPNVRFs was added in ExtremeXOS 12.5.

The show output for max-gateways was added in ExtremeXOS 15.3.

The "L" flag was added in ExtremeXOS 22.6 to signify local-only VRs.

Platform Availability