vni-counters

Enable VXLAN Network Identifier (VNI) counters for a VXLAN overlay-gateway.
Syntax
vni-counters vni vni-id [ stats ] [ detailed ]
no vni-counters vni vni-id [ stats ] [ detailed ]
Command Default

VNI counters are disabled for an overlay-gateway.

Parameters
vni vni-id
Starts the VNI that will be mapped to the VLAN. Valid values range from 1 through 16777215.
stats
Enables VFI counters for the VNI.
detailed
Specifies that statistics from Access Virtual Ports are also collected, along with the VNI counters.
Modes

Overlay-gateway configuration mode

Usage Guidelines

VNI counters can be enabled for a maximum of 10 VNIs at a time.

The no form of the command disables VNI counters for the VXLAN overlay-gateway.

Examples

The following example enables VNI counters for a VXLAN overlay-gateway. It also enables VFI counters for the VNI. Statistics from Access Virtual Ports are also collected.

device# configure terminal
device(config)# overlay-gateway gate1
device(config-overlay-gw-gate1)# vni-counters vni 30000 stats detailed
History
Release version Command history
09.0.10b This command was introduced.