Configures SNMP Listening Service on a
VRF. SNMP listening service over mgmt-vrf
and default-vrf
will be
enabled by default. Also the Listening service enable/disable related CLI is applicable for SNMP
Get related operations and it will not impact notification operations.
default-vrf
or mgmt-vrf
Global configuration mode
Use the snmp-server
command with the
use-vrf
parameter to enable the SNMP Listening Service and associate it with the specified
VRF. The
use-vrf
parameter configures the SNMP service for not only the specified user-defined VRF
but also for default-vrf
and mgmt-vrf
. The service
for that VRF is enabled or disabled with no effect on service for other VRFs.
Use the snmp-server command with the use-vrf and shutdown parameters to disable SNMP Listening Service for the specified VRF.
Use the no snmp-server command with the use-vrf parameter to disable the SNMP Listening Service and remove its association with the specified VRF. You can disable service for any VRF, including the management VRF. Disabling service for the management VRF is allowed, but removing the server's association with the management VRF is not allowed.
The following example creates and enables the SNMP Listening Service on a user-defined
VRF or default-vrf
.
device# configure terminal SLX(config)# snmp-server use-vrf vrf-name
The following example disables the SNMP Listening Service on a user-defined VRF or
default-vrf
or mgmt-vrf
.
device# configure terminal device(config)# snmp-server use-vrf vrf-name shutdown
The following example enables the SNMP Listening Service on a user-defined VRF, or
default-vrf
or mgmt-vrf
.
device# configure terminal device(config)# no snmp-server use-vrf vrf-name shutdown
The following command will delete the SNMP service over the specified VRF.
device# configure terminal SLX(config)# no snmp-server use-vrf vrf-name