Configuration Guide Vol. 3


35.3.2 Checking VRF info

You can use show ip vrf command. You can check IPv4 routing information of VRF and the status of IPv4 interfaces. You can also use show ipv6 vrf to check IPv6 routing information of VRF and the status of IPv6 interfaces.

Figure 35-9: Result of executing show ip vrf command
> show ip vrf 2
Date 20XX/12/10 12:00:00 UTC
VRF              Routes        ARP
2                270/500       7/50
>
Figure 35-10: Result of executing show ip vrf detail command
> show ip vrf 2 detail
Date 20XX/12/10 12:00:00 UTC
VRF 2
  Maximum routes: 500, Warn threshold: 70%, Current routes: 270
  Maximum ARP entries: 50, Current ARP entries: 7
  Import inter-vrf: -
Interface
Name           Local              Remote          Status
VLAN0010       192.168.10.1/24    192.168.10.255  Up
loopback2      127.0.0.1/8        127.0.0.1       Up
loopback2      192.168.0.2/32     192.168.0.2     Up
>
Figure 35-11: Result of executing show ipv6 vrf command
> show ipv6 vrf 2
Date 20XX/12/10 12:00:00 UTC
VRF              Routes          Neighbor
2                200/400         7/50
>
Figure 35-12: Result of executing show ipv6 vrf detail command
> show ipv6 vrf 2 detail
Date 20XX/12/10 12:00:00 UTC
VRF 2
  Maximum routes: 400, Warn threshold: 70%, Current routes: 200
  Maximum Neighbor entries: 50, Current Neighbor entries: 7
  Import inter-vrf: -
Interface
Name           Address                                     Status
VLAN0010       2001:db8:10::1/64                           Up
VLAN0010       fe80::212:e2ff:fe20:b000%VLAN0010/64        Up
loopback2      ::1/128                                     Up
loopback2      2001:db8::2/128                             Up
loopback2      fe80::1%loopback2/64                        Up
>

You can use show vlan command. You can check VRF to which VLAN belongs.

Figure 35-13: Result of executing show vlan command
> show vlan 10
Date 20XX/12/10 12:00:00 UTC
VLAN counts:1
VLAN ID:10    Type:Port based      Status:Up
  Learning:On            Tag-Translation:
  BPDU Forwarding:       EAPOL Forwarding:
  Router Interface Name:VLAN0010
  VRF:2
  IP Address:192.168.10.1/24
             2001:db8:10::1/64
             fe80::212:e2ff:fe22:9db3/64
  Source MAC address: 0012.e222.9db3(System)
  Description:VLAN0010
  Spanning Tree:PVST+(802.1D)
  AXRP RING ID:      AXRP VLAN group:
  GSRP ID:      GSRP VLAN group:    L3:
  IGMP snooping:     MLD snooping:
  Untagged(8)   :1/0/5-12
  Tagged(2)     :1/0/25-26
>