cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1489
Views
0
Helpful
0
Comments
evgenyzhur
Level 1
Level 1

This script recover all configuration information around the subinterface, such as:

  • IP vrf configuration
  • ACL configuration
  • URPF ACL configuration
  • IP vrf DHCP configuration
    • ip dhcp pools
  • Static routes
  • IP subscriber list configuration
  • BGP, vrf configuration:
    • route-maps
    • community-lists
    • extcommunity-lists
    • as-path-lists
    • prefix-lists
    • policy-maps
    • class-maps
    • peer-session and peer-policy
  • & some more info

 

Supported interfaces:

Vlan,Ethernet,FastEthernet,GigabitEthernet,TenGigabitEthernet

 

Installation:

1. Copy the tcl script to the router.

2. Register the policy:

conf t

event manager directory user policy "bootflash:/"

event manager policy subintconfgrab.tcl type user

3. Create the alias:

conf t

alias exec geti event manager run subintconfgrab.tcl

 

Usage:

1. The script has the long output usualy, so you may set:

term lenth 0

2. Run the script:

geti Gi0/0.1

or

event manager run subintconfgrab.tcl Gi0/0.1

 

The script was tested at the:

Cisco ASR1000 IOS XE Version: 03.07.04.S

Cisco 7201|Cisco 7301 IOS Version: 12.2(33)SRE6

Cisco 7600 IOS Version: 12.2(33)SRE3

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: