Allied Telesis AT-IFS802SP Switch User Manual


 
91AT-IFS802SP/POE(W)-80 User Manual
SNMP Commands Set
Allied Telesis Commands Level Description Example
snmp system-name
[System Name]
G
Set SNMP agent system
name
switch(cong)#snmpsystem-namel2switch
snmp system-location
[System Location]
G
Set SNMP agent system
location
switch(cong)#snmpsystem-locationlab
snmp system-contact
[System Contact]
G
Set SNMP agent system
contact
switch(cong)#snmpsystem-contact
where
snmp agent-mode
[v1v2c|v3|v1v2cv3]
G
Select the agent mode of
SNMP
switch(cong)#snmpagent-modev1v2cv3
snmp community-
strings [Community]
right
[RO/RW]
G
Add SNMP community
string.
switch(cong)#snmpcommunity-strings
public right rw
snmp-server host
[IP address]
community
[Community-string]
trap-version
[v1|v2c]
G
CongureSNMPserver
host information and
community string
switch(cong)#snmp-serverhost
192.168.1.50 community public trap-
version v1
(remove)
Switch(cong)#
no snmp-server host
192.168.1.50
snmpv3 context-name
[Context Name ]
G Congurethecontextname switch(cong)#snmpv3context-nameTest
snmpv3 user
[User Name]
group
[Group Name]
password
[Authentication
Password] [Privacy
Password]
G
Conguretheuserprole
for SNMPV3 agent. Privacy
password could be empty.
switch(cong)#snmpv3usertest01group
G1 password AuthPW PrivPW
snmpv3 access
context-name
[Context Name ]
group
[Group Name ]
security-level
[NoAuthNoPriv|Auth
NoPriv|AuthPriv]
match-rule
[Exact|Prix]
views
[Read View Name]
[Write View Name]
[Notify View Name]
G
Conguretheaccesstable
of SNMPV3 agent
switch(cong)#snmpv3accesscontext-
name Test group G1 security-level AuthPriv
match-rule Exact views V1 V1 V1