Snmp-server host – Enterasys Networks X-Pedition XSR CLI User Manual
Page 36
snmp-server Commands
1-22 Network Management
snmp-server host
This command specifies host parameters of the SNMP server; it adds a new management station
to send traps to. If the address already exists, the command will update the server’s configuration
which is stored in the snmpTarget MIB defined by RFC‐2573.
Syntax
snmp-server host ip-addr {traps | informs version {2c | 3 [{auth | noauth | priv}]]
community-stringOrUser [udp-port port][notification-type]
Syntax of the “no” Form
The no form removes the specified host from the list of hosts that the XSR sent traps to:
no snmp-server host host ip-addr
Mode
Global configuration:
XSR(config)#
Defaults
•
Trap‐type: SNMP, entity, frame‐relay
•
UDP port: 162
ip-addr
IP address of the target recipient.
traps
Sends SNMP traps to this host.
informs
Sends Inform notifications.
version
The security model used.
2c
Version 2c security model used. This allows the transmission of informs
and counter64 values.
3
Version 3 security model (USM) used.
auth
Authentication without encryption.
noauth
No authentication or encryption.
priv
Authentication with encryption.
community-
stringOrUser
Password‐like community string to be used with for versions
1 and 2c.
User name when using version 3 security model.
udp-port
Specifies the UDP port of the host to use.
port
The UDP port number of the host.
notification-
type
The type of trap to be sent including BGP, entity, frame‐relay, ospf, and
snmp traps.
Note: You can configure up to 20 hosts.