4-2
www.hp.com
HP PC Blade Switch CLI Reference Guide
ACL Commands
permit (IP)
The
permit
IP-Access List Configuration mode command permits
traffic if the conditions
defined in the permit statement match.
Syntax
permit
{
any
|
protocol
} {
any
| {
source source-wildcard
}} {
any
| {
destination
destination-wildcard
}} [
dscp
dscp number
|
ip-precedence
ip-precedence
]
permit-icmp
{
any
| {
source source-wildcard
}} {
any
| {
destination destination-wildcard
}} {
any
| i
cmp-type
} {
any
|
icmp-code
} [
dscp
number
|
ip-precedence
number
]
permit-igmp
{
any
| {
source source-wildcard
}} {
any
| {
destination destination-wildcard
}} {
any
| i
gmp-type
} [
dscp
number
|
ip-precedence
number
]
permit-tcp
{
any
| {
source source-wildcard
}} {
any
|
source-port
} {
any
|{
destination
destination-wildcard
}} {
any
|
destination-port
} [
dscp
number
|
ip-precedence
number
] [
flags
list-of-flags
]
permit-udp
{
any
| {
source source-wildcard
}} {
any
|
source-port
} {
any
| {
destination
destination-wildcard
}} {
any
|
destination-port
} [
dscp
number
|
ip-precedence
number
]
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
— Specifies wildcard to be applied to the source IP 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.
■
destination
— Specifies the destination IP address of the packet. Specify
any
to indicate IP
address 0.0.0.0 and mask 255.255.255.255.
■
destination-wildcard
— Specifies wildcard to be applied to the destination IP 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.
■
protocol
— Specifies the abbreviated name or number of an IP protocol. (Range: 0-255)
The following table lists protocols that can be specified:
IP Protocol
Abbreviated Name
Protocol Number
Internet Control Message Protocol
icmp
1
Internet Group Management Protocol
igmp
2
IP in IP (encapsulation) Protocol
ipinip
4
Transmission Control Protocol
tcp
6
Exterior Gateway Protocol
egp
8
Interior Gateway Protocol
igp
9
User Datagram Protocol
udp
17
Host Monitoring Protocol
hmp
20
Reliable Data Protocol
rdp
27
Inter-Domain Policy Routing Protocol
idpr
35
Summary of Contents for Bc1500 - BladeSystem - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...