cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12516
Views
10
Helpful
6
Replies

Multiple SNMP v3 command to type at one time

Pierre Dubois
Level 1
Level 1

Hello :-) ,

First of all I'm not sure to be in the correct forum. Don't hesitate to tell me it's the case and I'll move it ;-)

We use Solarwinds to manage our devices with SNMP v3 (switch and routers). There's a tool which provides the correlation between MAC, IP and ports using layer 2 and 3 devices (Switch Port Mapper).

We're experiencing an issue with it. The solution given by the Solarwinds support is to type this command on every devices and for all of our VLAN.

snmp-server group (groupname) v3 priv context vlan-(vlanid)

My question : is there any way to type this command only one time and to include all the VLANs defined on the equipment ? Like when you'd like to configure the same settings for a range of interfaces...

Thank you in advance for your help.

Cheers,

2 Accepted Solutions

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

It depends on the version of IOS.  Newer versions of IOS support the "match prefix" syntax which does a "contains" match.  For example:

snmp-server group v3group v3 auth context vlan- match prefix

If you don't have an IOS which supports that, you will need to configure each context manually.

View solution in original post

Joe Clarke
Cisco Employee
Cisco Employee