Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi,Using IOS 15.0(2)SG on a cat 4506E with SUP6-LE,I want to control how the interfaces are confugured.So I wrote the following :event manager environment mapping interface TenGigabitEthernet4/6event manager applet Block-Mappingevent manager applet T...
Bingo, Joseph !!In fact, the TACACS server in my lab was not reachable during my last test session.With the TACACS server up and running, it takes about additional 100ms to configure a vlan mapping, which is acceptable.I keep in mind "event manager...
Ok, Joseph, I managed to use context, because the implementation using environment variable was very slow.Applet Track-Int-Config is now working very fast.I not very happy with applet Block-Mapping, it takes 8" to execute following: action 4.5 cl...
Puts works fine. I did not implement the context management.However, making the applet synchronous produces blank line.Could I avoid the blank line ??=======================Switch(config-if)#int t4/6Switch(config-if)#switchport vlan mapping 223 dot1q...
so, the second applet should be:event manager applet Block-Mappingevent cli pattern "^sw(.*)vl(.*)" sync yes skip yesaction 0.3 string last "TenGigabitEthernet1/1" "$mapping"action 1.0 if $_string_result eq 10event manager applet Block-Mappingevent ...
Thank you, Joseph.So using "context" is a little bit more complex to manage, just there is no change to the configuration.On the other hand, it is not so bad to have an indication about the last interface configured.This can help to track odd confi...