17 snmp-server securityip – PLANET XGS3-24040 User Manual

Page 79

Advertising
background image

XGS3 Command Guide

1-79

receiving the network manage station IPv4 or IPv6 address and the Trap user name and safety level; the “no” form of

this command cancels this IPv4 or IPv6 address.

Command Mode:

Global Mode.

Parameter:

<host-ipv4-addr> | <host-ipv6-addr> is the IP address of the NMS managing station which receives Trap

message.

v1 | v2c | v3 is the version number when sending the trap.

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 configuration the

IPv4 or IPv6 address of the network manage station receiving the SNMP Trap message, but configure the version

number as v1 and v2c of the IPv4 and IPv6 address 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 a Trap receiving IPv6 address

Switch(config)#no snmp-server host 2001:1:2:3::1 v1 usertrap

1.4.17 snmp-server securityip

Command:

snmp-server securityip {<ipv4-address> | <ipv6-address>}

no snmp-server securityip {<ipv4-address> | <ipv6-address>}

Function:

Configure to permit to access security IPv4 or IPv6 address of the switch NMS administration station; the no

command deletes configured security IPv4 or IPv6 address.

Command Mode:

Global Mode.

Parameter:

<ipv4-address> is NMS security IPv4 address, point separated decimal format.

<ipv6-address> is NMS security IPv6 address, colon separated hex format.

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:

Advertising