Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

Monitoring the VRF

Purpose

Display information about the VRFs in this virtual router: the route target of each VRF and the interfaces attached to each VRF.

Action

To display all VRFs in this virtual router:

host1#show ip vrf
VRF Name        Default RD         Interfaces
 vpn1           1:1                null0
                                   atm4/0.77
 vpn2           1:3                null0
                                   fastEthernet3/0
                                   atm4/0.21

To display brief information about a specified VRF, specify a VRF name:

host1#show ip vrf vpn1
VRF Name        Default RD         Interfaces
 vpn1           1:1                null0
                                   atm4/0.77

To display detailed information about a specified VRF:

host1:pe1#show ip vrf detail
VRF  pe11; Default RD 100:11
  VRF IP Router Id: 10.11.11.1
  Default TTL: 127
  Reassemble Timeout: 30
  Interface Configured: 
    null0  ATM2/0.11   tun mpls:vpnEgL17-3  ip dyn-24  
  Import VPN Route Target Extended Communities: 
     100:1 
  Export VPN Route Target Extended Communities: 
     100:1 
  IPv4 Import Route-map: my-v4-import-map
  IPv6 Import Route-map: my-v6-import-map
  IPv4 Export Route-map: my-v4-export-map (cannot filter routes)
  IPv6 Export Route-map: my-v6-export-map (can filter routes)
  IPv4 Global Import Route-map: my-v4-global-import-map (max routes 5000)
  IPv6 Global Import Route-map: my-v6-global-import-map (max routes 1000)
  IPv4 Global Export Route-map: my-global-v4-export-map
  IPv6 Global Export Route-map: my-global-v6-export-map
  VRF  pe12; Default RD 100:12
  VRF IP Router Id: 10.12.12.1
  Default TTL: 127
  Reassemble Timeout: 30
  Interface Configured: 
    null0  ATM2/0.12   tun mpls:vpnEgL18-4  ip dyn-25  
  Import VPN Route Target Extended Communities: 
     100:2 
  Export VPN Route Target Extended Communities: 
     100:2 
  Import Route-map : importmap1
  Export Route-map : exportmap23 (can filter routes)
  Global Import Route-map : globalimportmap2
  Global Export Route-map : globalexportmap3
  VRF  pe13; Default RD 100:13
  VRF IP Router Id: 10.13.13.1
  Default TTL: 127
  Reassemble Timeout: 30
  Interface Configured: 
    null0  ATM2/0.13 tun mpls:vpnEgL19-5 ip dyn-26
  Import VPN Route Target Extended Communities: 
     100:3 
  Export VPN Route Target Extended Communities: 
     100:3 
  No Import Route-map 
  No Export Route-map 
  No Global Import Route-map 
  No Global Export Route-map 

To display summary information about all interfaces associated with all VRFs configured in a virtual router:

host1:PE1#show ip vrf interfaces
Interface              IP-Address        Status Protocol   VRF
null0                  255.255.255.255/32  up         up   pe11
atm4/0.134             4.4.4.2/24          up         up   pe11
null0                  255.255.255.255/32  up         up   pe12
ip0                    6.6.6.8/24          up         up   pe12
null0                  255.255.255.255/32  up         up   pe13
loopback1              7.7.7.2/24          up         up   pe13

To display detailed information about the interfaces:

host1:PE1#show ip vrf interfaces detail
null0 is up, line protocol is up
  VRF: pe11
  Link up/down trap is disabled
  Internet address is 255.255.255.255/255.255.255.255
IP statistics:
  Rcvd:  0 local destination
         0 hdr errors, 0 addr errors
         0 unkn proto, 0 discards
  Frags: 0 reasm ok, 0 reasm req, 0 reasm fails
         0 frag ok, 0 frag creates, 0 frag fails
  Sent:  0 generated, 0 no routes, 0 discards
ICMP statistics:
  Rcvd:  0 errors, 0 dst unreach, 0 time exceed
         0 param probs, 0 src quench, 0 redirect,
         0 echo req, 0 echo rpy
         0 timestmp req, 0 timestmp rpy
         0 addr mask req, 0 addr mask rpy
  Sent:  0 errors, 0 dst unreach, 0 time excd
         0 param probs, 0 src qnch, 0 redirect
         0 timestamp req, 0 timestamp rpy
         0 addr mask req, 0 addr mask rpy
atm4/0.134 is up, line protocol is up                                          
  VRF: pe11
  Link up/down trap is disabled
  Internet address is 4.4.4.2/255.255.255.0
IP statistics:
  Rcvd:  0 local destination
         0 hdr errors, 0 addr errors
         0 unkn proto, 0 discards
  Frags: 0 reasm ok, 0 reasm req, 0 reasm fails
         0 frag ok, 0 frag creates, 0 frag fails
  Sent:  0 generated, 0 no routes, 0 discards
ICMP statistics:
  Rcvd:  0 errors, 0 dst unreach, 0 time exceed
         0 param probs, 0 src quench, 0 redirect,
         0 echo req, 0 echo rpy
         0 timestmp req, 0 timestmp rpy
         0 addr mask req, 0 addr mask rpy
  Sent:  0 errors, 0 dst unreach, 0 time excd
         0 param probs, 0 src qnch, 0 redirect
         0 timestamp req, 0 timestamp rpy
         0 addr mask req, 0 addr mask rpy
