Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Ciscoworks LMS 3.2 compliance mgmt negation problem 2

Sorry one more question,

If I also wanted to remove all SNMP traps bar: -

snmp-server host 10.10.10.x (where x is any ip in the last octet)

From a device, would I use

- [#snmp-server host (!#10\.10\.10\..*#).#]

Any help appreciated

3 REPLIES
Cisco Employee

Re: Ciscoworks LMS 3.2 compliance mgmt negation problem 2

No, the pattern is:

- [#snmp-server host (!?10\.10\.10\..*)#]

New Member

Re: Ciscoworks LMS 3.2 compliance mgmt negation problem 2

Thanks Joseph,

But if the line is say: -

snmp-server host 10.10.10.1 testROmon

Would I not need the .*# for the extra word? I guess this would only be needed if I were also searching for variations in this word?

Cisco Employee

Re: Ciscoworks LMS 3.2 compliance mgmt negation problem 2

You could do:


- [#snmp-server host (?!10\.10\.10\..*).*#]

184
Views
0
Helpful
3
Replies