WS5100 Series Switch CLI Reference Guide
14-6
Usage Guidelines
Use this command to deny traffic between networks/hosts based on the protocol type
selected in the access list configuration. The following protocol types are supported:
• ip
• icmp
• tcp
• udp
The last ACE in the access list is an implicit deny statement.
Whenever the interface receives the packet, its content is checked against the ACEs in the
ACL. It is allowed/denied based on the ACL configuration.
• Filtering TCP/UDP allows the user to specify port numbers as filtering criteria
• Select the ICMP as the protocol to allow/deny ICMP packets. Selecting icmp provides
the option of filtering icmp packets based on icmp type and code
Example
The following example denies traffic between two subnets:
WS5100(config-ext-nacl)#deny ip 192.168.2.0/24 192.168.1.0/24
WS5100(config-ext-nacl)#permit ip any any
WS5100(config-ext-nacl)#
The following example denies TCP traffic with a source port range between 20 - 23 (from
the source subnet to destination subnet):
WS5100(config-ext-nacl)#deny tcp 192.168.1.0/24 192.168.2.0/
24 range 20 23
WS5100(config-ext-nacl)#permit ip any any
WS5100(config-ext-nacl)#
The following example denies UDP traffic with a source port range between 20 - 23 (from
the source subnet to destination subnet):
WS5100(config-ext-nacl)#deny udp 192.168.1.0/24 192.168.2.0/
24 range 20 23
WS5100(config-ext-nacl)#permit ip any any
WS5100(config-ext-nacl)#
NOTE:
The log option is functional only for router ACL’s. The log option
displays an informational logging message about the packet that
matches the entry sent to the console.
Содержание WS5100 Series
Страница 1: ...M WS5100 Series Switch CLI Reference Guide ...
Страница 14: ...WS5100 Series Switch CLI Reference Guide xviii ...
Страница 28: ...WS5100 Series Switch CLI Reference Guide TOC 14 ...
Страница 40: ...WS5100 Series Switch CLI Reference Guide 1 12 ...
Страница 132: ...WS5100 Series Switch CLI Reference Guide 3 10 ...
Страница 164: ...WS5100 Series Switch CLI Reference Guide 4 32 ...
Страница 240: ...WS5100 Series Switch CLI Reference Guide 6 10 ...
Страница 258: ...WS5100 Series Switch CLI Reference Guide 9 4 ...
Страница 270: ...WS5100 Series Switch CLI Reference Guide 10 12 ...
Страница 332: ...WS5100 Series Switch CLI Reference Guide 14 22 ...
Страница 344: ...WS5100 Series Switch CLI Reference Guide 15 12 ...
Страница 482: ...WS5100 Series Switch CLI Reference Guide 20 64 ...
Страница 491: ......
Страница 492: ...MOTOROLA INC 1303 E ALGONQUIN ROAD SCHAUMBURG IL 60196 http www motorola com 72E 103896 01 Revision A January 2008 ...