Using Access Control Lists
Summit24e3 Switch Installation and User Guide
101
First, create an access-mask that examines the IP protocol field for each packet. Then create two
access-lists, one that blocks all TCP, one that blocks UDP. Although ICMP is used in conjunction with IP,
it is technically not an IP data packet. Thus, ICMP data traffic, such as ping traffic, is not affected.
The following commands creates the access mask and access lists:
create access-mask ipproto_mask ipprotocol ports precedence 25000
create access-list denytcp ipproto_mask ipprotocol tcp ports 2,10 deny
create access-list denyudp ipproto_mask ipprotocol udp ports 2,10 deny
Figure 13 illustrates the outcome of the access control list.
Figure 13: Access control list denies all TCP and UDP traffic
Step 2 – Allow TCP traffic.
The next set of access list commands permits
TCP-based traffic to flow. Because each session is
bi-directional, an access list must be defined for each direction of the traffic flow. UDP traffic is still
blocked.
The following commands create the access control list:
create access-mask ip_addr_mask ipprotocol dest-ip/32 source-ip/32 ports precedence
20000
create access-list tcp1_2 ip_addr_mask ipprotocol tcp dest-ip 10.10.20.100/32
source-ip 10.10.10.100/32 ports 2 permit qp1
create access-list tcp2_1 ip_addr_mask ipprotocol tcp dest-ip 10.10.10.100/32
source-ip 10.10.20.100/32 ports 10 permit qp1
Figure 14 illustrates the outcome of this access list.
EW_088
10.10.10.1
10.10.10.100
10.10.20.100
10.10.20.1
NET20 VLAN
NET10 VLAN
TCP
UDP
ICMP
Содержание Summit Summit24
Страница 12: ...12 Contents Summit24e3 Switch Installation and User Guide Index Index of Commands ...
Страница 14: ...14 Figures Summit24e3 Switch Installation and User Guide ...
Страница 24: ...24 Summit24e3 Switch Installation and User Guide Summit24e3 Switch Overview ...
Страница 32: ...32 Summit24e3 Switch Installation and User Guide Switch Installation ...
Страница 78: ...78 Summit24e3 Switch Installation and User Guide Configuring Ports on a Switch ...
Страница 118: ...118 Summit24e3 Switch Installation and User Guide Network Address Translation NAT ...
Страница 132: ...132 Summit24e3 Switch Installation and User Guide Ethernet Automatic Protection Switching ...
Страница 146: ...146 Summit24e3 Switch Installation and User Guide Quality of Service QoS ...
Страница 158: ...158 Summit24e3 Switch Installation and User Guide Status Monitoring and Statistics ...
Страница 204: ...204 Summit24e3 Switch Installation and User Guide Interior Gateway Routing Protocols ...
Страница 212: ...212 Summit24e3 Switch Installation and User Guide Safety Information ...
Страница 216: ...216 Summit24e3 Switch Installation and User Guide Supported Standards ...
Страница 238: ...238 Index Summit24e3 Switch Installation and User Guide ...
Страница 244: ...244 Index of Commands Summit24e3 Switch Installation and User Guide ...