Use the undo snmp-agent sys-info location command to restore the default location.
Syntax
snmp-agent sys-info location sys-location
undo snmp-agent sys-info location
Default
The location is Hangzhou, China.
Views
System view
Predefined user roles
network-admin
Parameters
sys-location: Specifies the system location, a string of 1 to 200 characters. This information is stored in a
management variable in the system group defined in RFC1213-MIB.
Usage guidelines
Configure the location of the device for system maintenance and management.
Examples
# Configure the system location as Room524-row1-3.
<Sysname> system-view
[Sysname] snmp-agent sys-info location Room524-row1-3
Related commands
display snmp-agent sys-info
snmp-agent sys-info version
Use the snmp-agent sys-info version command to enable SNMP versions.
Use the undo snmp-agent sys-info version command to disable SNMP versions.
Syntax
snmp-agent sys-info contact version { all | { v1 | v2c | v3 } * }
undo snmp-agent sys-info version { all | { v1 | v2c | v3 } * }
Default
SNMPv3 is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
all: Specifies SNMPv1, SNMPv2c, and SNMPv3.
v1: Specifies SNMPv1.
108