Enterasys Networks XSR CLI Router User Manual


 
snmp-server Commands
1-22 Network Management
snmp-server host
ThiscommandspecifieshostparametersoftheSNMPserver;itaddsanewmanagementstation
tosendtrapsto.Iftheaddressalreadyexists,thecommandwillupdatetheserver’sconfiguration
whichisstoredinthesnmpTargetMIBdefinedbyRFC2573.
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
Thenoformremovesthe sp ecifiedhostfromthelistofhoststhattheXSRsenttrapsto:
no snmp-server host host ip-addr
Mode
Globalconfiguration:XSR(config)#
Defaults
•Traptype:SNMP,entity,framerelay
•UDPport:162
ip-addr
IPaddressofthetargetrecipient.
traps
SendsSNMPtrapstothishost.
informs
SendsInformnotifications.
version
Thesecuritymodelused.
2c
Version2csecuritymodelused.Thisallowsthetransmissionofinforms
andcounter64values.
3
Version3securitymodel(USM)used.
auth
Authenticationwithoutencryption.
noauth
Noauthenticationorencryption.
priv
Authenticationwithencryption.
community-
stringOrUser
Passwordlikecommunitystringtobeusedwithforversions 1and2c.
Usernamewhenusingversion3securitymodel.
udp-port
SpecifiestheUDPportofthehosttouse.
port
TheUDPportnumberofthehost.
notification-
type
ThetypeoftraptobesentincludingBGP,entity,framerelay,ospf,and
snmptraps.
Note: You can configure up to 20 hosts.