ip access-group
SecureStack C2 Configuration Guide 18-79
Defaults
Ifî ±insert,î ±replace,î ±orî ±moveî ±areî ±notî ±specified,î ±theî ±newî ±entryî ±willî ±beî ±appendedî ±toî ±theî ±accessî ±list.
Ifî ±source2î ±isî ±notî ±specifiedî ±withî ±move,î ±onlyî ±oneî ±entryî ±willî ±beî ±moved.
Ifî ±operatorî ±andî ±portî ±areî ±notî ±specified,î ±accessî ±parametersî ±willî ±beî ±appliedî ±toî ±allî ±TCPî ±orî ±UDPî ±ports.
Mode
Globalî ±configuration:î ±C2(su)â>router(Config)#
Usage
Accessî ±listsî ±areî ±appliedî ±toî ±interfacesî ±byî ±usingî ±theî ±ipî ±accessâgroupî ±commandî ±asî ±describedî ±inî ±âipî ±
accessâgroupâî ±onî ±page 18â74.î ±
Validî ±accessâlistânumbersî ±forî ±extendedî ±ACLsî ±areî ±100î ±toî ±199.î ±Forî ±standardî ±ACLs,î ±validî ±valuesî ±areî ±1î ±
toî ±99.
Example
Thisî ±exampleî ±showsî ±howî ±toî ±defineî ±accessî ±listî ±101î ±toî ±denyî ±ICMPî ±transmissionsî ±fromî ±anyî ±sourceî ±
andî ±forî ±anyî ±destination:
C2(su)->router(Config)#access-list 101 deny ICMP any any
ip access-group
Useî ±thisî ±commandî ±toî ±applyî ±accessî ±restrictionsî ±toî ±inboundî ±framesî ±onî ±anî ±interfaceî ±whenî ±operatingî ±
inî ±routerî ±mode.î ±Theî ±noî ±formî ±ofî ±thisî ±commandî ±removesî ±theî ±specifiedî ±accessî ±list.
Syntax
ip access-group access-list-number in
no ip access-group access-list-number in
Parameters
Defaults
None.
Mode
Interfaceî ±configuration:î ±C2(su)â>router(Configâif(Vlanî ±<vlan_id>))#
moveî ±destinationî ±
source1î ±source2
(Optional)î ±Movesî ±aî ±sequenceî ±ofî ±accessî ±listî ±entriesî ±beforeî ±anotherî ±entry.î ±
Destinationî ±isî ±theî ±numberî ±ofî ±theî ±existingî ±entryî ±beforeî ±whichî ±thisî ±newî ±entryî ±
willî ±beî ±moved.î ±Source1î ±isî ±aî ±singleî ±entryî ±numberî ±orî ±theî ±firstî ±entryî ±numberî ±inî ±
theî ±rangeî ±
toî ±beî ±moved.î ±Source2î ±(optional)î ±isî ±theî ±lastî ±entryî ±numberî ±inî ±theî ±
rangeî ±toî ±beî ±moved.î ±Ifî ±source2î ±isî ±notî ±specified,î ±onlyî ±theî ±source1î ±entryî ±willî ±beî ±
moved.
accessâlistânumber Specifiesî ±theî ±numberî ±ofî ±theî ±accessî ±listî ±toî ±beî ±appliedî ±toî ±theî ±accessî ±list.î ±Thisî ±
isî ±aî ±decimalî ±numberî ±fromî ±1î ±toî ±199.
in Filtersî ±inboundî ±frames.