-
SNMP v1/v2
-
To get the view and ACL information
-
"term length 0”
-
"show run | include community"
-
"show run"
-
-
"conf t"
-
"snmp-server community <newSnmpCommunity> <view> <community string type> <acl>”
-
"no snmp-server community <oldSnmpCommunity>”
-
“exit”
-
-
Account
-
"term length 0"
-
“show run"
-
"config term"
-
"username <username> password <password> role <userLevel>”
-
"username <username> password <password>
-
"no username <oldUser>”
-
“exit”
-
-
Privilege
-
"term length 0"
-
"sh run"
-
"conf t"
-
"no enable secret level <level>”
-
"no enable password level <level>”
-
"enable secret level < level> <newPrivPass>”
-
"enable password level <level> <newPrivPass>”
-
“exit”
-
-
SNMP V3
-
"config terminal"
-
"snmp-server user <securityName> network-admin <authProtPart+privPassPart>”
-
"no snmp-server user <oldsn>”
-