User Manual

60
Users Manual of XGS-6350-24X4C
remote control station, a remote user has to be configured if the control station performs ID authentication.
Username and password of the remote user must be the same as those on the control station. Otherwise, the
control station cannot receive traps.
Command Function
snmp-server user username
groupname remote ip-address
[udp-port port] {v1 | v2c | v3
[encrypted] [auth {md5 | sha}
auth-password ]} [access
access-list]
Configures a remote SNMPv3 user.
Note: A remote SNMP engine ID must be
configured for the control station of the IP
address before a remote user is configured.
j) Configuring SNMPv3 Engine ID
The SNMP Engine ID is to identify an SNMP engine. Traditional SNMP manager and agent are part of the
SNMP engine in the SNMPv3 frame.
Command Function
snmp-server engineID remote
ip-address [udp-port
port-number] engineid-string
Configures a remote SNMP engine.
4.3.1.3 Configuration example
a) Example 1
snmp-server community public RO
snmp-server community private RW
snmp-server host 192.168.10.2 public
The above example shows:
how to set the community string public that can only read all MIB variables.
how to set the community string private that can read and write all MIB variables.
You can use the community string public to read MIB variables in the system. You can also use the
community string private to read MIB variables and write writable MIB variables in the system.
The above command specifies the community string public to send traps to 192.168.10.2 when a system
requires to send traps. For example, when a port of a system is in the down state, the system will send a
linkdown trap information to 192.168.10.2.
b) Example 2
snmp-server engineID remote 90.0.0.3 80000523015a000003
snmp-server group getter v3 auth
snmp-server group setter v3 priv write v-write
snmp-server user get-user getter v3 auth sha 12345678
snmp-server user set-user setter v3 encrypted auth md5 12345678