D-Link CLI Reference Guide
Page 34
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:
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
ip
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
Содержание DXS-3250 - xStack Switch - Stackable
Страница 12: ...Page 11 ...
Страница 46: ...ACL Commands Page 45 ...
Страница 68: ...Address Table Commands Page 67 ...
Страница 124: ...Ethernet Configuration Commands Page 123 ...
Страница 134: ...GVRP Commands Page 133 ...
Страница 144: ...IGMP Snooping Commands Page 143 ...
Страница 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Страница 166: ...IP Addressing Commands Page 165 ...
Страница 170: ...IP Routing Commands Page 169 Ethernet 1 Specifies the interface through which the specified network can be reached ...
Страница 186: ...Line Commands Page 185 ...
Страница 194: ...Management ACL Commands Page 193 ...
Страница 200: ...PHY Diagnostics Commands Page 199 ...
Страница 208: ...Port Monitor Commands Page 207 ...
Страница 216: ...Power over Ethernet Commands Page 215 ...
Страница 272: ...RMON Commands Page 271 ...
Страница 334: ...Spanning Tree Commands Page 333 ...
Страница 428: ...VLAN Commands Page 427 ...
Страница 465: ...D Link CLI Reference Guide Page 464 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 466: ...802 1x Commands Page 465 ...