20 snmp-server trap-source, 20 snmp-server trap-source -102 – PLANET WGSW-52040 User Manual

Page 103

Advertising
background image

1-102

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

Advertising