Use this command to create, disable or enables a MIB-II interface mapping to a VLAN.
vlan-list | Specifies the VLAN(s) for which a MIB-II interface entry will be created, disabled or enabled. |
create | disable | enable | Creates, disables or enables an interface entry. |
volatile | (Optional) When the create keyword is used, stores the entry as a volatile entry. Volatile entries are lost when a system is reset. Non-volatile entries are saved in NVRAM and are persistent until cleared. |
If volatile is not specified, entries will be created as nonvolatile.
All command modes.
This command results in the creation of a VTAP port. A VTAP port provides the data source input of a port mirror or SMON statistics collection. VTAP creation is the mechanism for adding a MIB-II interface table entry for a VLAN. The specified VLAN is assigned a MIB-II ifIndex. A VLAN will not have a MIB-II ifIndex if a VTAP port does not exist for it. You must first create a VTAP port before creating a port mirror.
This example shows how to create a non-volatile MIB-II interface entry mapped to VLAN 1:
System(rw)->set vlan interface 1 create System(rw)->show vlan interface 1 VLAN MIB-II Interfaces Max Interfaces : 16 Current Interfaces : 1 VLAN Port Storage Type ------------------------------------- 1 vtap.0.1 non-volatile System(rw)->