ACL Commands
Page 36
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 the protocols that can be specified:
I P P r o t o c o l
A b b r e v i a t e d N a m e
P r o t o c o l N u m b e r
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
Ipv6 protocol
ipv6
41
Routing Header for IPv6
ipv6-route
43
Содержание xStack DWS-3200 Series
Страница 2: ......
Страница 3: ......
Страница 17: ...Table of Contents Page 14 Appendix A Troubleshooting 571 Problem Management 572 Troubleshooting Solutions 572 ...
Страница 25: ...Using the CLI Editing Features Page 22 ...
Страница 91: ...Clock Commands show sntp status Page 88 ...
Страница 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Страница 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Страница 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Страница 163: ...IP Address Commands show hosts Page 160 ...
Страница 177: ...LACP Commands show lacp port channel Page 174 ...
Страница 187: ...Line Commands show line Page 184 ...
Страница 195: ...Management ACL Commands show management access class Page 192 ...
Страница 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Страница 217: ...Port Monitor Commands Page 214 ...
Страница 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Страница 395: ...System Management Commands show system mode Page 392 ...
Страница 413: ...User Interface Commands show privilege Page 410 ...
Страница 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Страница 451: ...Web Server Commands show ip https Page 448 ...
Страница 477: ...802 1x Commands show dot1x advanced Page 474 ...
Страница 483: ...Wireless AP BSS Commands data rates Page 480 ...
Страница 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Страница 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Страница 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Страница 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Страница 581: ...Page 578 ...