EasyManuals Logo

Cisco Catalyst 4500 Series Software Configuration Guide

Cisco Catalyst 4500 Series
2086 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1638 background imageLoading...
Page #1638 background image
62-14
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 62 Configuring Network Security with ACLs
Layer 4 Operators in ACLs
Command Purpose
Step 1
configure terminal
Example
Switch# configure terminal
Blocks all traffic to or from the configured unicast MAC
address in the specified VLAN.
To clear MAC address-based blocking, use the no form of
this command without the drop keyword.
Step 2
ip access-list extended access-list-name
Example
Switch(config)# ip access-list extended kmd1
Switch(config-ext-nacl)#
Specifies the IP access list by name and enters named access
list configuration mode.
Step 3
[sequence-number] permit tcp source
source-wildcard [operator [port]] destination
destination-wildcard [operator [port]]
[established|{match-any | match-all} {+ | -}
flag-name] [precedence precedence] [tos tos] [log]
[time-range time-range-name] [fragments]
Example (IPv4-specific)
Switch(config-ext-nacl)# permit tcp host
1.1.1.1 host 2.2.2.2 established
Example (IPv6-specific)
Switch(config-ext-nacl)# permit tcp host
2001:2:25:1::1 host 2001:2:25:1::10
established
Specifies a permit statement in named IP access list mode.
This access list happens to use a permit statement first, but a
deny statement could appear first, depending on the order of
statements you need.
Use the TCP command syntax of the permit command.
Match-all is not supported. Match-any is supported only
when used in the following combinations of positive flags:
"rst and ack" (must be combined), "sync and fin and rst"
(must be combined), "psh" and "urg"
Step 4
[sequence-number] deny tcp source
source-wildcard [operator [port]] destination
destination-wildcard [operator [port]]
[established|{match-any | match-all} {+ | -}
flag-name] [precedence precedence] [tos tos] [log]
[time-range time-range-name] [fragments]
Example (IPv4-specific)
Switch(config-ext-nacl)# deny tcp host
3.3.3.3 host 4.4.4.4 fin rst syn
Example (IPv6-specific)
Switch(config-ext-nacl)# deny tcp host
2001:2:25:1::2 host 2001:2:25:1::20 fin rst
syn
(Optional) Specifies a deny statement in named IP access list
mode.
This access list happens to use a permit statement first, but a
deny statement could appear first, depending on the order of
statements you need.
Use the TCP command syntax of the deny command.
See the deny (IP) command for additional command syntax
to permit upper-layer protocols (ICMP, IGMP, TCP, and
UDP).
Match-all is not supported. Match-any is supported only
when used in the following combinations of positive flags:
"rst and ack" (must be combined), "sync and fin and rst"
(must be combined), "psh" and "urg".
Step 5
Repeat Step 3 or Step 4 as necessary, adding
statements by sequence number where you planned.
Use the no sequence-number command to delete an
entry.
Allows you to revise the access list.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals