snmp-community-create
This command is used to create SNMP communities to support SNMPv1.
Syntax snmp-community-create
community-string community-string-string |
Specify the name for the community string. |
community-type read-only|read-write |
Specify the access type for the community. |
Defaults None
Access CLI
History Command introduced in nvOS Version 2.0.
Usage Communities are used in SNMPv1 as a method of controlling access to information. Use this command to create a community for SNMPv1.
Examples To create a community, snmp-reader, for read-only access, use the following command:
CLI network-admin@switch > snmp-community-create community-string snmp-reader community-type read-only
snmp-community-delete
This command is used to delete an SNMP community that supports SNMPv1.
Syntax snmp-community-delete
community-string community-string-string |
Specify the name for the community string to delete. |
Defaults None
Access CLI
History Command introduced in nvOS Version 2.0.
Usage Communities are used in SNMPv1 as a method of controlling access to information. Use this command to delete a community for SNMPv1.
Examples To delete a community, snmp-reader, use the following command:
CLI network-admin@switch > snmp-community-delete community-string snmp-reader
snmp-community-modify
This command is used to modify an SNMP community to support SNMPv1.
Syntax snmp-community-modify
community-string community-string-string |
Specify the name for the community string. |
community-type read-only|read-write |
Specify the access type for the community. |
Defaults None
Access CLI
History Command introduced in nvOS Version 2.0.
Usage Communities are used in SNMPv1 as a method of controlling access to information. Use this command to modify a community for SNMPv1.
Examples To modify a community, snmp-reader, for read-write access, use the following command:
CLI network-admin@switch > snmp-community-modify community-string snmp-reader community-type read-write
snmp-community-show
This command is used to display SNMP communities that support SNMPv1.
Syntax snmp-community-show [community-string community-string-string] [community-type read-only|read-write]
community-string community-string-string |
Specify the name for the community string. |
community-type read-only|read-write |
Specify the access type for the community. |
Defaults None
Access CLI
History Command introduced in nvOS Version 2.0.
Usage Communities are used in SNMPv1 as a method of controlling access to information. Use this command to display communities for SNMPv1.
Examples To display SNMPv1 communities, use the following command:
CLI network-admin@switch > snmp-community-show
switch community-string community-type
-------- ---------------- --------------
pleiades1 test read-write
pleiades2 test read-write
pleiades3 test read-write
SNMP Engine Commands
snmp-engineid-modify
Netvisor ONE allows you to modify the SNMP Engine ID and retrieve previous SNMP agent information for a switch no longer in use. If you remove a switch from the network, you can modify the SNMP Engine ID to use the old SNMP Engine ID so Netvisor can query and maintain the same history records for the new switch.
Syntax snmp-engineid-modify
engineid string |
Specify the 28 character unique ID for the SNMP engine. |
Defaults None
Access CLI
History Command introduced in Version 3.0.0.
Usage Use this command to modify the engine identification for the switch.
Examples To modify the engine identification, use the following command:
CLI network-admin@switch > snmp-engineid-modify engineid 0x80001f8880f2af3c6a2528fc51
Warning: All SNMP users will be erased.
Please confirm y/n (Default: n): y
Modified snmp engineID, Deleted all SNMP users.Please re-create SNMP users.
snmp-engineid-show
The SNMP engine ID is a unique string of 28 characters that identifies the device for administrative purposes. This command displays the identification of the local SNMP engine and all remote engines configured on the server-switch.
Syntax snmp-engineid-show
Defaults None
Access CLI
History Command introduced in nvOS Version 2.0.
Usage Use this command to display the engine identification for the switch.
Examples To display the engine identification, use the following command:
CLI network-admin@switch > snmp-engineid-show
switch: pleiades24
engineid: 0x80001f8880f2af3c6a2528fc51
switch: pleiades26
engineid: 0x80001f8880f2af3c6a2528fc51
switch: pleiades28
engineid: 0x80001f8880f2af3c6a2528fc51