
Basic Switch Configuration
46
{
<num-std>
|
<name>
}]
[ipv6-access
{
<ipv6-num-std>
|
<ipv6-name>
}]
no snmp-server user
<user-string>
[access
{
<num-std>
|
<name>
}]
[ipv6-access
{
<ipv6-num-std>
|
<ipv6-name>
}]
6.
Configure group
Command
Explanation
Global Mode
snmp-server
group
<group-string>
{noauthnopriv|authnopriv|authpriv}
[[read
<read-string>
]
[write
<write-string>
] [notify
<notify-string>
]]
[access
{
<num-std>
|
<name>
}]
[ipv6-access
{
<ipv6-num-std>
|
<ipv6-name>
}]
no snmp-server group
<group-string>
{noauthnopriv|authnopriv|authpriv}
[access
{
<num-std>
|
<name>
}]
[ipv6-access
{
<ipv6-num-std>
|
<ipv6-name>
}]
Set the group information on the switch.
This command is used to configure VACM
for SNMP v3.
7. Configure view
Command
Explanation
Global Mode
snmp-server
view
<view-string>
<oid-string>
{include|exclude}
no snmp-server view
<view-string>
[
<oid-string>
]
Configure view on the switch. This
command is used for SNMP v3.
8.
Configuring TRAP
Command
Explanation
Global Mode
snmp-server enable traps
no snmp-server enable traps
Enable the switch to send Trap message.
This command is used for SNMP v1/v2/v3.
snmp-server host {
<host-ipv4-address>
Set the host IPv4/IPv6 address which is