snmp-server vrf

Syntax

snmp-server vrf没有snmp-server vrf

描述

Configures a VRF on which the SNMP agent listens for incoming requests. By default, the SNMP agent does not listen on any VRF. The SNMP agent can listen on multiple VRFs.

The没有这comman形式d stops the SNMP agent from listening for incoming requests on the specified VRF.

Command context

config

Parameters

Specifies the name of a VRF.

权威

Administrators or local user group members with execution rights for this command.

Examples

Configuring the SNMP agent to listen on VRFdefault.

switch(config)#snmp-server vrf default

Configuring the SNMP agent to listen on VRFmgmt.

switch(config)#snmp-server vrf mgmt

Configuring the SNMP agent to listen on used-defined VRFmyvrf.

switch(config)#snmp-server vrf myvrf

Stopping the SNMP agent from listening on VRFdefault.

switch(config)#没有snmp-server vrf default