cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
943
Views
0
Helpful
3
Replies

IOS XR :How to identify an unused part of configuration

claire
Level 1
Level 1

I have to clean a configuration on an IOS XR.

I explain: I noticed that some parts of the configuration are not used/applied.

For instance, DHCP profiles are configured but not applied/linked to an interface. And the same for such ACL.

The configuration is lenghty and I don't want to verify each line one by one to see if it's applied/linked .

Anybody knows a command or trick to see such configuration part?

3 Replies 3

pieterh
VIP
VIP

dhcp is not linked to an interface by a specific command, this is done by giving an interface (or vlan) a corresponding IP-address
and afaik no, there is no trick to do this the easy way, but yo can if try Cisco CLI Analyzer  can give some hints for unused sections

Thank you for the answer. I tried the software with "analysis file" option but it doesn't detect the unused parts.
I don't want to the software communicate directly with the router.
As you said, I think that is no easy way

But I discover a great tool for other tasks

 

In IOS XR you can create DHCP profile and linked to an interface but is not in the interface section
eg:

profile DHCP-TEST relay
helper-address vrf TEST <ip address> giaddr <ip address>
helper-address vrf TEST <ip address> giaddr <ip address>
relay information option
relay information policy keep
relay information option allow-untrusted


interface BVIxxx relay profile DHCP-TEST

interface Bundle-Etherx.xxxx proxy profile DHCP-TEST

good to hear you made progress.

and apparently I misunderstood part of your question,
my given answer applies to DHCP-scopes, did not associate this with DHCP relay...

Review Cisco Networking for a $25 gift card