vpn-statistics

Enables VPN statistics for a VRF.

Syntax

vpn-statistics
no vpn-statistics

Command Default

No RD is assigned to the VRF.

Parameters

as-num
Composed of the local ASN number followed by a colon ":" and a unique arbitrary number. For example 3:6.
ip-num:id
Composed of the local IP address followed by a colon ":" and a unique arbitrary number.

Modes

VRF configuration mode

Usage Guidelines

The no form of the command returns to the default setting.

Examples

The following example shows how to enable VPN statistics for a VRF.

device# configure terminal
device(config)# vrf vpn1
device#(config-vrf-vpn1)# rd 1:2
device#(config-vrf-vpn1)# vpn-statistics