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: Routing protocols configured on the Virtual Router
        (b) BGP, (i) ISIS, (m) MPLS, (o) OSPF, (O) OSPFv3, (p) PIM,
        (r) RIP, (R) RIPng.
       Virtual Router type
        (D) Dynamically created user VR, (F) Non-VPN VRF, (N) VPN VRF,
        (S) System, (U) User.
       Virtual Router admin state
        (-) Disabled (4) IPv4 Enabled, (6) IPv6 Enabled.
  
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 vr VR-Default
Virtual Router        : VR-Default                Type : System
Description           : Default VR
Operational State     : Up
IPv4 Admin State      : Enabled     IPv6 Admin State   : Enabled
IPv4 Route Sharing    : Disabled    IPv6 Route Sharing : Disabled
L3VPN SNMP Traps      : Disabled
Protocols Configured  :
--------------------------------------------------------------------------------
Protocol    Process       Configuration    Protocol
Name        Name          Module Name      Instances
--------------------------------------------------------------------------------
BGP         bgp           bgp                      1
OSPF        ospf          ospf                     1
PIM         pim           pim                      1
RIP         rip           rip                      1
ISIS        isis          isis                     1
OSPFv3      ospfv3        ospfv3                   1
RIPng       ripng         ripng                    1
--------------------------------------------------------------------------------
Port List             : 1-34
VLANs                 : Default
Virtual Router Totals :
Total Protocols       :     7    Max Protocols         :     8
Total Ports           :    34
Total VLANs           :     1
Total IPv4 VLANs      :     0    Total IPv6 VLANs      :     0
Active IPv4 VLANs     :     0    Active IPv6 VLANs     :     0
Inactive IPv4 VLANs   :     0    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 to signify local-only VRs in ExtremeXOS 22.6.

The "D" flag was added to show if a VR is created dynamically in ExtremeXOS 30.4.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.