Configure SNMPv2 on VSP 7200

Task

Configure SNMPv2 on VSP 7200.


Scenario

VSP 7200 switches should be monitored with external application over SNMPv2. The already pre-configured SNMP groups should be deleted. The new groups for Read Only and Read Write access will be configured.


Hardware | Software

  • VSP 7254XSQ + VOSS 6.0.1.1

Solution | Overview

Step 1: Configure the SNMP groups.

Step 2: Verify the config.


Solution | Detailed

Step 1: Configure the SNMP groups.

Delete the predefined “first” and “second” SNMP groups. Then configure the new groups with RO and/or RW strings.

no snmp-server community-by-index second
no snmp-server community-by-index first

snmp-server community RO-STRING group "v1v2grp" index 1st secname "RO"
snmp-server community RW-STRING group "v1v2grp" index 2nd secname "RW"

 

Step 2: Verify the config.

show snmp-server community
**************************

======================================================
 Community Table
======================================================
Index Name Security Name Context Name Transport Tag
------------------------------------------------------
1st ******** RO
2nd ******** RW

2 out of 2 Total entries displayed
------------------------------------------------------
show snmp-server group
**********************

=========================================
 VACM Group Membership Configuration
=========================================
Sec Model Security Name Group Name
-----------------------------------------
snmpv1 RO v1v2grp
snmpv1 RW v1v2grp
snmpv1 readview readgrp
snmpv1 initialview v1v2grp
snmpv2c RO v1v2grp
snmpv2c RW v1v2grp
snmpv2c readview readgrp
snmpv2c initialview v1v2grp
usm initial initial

9 out of 9 Total entries displayed
-----------------------------------------

========================================================
 VACM Group Access Configuration
========================================================
Group Prefix Model Level ReadV WriteV NotifyV
--------------------------------------------------------
initial usm noAuthNoPriv root root root
initial usm authPriv root root root
readgrp snmpv1 noAuthNoPriv v1v2only org
readgrp snmpv2c noAuthNoPriv v1v2only org
v1v2grp snmpv1 noAuthNoPriv v1v2only v1v2only v1v2only
v1v2grp snmpv2c noAuthNoPriv v1v2only v1v2only v1v2only

6 out of 6 Total entries displayed
--------------------------------------------------------