PLANET WGSW-52040 User Manual

Page 60

Advertising
background image

{<ipv6-num-std>|<ipv6-name>}]

7. Configure view

Command

Explanation

Global Mode

snmp-server view <view-string>

<oid-string>

{include|exclude}

no snmp-server view <view-string>

[<oid-string>]

Configure view on the switch. This command

is used for SNMP v3.

8. Configuring TRAP

Command

Explanation

Global Mode

snmp-server enable traps

no snmp-server enable traps

Enable the switch to send Trap message.

This command is used for SNMP v1/v2/v3.

snmp-server host { <host-ipv4-address> |

<host-ipv6-address> } {v1 | v2c | {v3

{noauthnopriv | authnopriv | authpriv}}}

<user-string>

no snmp-server host

{ <host-ipv4-address> |

<host-ipv6-address> } {v1 | v2c | {v3

{noauthnopriv | authnopriv | authpriv}}}

<user-string>

Set the host IPv4/IPv6 address which is used

to receive SNMP Trap information. For SNMP

v1/v2, this command also configures Trap

community string; for SNMP v3, this

command also configures Trap user name

and security level. The “no” form of this

command cancels this IPv4 or IPv6 address.

snmp-server trap-source {<ipv4-address>
| <ipv6-address>}

no snmp-server trap-source

{<ipv4-address> | <ipv6-address>}

Set the source IPv4 or IPv6 address which is

used to send trap packet, the no command

deletes the configuration.

9. Enable/Disable RMON

Command

Explanation

Global mode

rmon enable

no rmon enable

Enable/disable RMON.

4-13

Advertising