mac

Commands for Basic Switch Configuration
74
1.4.19 snmp-server securityip
Command: snmp-server securityip {enable | disable}
Function: Enable/disable the security IP address authentication on NMS management
station.
Command Mode: Global Mode
Default: Enable the security IP address authentication function.
Example:
Disable the security IP address authentication function.
Switch(config)#snmp-server securityip disable
1.4.20 snmp-server trap-source
Command: snmp-server trap-source {<ipv4-address> | <ipv6-address>}
no snmp-server trap-source {<ipv4-address> | <ipv6-address>}
Function: Set the source IPv4 or IPv6 address which is used to send trap packet, the no
command deletes the configuration.
Parameter: <ipv4-address>: IPv4 address is used to send trap packet in dotted
decimal notation
<ipv6-address>: IPv6 address is used to send trap packet in colon
hexadecimal.
Command Mode: Global Mode.
Usage Guide: If there is no configuration, select the source address according to the
interface address sent by actual trap packet, when configure the IP address, adopt the
configured source address as the source address of trap packet.
Example:
Set the IP address which is used to send trap packet.
Switch(config)#snmp-server trap-source 1.1.1.5
Delete the configured source address which is used to send IPv6 trap packet.
Switch(config)#no snmp-server trap-source 2001::1
1.4.21 snmp-server user
Command: snmp-server user <use-string> <group-string> [{authPriv | authNoPriv}
auth {md5 | sha} <word>] [access {<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>}]
Function: Add a new user to an SNMP group; the "no” form of this command deletes