CLI Configuration Examples
6. CLI Configuration Examples
The following example scenarios are designed to enhance understanding of how to configure the ASE device
for SNMP v1/2c and SNMP v3.
g
NOTE
The configuration parameters entered in these examples are a sample configuration only. SNMP
should be configured in a manner consistent with the needs of your network. CLI prompts have
been removed from the configuration example to provide a method of copying and pasting
configurations directly from this configuration guide into the CLI. These configurations should not
be copied without first making the necessary changes to names, passwords, and other variables
to ensure the configuration will enable SNMP to function properly on your ASE device.
SNMP v2c
This example configures the ASE device for SNMPv2c utilizing the pre-established security users and security
group names in the default configuration. The use of these pre-established users and groups allows easy
out-of-the-box configuration of SNMPv2c on the ASE device. The pre-established security users are named
public (RO) and private (RW). The pre-established security groups are default_ro_group (RO) and
default_rw_group (RW).
g
NOTE
A view (default_view) has been pre-established in the default configuration that includes all OIDs
on the ASE device.Therefore, configuration of views is not necessary for SNMPv2c to work
out-of-the box.
The following commands, entered from global configuration mode, enable SNMPv2c on the NetVanta 1570:
snmp-server
snmp-server community public ip-range 0.0.0.0 0.0.0.0
yourrosnmpcommunitysecret
snmp-server community private ip-range 0.0.0.0 0.0.0.0
yourrwsnmpcommunitysecret
snmp-server security-to-group model v2c name public group default_ro_group
snmp-server security-to-group model v2c name private group default_rw_group
snmp-server community readcommunity enable
snmp-server community writecommunity enable
snmp-server contact yourname
snmp-server contact phone yourphone
snmp-server contact email youremail
snmp-server chassis-id yourchassisid
do write
18
SNMP in the NetVanta 1570
6AMCCG0018-29A
Need help?
Do you have a question about the NetVanta 1570 Series and is the answer not in the manual?
Questions and answers