[191992] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: A perl script to convert Cisco IOS/Nexus/ASA configurations to

daemon@ATHENA.MIT.EDU (Hank Nussbacher)
Fri Oct 7 01:34:52 2016

X-Original-To: nanog@nanog.org
To: Lee <ler762@gmail.com>, Jesse McGraw <jlmcgraw@gmail.com>
From: Hank Nussbacher <hank@efes.iucc.ac.il>
Date: Fri, 7 Oct 2016 08:34:49 +0300
In-Reply-To: <CAD8GWstH+bMJNOJ3awdZVo=De_PzeiQTBf1s7Bo19kLdJnQ-_w@mail.gmail.com>
Cc: "nanog@nanog.org" <nanog@nanog.org>
Errors-To: nanog-bounces@nanog.org

On 07/10/2016 00:33, Lee wrote:
> dunno about creating web pages, but
> https://www.nanog.org/meetings/abstract?id=785
> has a section on showing filters that are defined but not referenced &
> referenced but not defined

In IOS-XR it is one command "sho rpl unused ?"
RP/0/RSP0/CPU0:petach-tikva-gp#show rpl unused ?
  as-path-set       Display as-path-set objects
  community-set     Display community-set objects
  extcommunity-set  Display extended community objects
  prefix-set        Display prefix-set objects
  rd-set            Display rd-set objects
  route-policy      Display route-policy objects
  tag-set           Display tag-set objects

RP/0/RSP0/CPU0:petach-tikva-gp#show rpl unused prefix
Fri Oct  7 08:24:53.237 IDT

ACTIVE -- Referenced by at least one policy which is attached
INACTIVE -- Only referenced by policies which are not attached
UNUSED -- Not attached (directly or indirectly) and not referenced

-Hank
>
> Regards,
> Lee
>


home help back first fref pref prev next nref lref last post