Configuring Acls (Cli); Configuring An Ipv4 Acl - Dell PowerConnect 7048P Manual

Powerconnect 7000 series stackable layer 2 and 3 switches
Hide thumbs Also See for PowerConnect 7048P:
Table of Contents

Advertisement

Configuring ACLs (CLI)

This section provides information about the commands you use to create and
configure ACLs. For more information about the commands, see the
PowerConnect 7000 Series CLI Reference Guide

Configuring an IPv4 ACL

Beginning in Privileged EXEC mode, use the following commands to create
an IPv4 ACL, configure rules for the ACL, and bind the ACL to an interface.
NOTE:
The ip access-group command can be issued in Global Configuration
mode or Interface configuration mode. If it is applied in Global Configuration
mode, the ACL binding is applied to all interfaces. If it is applied in Interface
Configuration mode, it is applied only to the specified interfaces within the mode.
Command
configure
name
access-list
permit} {every | {[icmp
| igmp | ip | tcp | udp |
number
srcip srcmask
] {
portkey
| any} [eq [
portvalue
]] {dstip
dstmask
| any} [eq
[portkey | portvalue]]
precedence
[precedence
tos tosmask
| tos
dscp
] [log] [time-range
time-range-name
queue-id
[assign-queue
interface
[redirect
interface
mirror
558
Configuring Access Control Lists
Purpose
Enter global configuration mode.
{deny |
Create a named ACL (if it does not already exist) and
create a rule for the named ACL. If the ACL already exists,
this command creates a new rule for the ACL.
list-name
|
length.
• deny | permit — Specifies whether the IP ACL rule
permits or denies an action.
• every — Allows all protocols.
| dscp
• eq — Equal. Refers to the Layer 4 port number being
used as match criteria. The first reference is source match
]
criteria, the second is destination match criteria.
]
number
|
icmp, igmp, ip, tcp, udp.
]}}
srcip
srcmask
dstip
dstmask
— Access-list name up to 31 characters in
— Standard protocol number. Protocol keywords
— Source IP address.
— Source IP mask.
— Destination IP address.
— Destination IP mask.
.

Advertisement

Table of Contents
loading

Table of Contents