[j-nsp] apply-path and interface addresses

Lei Zhang lzhang at juniper.net
Fri Sep 7 21:37:50 EDT 2007


Pekka Savola wrote:

>Hi,
>
>Apply-path is a nice feature, but for some reason it doesn't seem to 
>work for interface addresses, e.g.:
>
>apply-path "interfaces lo0 unit 0 family inet address <*>";
>  
>
This works for me. Use config mode command "show | display inheritance" 
to see the result.

>or:
>apply-path "interfaces <*> unit <*> family inet address <*>";
>  
>
This works for me.

>or:
>apply-path "interfaces <*> unit <*> family inet address <*>/32";
>  
>
Try "interfaces <*> unit <*> family inet address <*/32>"
i.e. the pattern needs to be inside the angle brackets.

Cheers,
Lei


More information about the juniper-nsp mailing list