Specifications

access-list (extended)
SecureStack C3 Configuration Guide 21-73
Defaults
Ifinsert,replace,ormovearenotspecified,thenewentrywillbeappendedtotheaccesslist.
Ifsource2isnotspecifiedwithmove,onlyoneentrywillbemoved.
Ifoperatorandportarenotspecified,accessparameterswillbeappliedtoallTCPorUDPports.
Mode
Globalconfiguration:C3(su)>router(Config)#
Usage
Accesslistsareappliedtointerfacesbyusingtheipaccessgroupcommandasdescribedinip
accessgrouponpage 2174.
ValidaccesslistnumbersforextendedACLsare100to199.ForstandardACLs,validvaluesare1
to99.
Example
Thisexampleshowshowtodefineaccesslist101todenyICMPtransmissionsfromanysource
andforanydestination:
C3(su)->router(Config)#access-list 101 deny ICMP any any
source Specifiesthenetworkorhostfromwhichthepacketwillbesent.Valid
optionsforexpressingsourceare:
•IPaddressorrangeofaddresses(A.B.C.D)
any‐Anysourcehost
hostsource‐IPaddressofasinglesourcehost
sourcewildcard (Optional)Specifiesthebitstoignoreinthesourceaddress.
operatorport
(Optional)AppliesaccessrulestoTCPorUDP sourceordestinationport
numbers.Possibleoperandis:
eqport‐Matchesonlypacketsonagivenportnumber.
destination Specifiesthenetworkorhosttowhichthepacketwillbesent.Validoptions
forexpressingdestinationare:
•IPaddress(A.B.C.D)
any‐Anydestination
host
hostsource‐IPaddressofasingledestinationhost
destination
wildcard
(Optional)Specifiesthebitstoignoreinthedestinationaddress.
insert|replace
entry
(Optional)Insertsthisnewentrybeforeaspecifiedentryinanexisting
ACL,orreplacesaspecifiedentrywiththisnewentry.
movedestination
source1source2
(Optional)Moves
asequenceofaccesslistentriesbeforeanotherentry.
Destinationisthenumberoftheexistingentrybeforewhichthisnewentry
willbemoved.Source1isasingleentrynumberorthefirstentrynumberin
therangetobemoved.Source2(optional)isthelastentrynumberin
the
rangetobemoved.Ifsource2isnotspecified,onlythesource1entrywillbe
moved.