Permit (Ip) - Cisco SPS2024 Reference Manual

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

ACL Commands

permit (ip)

permit (ip)
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
Example
The following example shows how to create an IP ACL.
Console(config)# ip access-list ip-acl1
Console(config-ip-al)#
The permit IP-Access List Configuration mode command permits traffic if the
conditions defined in the permit statement match.
Syntax
permit {any |
protocol
destination-wildcard
source source-wildcard
permit-icmp {any | {
wildcard
icmp-type
}} {ny |
ip-precedence
]
source source-wildcard
permit-igmp {any | {
wildcard
igmp-type
}} {ny |
source source-wildcard
permit-tcp {any | {
destination-wildcard
ip-precedence
] [flags
source source-wildcard
permit-udp {any | {
destination-wildcard
ip-precedence
]
Parameters
source
— Specifies the source IP address of the packet. Specify any to
indicate IP address 0.0.0.0 and mask 255.255.255.255.
source-wildcard
address. Use 1s in bit positions to be ignored. Specify any to indicate IP
address 0.0.0.0 and mask 255.255.255.255.
} {any | {
source source-wildcard
}} [dscp
dscp-number
icmp-code
} {any |
dscp-number
} [dscp
}} {any |
destination-port
}} {ny |
list-of-flags
]
destination-port
}} {any |
— Specifies wildcard to be applied to the source IP
}} {any | {
destination
| ip-precedence
ip-precedence
destination destination-
}} {any | {
dscp-number
} [dscp
destination destination-
}} {any | {
| ip-precedence
source-port
} {any | {
dscp-number
} [dscp
source-port
}} {any |
} {any | {
dscp-number
} [dscp
3
]
| ip-precedence
ip-precedence
]
destination
| ip-precedence
destination
| ip-precedence
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents