ip access-group
18-80 Security Configuration
Usage
ACLsî ±mustî ±beî ±appliedî ±perî ±routingî ±interface.î ±Anî ±entryî ±(rule)î ±canî ±beî ±appliedî ±toî ±inboundî ±framesî ±
only.
Example
Thisî ±exampleî ±showsî ±howî ±toî ±applyî ±accessî ±listî ±1î ±forî ±allî ±inboundî ±framesî ±onî ±theî ±VLANî ±1î ±interface.î ±
Throughî ±theî ±definitionî ±ofî ±accessî ±listî ±1,î ±onlyî ±framesî ±withî ±aî ±sourceî ±addressî ±onî ±theî ±192.5.34.0/24î ±
networkî ±willî ±beî ±routed.î ±Allî ±theî ±framesî ±withî ±otherî ±sourceî ±addressesî ±receivedî ±onî ±theî ±VLANî ±1î ±
interface
î ±areî ±dropped:
C2(su)->router(Config)#access-list 1 permit 192.5.34.0 0.0.0.255
C2(su)->router(Config)#interface vlan 1
C2(su)->router(Config-if(Vlan 1))#ip access-group 1 in