Using Access Control Lists
Summit 300-48 Switch Software User Guide
117
Step 1 – Deny IP Traffic.
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 1:2,1:10 deny
create access-list denyudp ipproto_mask ipprotocol udp ports 1:2,1:10 deny
Figure 8 illustrates the outcome of the access control list.
Figure 8: 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 1: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 1:10 permit qp1
Figure 9 illustrates the outcome of this access list.
LB48010
10.10.10.1
10.10.10.100
10.10.20.100
10.10.20.1
NET20 VLAN
NET10 VLAN
TCP
UDP
ICMP
Содержание Summit 300-48
Страница 12: ...12 Summit 300 48 Switch Software User Guide Figures...
Страница 22: ...22 Summit 300 48 Switch Software User Guide ExtremeWare Overview...
Страница 34: ...34 Summit 300 48 Switch Software User Guide Accessing the Switch...
Страница 62: ...62 Summit 300 48 Switch Software User Guide Configuring Ports on a Switch...
Страница 72: ...72 Summit 300 48 Switch Software User Guide Virtual LANs VLANs...
Страница 82: ...82 Summit 300 48 Switch Software User Guide Wireless Networking...
Страница 94: ...94 Summit 300 48 Switch Software User Guide Unified Access Security...
Страница 102: ...102 Summit 300 48 Switch Software User Guide Power Over Ethernet...
Страница 120: ...120 Summit 300 48 Switch Software User Guide Access Policies...
Страница 168: ...168 Summit 300 48 Switch Software User Guide IP Unicast Routing...
Страница 172: ...172 Summit 300 48 Switch Software User Guide Safety Information...
Страница 174: ...174 Summit 300 48 Switch Software User Guide Supported Standards...