mac

Commands for Basic Switch Configuration
73
NoauthNopriv | AuthNopriv | AuthPriv is the safety level v3 trap is
applied, which may be non encrypted and non authentication, non
encrypted and authentication, encrypted and authentication.
<user-string> is the community character string applied when sending the
Trap message at v1/v2, and will be the user name at v3.
Usage Guide: The Community character string configured in this command is the
default community string of the RMON event group. If the RMON event group has no
community character string configured, the community character string configured in this
command will be applied when sending the Trap of RMON, and if the community
character string is configured, its configuration will be applied when sending the RMON
trap. This command allows to configure IPv4 or IPv6 addresses of SNMP management
station that receive Trap message at the same time, but IPv4 and IPv6 addresses of v1
and v2c version are less than 8 in all.
Example:
Configure an IP address to receive Trap
Switch(config)#snmp-server host 1.1.1.5 v1 usertrap
Delete an IPv6 address to receive Trap.
Switch(config)#no snmp-server host 2001::1 v1 usertrap
1.4.18 snmp-server securityip
Command: snmp-server securityip {<ipv4-address> | <ipv6-address>}
no snmp-server securityip {<ipv4-address> | <ipv6-address>}
Function: Configure security IPv4 or IPv6 address allowed to access NMS management
station; the no command deletes security IPv4 or IPv6 address configured.
Command Mode: Global Mode.
Parameter: <ipv4-address> is NMS security IPv4 address, dotted decimal notation.
<ipv6-address> is NMS security IPv6 address, colon hexadecimal.
Usage Guide: It is only the consistency between NMS administration station IPv4 or
IPv6 address and security IPv4 or IPv6 address configured by the command, so it send
SNMP packet could be processed by switch, the command only applies to SNMP. Allows
configuration the IPv4 or IPv6 address of the network manage station receiving the
SNMP Trap message, but the IP addresses are less than 20 in all.
Example:
Configure security IP address of NMS management station.
Switch(config)#snmp-server securityip 1.1.1.5
Delete security IPv6 address.
Switch(config)#no snmp-server securityip 2001::1