Global configuration mode
Example
switch(config)# snmp-server trap
7.2.4
snmp-server community
Command Description
community
// The command is used to configure the authentication name and permission.
Parameter
ro: read only
rw: read and write
Default
public
Command Mode
Global configuration mode
Example
//This command is used to configure a switch.
switch(config)#snmp-server community ro 111
//The authentication name is 123 and the permission is read only.
7.2.5
snmp host
Command Description
snmp-server sysname
//This command is used to configure the host name.
Parameter
None
Default
None
Command Mode
Global configuration mode
Example
switch(config)#snmp-server sysname 1111
// It indicates that the host name is 1111.
7.2.6
snmp-server user
Command Description