C613-50102-01 REV C
Command Reference for x510 Series
2366
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
SNMP C
OMMANDS
SNMP
-
SERVER
snmp-server
Overview
Use this command to enable the SNMP agent (server) on the device. The SNMP
agent receives and processes SNMP packets sent to the device, and generates
notifications (traps) that have been enabled by the
Use the
no
variant of this command to disable the SNMP agent on the device.
When SNMP is disabled, SNMP packets received by the device are discarded, and
no notifications are generated. This does not remove any existing SNMP
configuration.
Syntax
snmp-server [ip|ipv6]
no snmp-server [ip|ipv6]
Default
By default, the SNMP agent is enabled for both IPv4 and IPv6. If neither the
ip
parameter nor the
ipv6
parameter is specified for this command, then SNMP is
enabled or disabled for both IPv4 and IPv6.
Mode
Global Configuration
Examples
To enable SNMP on the device for both IPv4 and IPv6, use the commands:
awplus#
configure terminal
awplus(config)#
snmp-server
To enable the SNMP agent for IPv4 on the device, use the commands:
awplus#
configure terminal
awplus(config)#
snmp-server ip
To disable the SNMP agent for both IPv4 and IPv6 on the device, use the
commands:
awplus#
configure terminal
awplus(config)#
no snmp-server
To disable the SNMP agent for IPv4, use the commands:
awplus(config)#
no snmp-server ipv4
Parameter
Description
ip
Enable or disable the SNMP agent for IPv4.
ipv6
Enable or disable the SNMP agent for IPv6.