02-14-2008 11:25 PM
Dear all,
I try to do compliance check via two command line as below:
1.spanning-tree vlan <VLAN ID> priority <priority value>
2.ip tacacs source-interface vlan <switch_management_vlan_id>
but it is failed.
Is anyone can help me how to do it?
Thanks
Solved! Go to Solution.
02-19-2008 10:52 PM
"Vlan\d+" is a regular expression which means match the literal string "Vlan" followed by one or more digits.
02-15-2008 09:42 AM
I assume you're using RME? If so, what version? What does your compliance template look like? What error do you get trying to test for compliance?
02-17-2008 06:11 PM
yes,I'm using RME.Version is 4.0.5.
i express unclear.In fact the job display successed.
my question is the command already setup in switch but when compliance check can not found it(need setup it)Please see attachment
two command:
spanning-tree vlan
ip tacacs source-interface vlan
02-17-2008 06:45 PM
It looks like you're trying to check for these commands in global mode. Please export for compliance template to an XML file, then post that XML file.
02-19-2008 07:28 PM
02-19-2008 08:55 PM
This template checks out. Though typically we would not see spaces in the variable names. For example:
+ spanning-tree vlan [STP_VLAN] priority [PRIORITY]
+ ip tacacs source-interface vlan [switch_management_vlan_id]
Let's see the config from one of these non-compliant switches.
02-19-2008 09:50 PM
02-19-2008 10:02 PM
The problem is Vlan301 is one word, and you are treating it as two. Try:
+ ip tacacs source-interface [tacacs_source_interface]
Or:
+ ip tacacs source-interface [#Vlan\d+#]
02-19-2008 10:51 PM
Thanks for your strong support!
That's solved.
+ ip tacacs source-interface [#Vlan\d+#]
Would you please tell me what's mean "d+" in the command line.
Thanks
02-19-2008 10:52 PM
"Vlan\d+" is a regular expression which means match the literal string "Vlan" followed by one or more digits.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide