Displays information about VRs and VRFs.
| name | Specifies the name of a VR or VRF. |
N/A.
The following example displays the VR and VRF configurations on the switch:
Switch.19 # 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
: 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:
Switch.20 # 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
: 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:
t15.3 # 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:
t16.1 # 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
: 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
t16.3 # sh 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
: 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
: 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
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.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X870, X440-G2, X620 series switches.