Switch User Manual

Configuring Access Lists
26-82 Authentication and Authorization Configuration
Configuring Access Lists
Purpose
Toreviewandconfiguresecurityaccesscontrollists(ACLs),whichpermitordenyaccessto
routinginterfacesbasedonprotocolandIPaddressrestrictions.
Commands
show access-lists
UsethiscommandtodisplayconfiguredIPaccesslistswhenoperatinginroutermode.
Syntax
showaccesslists[number]
Parameters
Defaults
Ifnumberisnotspecified,theentiretableofaccesslistswillbedisplayed.
Mode
Anyroutermode.
Example
ThisexampleshowshowtodisplayIPaccesslistnumber145.Thisisanextendedaccesslist,
whichpermitsordeniesICMP,UDPandIPframesbasedonrestrictionsconfiguredwithoneof
theaccesslistcommands.Fordetailsonconfiguringstandardaccesslists,referto“accesslist
(standard)”onpage 26
83.Fordetailsonconfiguringextendedaccesslists,referto“accesslist
(extended)”onpage 2684
.
Router: These commands can be executed when the device is in router mode only. For details
on how to enable router configuration modes, refer to “Enabling Router Configuration Modes” on
page 18-2.
Note: Refer to the Release Notes for your product for any limitations that may apply to access
control lists.
For information about... Refer to page...
show access-lists 26-82
access-list (standard) 26-83
access-list (extended) 26-84
ip access-group 26-86
accesslist
number
(Optional)Displaysaccesslistinformationforaspecificaccesslistnum ber.
Validvaluesarebetween1and199.