snmp-server enable traps vrfmib
To allow SNMP vrfmib traps, use the snmp-server enable traps vrfmib command in global configuration
mode. Use the no form of this command to return to the default setting.
snmp-server enable traps vrfmib [vnet-trunk-down | vnet-trunk-up | vrf-down | vrf-up]
no snmp-server enable traps vrfmib [vnet-trunk-down | vnet-trunk-up | vrf-down | vrf-up]
Syntax Description
(Optional) Enables vrfmib trunk down traps.vnet-trunk-down
(Optional) Enables vrfmib trunk up traps.vnet-trunk-up
(Optional) Enables vrfmib vrf down traps.vrf-down
(Optional) Enables vrfmib vrf up traps.vrf-up
Command Default
The sending of SNMP vrfmib traps is disabled.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
Specify the host (NMS) that receives the traps by using the snmp-server host global configuration command.
If no trap types are specified, all trap types are sent.
Informs are not supported in SNMPv1.Note
To enable more than one type of trap, you must enter a separate snmp-server enable traps command for
each trap type.
Examples
This example shows how to generate vrfmib trunk down traps:
Device(config)# snmp-server enable traps vrfmib vnet-trunk-down
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
557
snmp-server enable traps vrfmib