snmp-show

This command is used to display information about SNMP MIBs on the network.

Syntax   snmp-show

community-string community-string-string-show

Specify the community string for SNMP.

name snmp-oid name

Specify the Object Identifier (OID) to display.

show-type walk|get|get-next

Specify the display method for the SNMP MIBs. Use get to retrieve and display the next SNMP object values. Use get-next to retrieve and display the SNMP object values associated with the requested object identifier.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Use this command to display local SNMP MIB object values.

Examples  To display the community, snmp-com, use the following command:

CLI network-admin@switch > show-snmp community-string snmp-com layout vertical

snmp-system-clear

You use this command to clear SNMP system information.

Syntax   snmp-system-modify

syscontact syscontact-string

Specify the system contact information.

syslocation syslocation-string

Specify the system location.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 3.1.0.

Usage   Use the command to clear system location information.

Examples  To clear SNMP system information, use the following syntax:

CLI network-admin@switch > snmp-system-clear syscontact johndoe

snmp-system-modify

You use this command to modify SNMP system information.  

Syntax   snmp-system-modify

syscontact syscontact-string

Specify the system contact information.

syslocation syslocation-string

Specify the system location.


Defaults   None

Access   Network Administrator

History   Command introduced in Version 3.1.0.

Usage   Use the command to modify system location information.

Examples  To modify SNMP system information, use the following syntax:

CLI network-admin@switch > snmp-system-modify syscontact johndoe

snmp-system-show

You use this command to display SNMP system information.

Syntax   snmp-system-show

syscontact syscontact-string

Specify the system contact information.

syslocation syslocation-string

Specify the system location.

Defaults   None

Access   Network Administrator

History   Command introduced in Version 3.1.0.

Usage   Use the command to display system location information.

Examples  To display SNMP system information, use the following syntax:

CLI network-admin@switch > snmp-system-show