In Received Packets 0, Bytes 0
    Unicast Packets 0, Bytes 0
    Multicast Packets 0, Bytes 0
  In Forwarded Packets 0, Bytes 0
  In Total Dropped Packets 0, Bytes 0
    In Policed Packets 0
    In Invalid Source Address Packets 0
    In Error Packets 0
    In Discarded Packets 0
    In Fabric Dropped Packets 0
  Out Forwarded Packets 0, Bytes 0
    Unicast Packets 0, Bytes 0
    Multicast Packets 0, Bytes 0
  Out Requested Packets 0, Bytes 0
  Out Total Dropped Packets 0, Bytes 0
    Out Scheduler Drops Committed Packets 0, Bytes 0
    Out Scheduler Drops Conformed Packets 0, Bytes 0
    Out Scheduler Drops Exceeded  Packets 0, Bytes 0
    Out Policed Packets 0
    Out Discarded Packets 0
    Out Fabric Dropped Packets 0 

Meaning

Table 1 lists the show ip vrf command output fields.

Table 1: show ip vrf Output Fields

Field Name

Field Description

VRF Name

Name of each VRF

Default RD

Default route distinguisher for the VRF

Interfaces

Interfaces configured for the VRF

VRF

Name of the VRF

VRF IP Router Id

IP address that uniquely identifies the router

Default TTL

Time to live value in the IP header

Reassemble Timeout

Value to time out reassembled packets

Interface Configured

Interface configured for the VRF

Import VPN Route Target Extended Communities

List of VPNs from which the VRF accepts routing information

Export VPN Route Target Extended Communities

List of VPNs to which the VRF sends update messages

Import Route-map

Route map associated with the VRF that filters and modifies routes imported to the VRF from the global BGP VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes)

Export Route-map

Route map associated with the VRF that modifies and filters routes exported by the VRF to the global BGP VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes). The can filter routes text appears only if the filter keyword was issued for export map.

Global Import Route-map

Route map associated with the VRF that modifies routes imported to the VRF from the global BGP non-VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies to only IPv4 routes) or IPv6 (applies to only IPv6 routes).

Global Export Route-map

Route map associated with the VRF that modifies routes exported by the VRF to the global BGP non-VPN RIB. The map applies to both IPv4 and IPv6 routes, unless the field name is preceded by IPv4 (applies the map to only IPv4 routes) or IPv6 (applies the map to only IPv6 routes).

IP-Address

IP address of the interface

Status

Status of the interface

Protocol

Status of the line protocol

In Forwarded Packets, Bytes

Number of packets and bytes forwarded into an output IP interface

In Total Dropped Packets, Bytes

Total number of packets and bytes discarded on a receive IP interface

In Discarded Packets

Number of packets discarded on the ingress interface because of a configuration problem rather than a problem with the packet itself

In Fabric Dropped Packets

Number of packets discarded on a receive IP interface because of internal fabric congestion

Out Requested Packets, Bytes

Number of packets and bytes requested to be forwarded out an IP interface

Out Total Dropped Packets, Bytes

Total number packets and bytes dropped by an IP interface on output

Out Discarded Packets

Number of packets discarded on the egress interface because of a configuration problem rather than a problem with the packet itself

Out Fabric Dropped Packets

Number of packets dropped because of internal fabric congestion

VRF

Name of the VRF with which the interface is associated

IP Statistics Rcvd

local destination

Frames with this router as their destination

hdr errors

Number of packets containing header errors

addr errors

Number of packets containing addressing errors

unkn proto

Number of packets received containing unknown protocols

discards

Number of discarded packets

IP Statistics Frags

reasm ok

Number of reassembled packets

reasm req

Number of requests for reassembly

reasm fails

Number of reassembly failures

frag ok

Number of packets fragmented successfully

frag creates

Number of frames requiring fragmentation

frag fails

Number of packets unsuccessfully fragmented

IP Statistics Sent

generated

Number of packets generated

no routes

Number of packets that could not be routed

discards

Number of packets that could not be routed that were discarded

ICMP Statistics Rcvd

errors

Number of error packets received

dst unreach

Number of packets received with destination unreachable

time exceed

Number of packets received with time-to-live exceeded

param probs

Number of packets received with parameter error

src quench

Number of source quench packets received

redirect

Number of receive packet redirects

echo req

Number of echo request (PING) packets

echo rpy

Number of echo replies received

timestamp req

Number of requests for a timestamp

timestamp rpy

Number of replies to timestamp requests

addr mask req

Number of address mask requests

addr mask rpy

Number of address mask replies

ICMP Statistics Sent

errors

Number of error packets sent

dst unreach

Number of packets sent with destination unreachable

time exceed

Number of packets sent with time-to-live exceeded

param probs

Number of packets sent with parameter error

src quench

Number of source quench packets sent

redirect

Number of send packet redirects

timestamp req

Number of requests for a timestamp

timestamp rpy

Number of replies to timestamp requests

addr mask req

Number of address mask requests

addr mask rpy

Number of address mask replies

 

Related Documentation

 

Modified: 2014-08-12

 

Related Documentation

 

Modified: 2014-08-12