#configure terminal | Enter configure mode. |
(config)#snmp-server view all .1 included vrf management | Creates SNMP view labeled as “all” for OID-Tree as “.1” for vrf management. |
(config)#snmp-server community test group network-operator vrf management | Set community string as “test” for group of users having “network-operator” privilege. |
(config)#snmp-server host 10.12.6.63 traps version 2c test udp-port 162 vrf management | Specify host “10.12.6.63” to receive SNMP version 2 notifications at udp port number 162 with community string as “test”. |
(config)#snmp-server enable snmp vrf management | Use this command to start the SNMP agent. |
(config)#exit | Exit configure mode. |