[c-nsp] How to apply an access-list to all the sub-interfaces

Stephen J. Wilcox steve at telecomplete.co.uk
Sat Jan 8 14:42:46 EST 2005


Hi Mario,
 afaik you must apply them to the subints..

Steve

On Sat, 8 Jan 2005, Mario Antonio wrote:

> In the following configuration (Router 2621XM), Can I apply an access-list
> to the interface  f0/1, so the subinterfaces will inherit that access-list?
> Or the only way is to apply to every single sub-interface?
> 
> ==> I want to filter traffic among these sub-interfaces--
> 
> Regards
> 
> Mario Antonio
> 
> ======================
> 
> !
> interface FastEthernet0/1
>  no ip address
>  ip access-group 130 in
>  speed 100
>  full-duplex
>  no cdp enable
> !
> interface FastEthernet0/1.1
>  encapsulation dot1Q 300
>  ip address 10.20.100.1 255.255.255.0
>  no cdp enable
> !
> interface FastEthernet0/1.2
>  encapsulation dot1Q 201
>  ip address 10.20.200.1 255.255.255.252
>  no cdp enable
> !
> 
> 
> Regards
> 
> Mario Antonio
> 
> ---
> [This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System]
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 



More information about the cisco-nsp mailing list