Chapter 34 System Remote Management

34.8.3 SNMP Commands

The following table describes the commands available for SNMP. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 131 Command Summary: SNMP

COMMAND

DESCRIPTION

[no] snmp-server

Allows SNMP access to the NXC. The no

 

command disables SNMP access to the NXC.

[no] snmp-server community community_string

Enters up to 64 characters to set the password

{rorw}

for read-only (ro) or read-write (rw) access. The

 

no command resets the password for read-only

 

(ro) or read-write (rw) access to the default.

[no] snmp-server contact description

Sets the contact information (of up to 60

 

characters) for the person in charge of the NXC.

 

The no command removes the contact

 

information for the person in charge of the NXC.

[no] snmp-server enable {informstraps}

Enables all SNMP notifications (informs or traps).

 

The no command disables all SNMP

 

notifications (informs or traps).

[no] snmp-server host {fqdn ipv4_address}

Sets the IP address or domain name of the host

[community_string]

that receives the SNMP notifications. The no

 

command removes the host that receives the

 

SNMP notifications.

 

 

[no] snmp-server location description

Sets the geographic location (of up to 60

 

characters) for the NXC. The no command

 

removes the geographic location for the NXC.

[no] snmp-server port <1..65535>

Sets the SNMP service port number. The no

 

command resets the SNMP service port number

 

to the factory default (161).

snmp-server rule {rule_numberappendinsert

Sets a service control rule for SNMP service.

rule_number} access-group {ALLaddress_object}

address_object: The name of the IP address

zone {ALLzone_object} action {acceptdeny}

(group) object. You may use 1-31 alphanumeric

 

characters, underscores(_), or dashes (-), but the

 

first character cannot be a number. This value is

 

case-sensitive.

 

zone_object: The name of the zone. Use up to

 

31 characters (a-zA-Z0-9_-). The name cannot

 

start with a number. This value is case-sensitive.

 

You can also use pre-defined zone names like

 

LAN and WLAN.

 

 

snmp-server rule move rule_number to rule_number

Changes the index number of a service control

 

rule.

no snmp-server rule rule_number

Deletes a service control rule for SNMP service.

show snmp status

Displays SNMP Settings.

 

221

NXC CLI Reference Guide