GSWB

CHAPTER 8 CLI Operations

(5)Examples

Specifies that the host be set with the host address 192.168.0.120, SNMP version 2c, community name "XXXYYYZZZ", and read-only access privilege

Switch(config)# snmp-server host 192.168.0.120 version 2c XXXYYYZZZ ro Switch(config)#

• Uses the show command to check settings

Switch(config)# show snmp-server host Switch(config)#snmp-server host 10.10.10.10 version 1 aaaaaaaa ro Switch(config)#snmp-server host 10.10.10.11 version 1 aaaaaaaa ro Switch(config)#snmp-server host 10.10.10.12 version 1 aaaaaaaa ro Switch(config)#show snmp-server host

snmp-server host 10.10.10.10 version 1 aaaaaaaa ro snmp-server host 10.10.10.11 version 1 aaaaaaaa ro snmp-server host 10.10.10.12 version 1 aaaaaaaa ro Switch(config)#

(6)Error Messages

% Incomplete command.

Cause: Incomplete command input

Action: Enter the command string correctly.

• % Invalid input detected at '^' marker.

Cause: Invalid character detected at '^' marker in the entered command string

Action: Enter the command string correctly.

Internal communication error.

Cause: An internal error occurred.

Action: Check the system status, and reenter the command. If the error occurs again, collect unit information, configuration definition information, and the information in different types of logs, and restart the unit. Alternatively, contact a certified service engineer.

• Input parameter error.

Cause: An invalid IP address or community string was specified.

Action: Specify the correct IP address and community string.

• Input parameter duplicate error.

Cause: Registering a host already registered was attempted.

Action: Check the hosts already registered.

8-122

C122-E003-02EN