GSWB

CHAPTER 8 CLI Operations

(2) Options

z< host address >: Specifies the trap notification destination.

z{ version { 1 <community> 2c <community> 3 <user > ... }: Specifies the version of traps to be transmitted.

-version 1 <community>: Transmits SNMP traps of version1.

<community>: Specifies the community-string used for authentication by the server that receives traps. The entered community string (1 to 20 en-size alphanumeric characters), whose function is similar to a password, is transmitted by a notification action.

-version 2c <community>: Transmits SNMP traps of version2c.

<community>: Specifies the community-string used for authentication by the server that receives traps. The entered community string (1 to 20 en-size alphanumeric characters), whose function is similar to a password, is transmitted by a notification action.

-version 3 <user> { noauth auth {md5 sha} <password> priv {md5 sha} <password> <passphrase>}: Transmits SNMP traps of version3. The authentication level is specified.

<user>: Specifies a user name (4 to 16 en-size alphanumeric characters including - and _).

noauth: Authentication and encryption do not use passwords. (However, authentication by user name is performed.)

auth: Authentication uses passwords. No encryption is performed.

{md5 sha}: The selected hash function is used for encrypting passwords.

<password>: Specifies the authentication password (8 to 16 en-size alphanumeric characters).

priv: Authentication and encryption use passwords.

{md5 sha}: The selected hash function is used for encrypting passwords.

<password>: Specifies the authentication password (8 to 16 en-size alphanumeric characters).

<passphrase>: Specifies the keyword for packet encryption (8 to 16 en-size alphanumeric characters).

(3)Command mode

Global

(4) See also

snmp-server engineID local

show snmp-server

8-124

C122-E003-02EN