Snmp-server – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1794
![background image](/manuals/427254/1794/background.png)
SNMP Commands
Software Reference for x310 Series Switches
68.12
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Related Commands
show interface
snmp trap link-status
snmp-server
Use this command to enable the SNMP agent (server) on the switch. The SNMP agent
receives and processes SNMP packets sent to the switch, and generates notifications
(traps) that have been enabled by the
snmp-server enable trap command on page 68.19
Use the no variant of this command to disable the SNMP agent on the switch. When SNMP
is disabled, SNMP packets received by the switch 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 switch for both IPv4 and IPv6, use the commands:
To enable the SNMP agent for IPv4 on the device, use the commands:
To disable the SNMP agent for both IPv4 and IPv6 on the switch, use the commands:
To disable the SNMP agent for IPv4, use the commands:
Related Commands
show snmp-server
show snmp-server community
show snmp-server user
snmp-server community
snmp-server contact
snmp-server enable trap
snmp-server engineID local
Parameter
Description
ip
Enable or disable the SNMP agent for IPv4.
ipv6
Enable or disable the SNMP agent for IPv6.
awplus#
configure terminal
awplus(config)#
snmp-server
awplus#
configure terminal
awplus(config)#
snmp-server ip
awplus#
configure terminal
awplus(config)#
no snmp-server
awplus(config)#
no snmp-server ipv4