![Edge-Core ES4626F Скачать руководство пользователя страница 505](http://html1.mh-extra.com/html/edge-core/es4626f/es4626f_management-manual_2359713505.webp)
IPv4 ACLs
26-3
26
Default Setting
None
Command Mode
Standard IPv4 ACL
Command Usage
• New rules are appended to the end of the list.
• Address bitmasks are similar to a subnet mask, containing four integers from
0 to 255, each separated by a period. The binary mask uses 1 bits to indicate
“match” and 0 bits to indicate “ignore.” The bitmask is bitwise ANDed with the
specified source IP address, and then compared with the address for each IP
packet entering the port(s) to which this ACL has been assigned.
Example
This example configures one permit rule for the specific address 10.1.1.21 and
another rule for the address range 168.92.16.x – 168.92.31.x using a bitmask.
Related Commands
access-list ip (26-2)
permit
,
deny
(Extended IPv4 ACL)
This command adds a rule to an Extended IPv4 ACL. The rule sets a filter condition
for packets with specific source or destination IP addresses, protocol types, source
or destination protocol ports, or TCP control codes. Use the
no
form to remove a
rule.
Syntax
[
no
] {
permit | deny
}
[
protocol
-
number |
udp
]
{
any
|
source address-bitmask |
host
source
}
{
any
|
destination address-bitmask |
host
destination
}
[
precedence
precedence
] [
tos
tos
] [
dscp
dscp
]
[
source-port
sport
[
bitmask
]] [
destination-port
dport
[
port
-
bitmask
]]
[
no
] {
permit | deny
}
tcp
{
any
|
source address-bitmask |
host
source
}
{
any
|
destination address-bitmask |
host
destination
}
[
precedence
precedence
] [
tos
tos
] [
dscp
dscp
]
[
source-port
sport
[
bitmask
]] [
destination-port
dport
[
port
-
bitmask
]]
[
control-flag
control-flags
flag-bitmask
]
•
protocol-number
– A specific protocol number. (Range: 0-255)
•
source
– Source IP address.
•
destination
– Destination IP address.
•
address-bitmask
– Decimal number representing the address bits to match.
Console(config-std-acl)#permit host 10.1.1.21
Console(config-std-acl)#permit 168.92.16.0 255.255.240.0
Console(config-std-acl)#
Содержание ES4626F
Страница 2: ......
Страница 4: ...ES4626F ES4650F F1 1 0 2 E062009 R01 ST 149100000013A...
Страница 6: ...ii...
Страница 34: ...Getting Started...
Страница 44: ...Introduction 1 10 1...
Страница 62: ...Initial Configuration 2 18 2...
Страница 64: ...Switch Management...
Страница 76: ...Configuring the Switch 3 12 3...
Страница 118: ...Basic Management Tasks 4 42 4...
Страница 164: ...User Authentication 6 28 6...
Страница 176: ...Access Control Lists 7 12 7...
Страница 284: ...Quality of Service 14 8 14...
Страница 294: ...Multicast Filtering 15 10 15...
Страница 300: ...Domain Name Service 16 6 16...
Страница 310: ...Dynamic Host Configuration Protocol 17 10 17...
Страница 320: ...Configuring Router Redundancy 18 10 18...
Страница 344: ...IP Routing 19 24 19...
Страница 356: ...Unicast Routing 20 12 20 Web Click Routing Protocol RIP Statistics Figure 20 5 RIP Statistics...
Страница 386: ...Unicast Routing 20 42 20...
Страница 388: ...Command Line Interface...
Страница 400: ...Overview of the Command Line Interface 21 12 21...
Страница 466: ...SNMP Commands 24 16 24...
Страница 520: ...Access Control List Commands 26 18 26...
Страница 546: ...Rate Limit Commands 30 2 30...
Страница 612: ...VLAN Commands 34 24 34...
Страница 626: ...Class of Service Commands 35 14 35...
Страница 670: ...DHCP Commands 39 16 39...
Страница 716: ...IP Interface Commands 41 36 41...
Страница 768: ...IP Routing Commands 42 52 42...
Страница 770: ...Appendices...
Страница 791: ......
Страница 792: ...ES4626F ES4650F E062009 R01 ST 149100000013A...