04-25-2013 08:29 AM - edited 03-04-2019 07:43 PM
I am new to the scripting world and do assistance in developing a script that will assist me to perform the following tasks when executed
1] remove all existing tunnels
2] remove dialer/BVI interface
3] create new DMVPN tunnel
- tunnel x--- MPLS connection to data center
-tunnel y--- Guest traffic
4] Configure interface gi0/2 for broadband connection
- negotiate DHCP addresses
5] remove RIP routing
6] remove EIGRP routing
7] remove route-map pbr-dsl
8] remove route-map pbr-extsrv
9] create route-map for internet traffic over verizon ( pbr-verizon)
- set interface gi0/2
10] create route-map for internet traffic over mpls (pbr-mpls)
- set interface ser0/0
11] apply pbr-verizon to VLANS 10,20,30,40
12] modify NAT statement
13] create inbound and outbound ACL for Gi0/2 interface
- permit udp gre traffic from VIP
- permit tcp any any established
-permit tcp any any eq ftp-data
-permit udp any any eq domain
14] combine all other ACL to ensure no blocking will occur based on all internet traffic from verizon and not mpls
04-25-2013 08:33 AM
Hi,
It looks like you have a whole load of script lines to accomplish this. Try the following it should help you.
http://www.vandyke.com/support/securecrt/scripting_examples.html
-Gordon.
04-25-2013 08:37 AM
You might get more help if you move this to the "EEM Scripting" forum.
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