mac
65
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 6 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
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>}










