snmp-server vrf

Syntax

snmp-server vrf没有snmp-server vrf

描述

Configures the VRF on which the SNMP agent listens for incoming requests. By default, the SNMP agent does not listen on any VRF.

The没有这个命令停止s the SNMP agent from listening for incoming requests on the specified VRF.

Command context

config

Parameters

Specifies the VRF on which the SNMP agent listens for incoming requests. The SNMP agent can listen on either themgmtordefaultVRF. If configured for both, the SNMP agent listens ondefault, which has a higher priority.

权威

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

Example

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