116 Summit 300-48 Switch Software User Guide
Access Policies
Access Control List ExamplesThis section presents three access control list examples:
•Using the permit-establish keyword
•Filtering ICMP packets
•Using a rate limit
Using the Permit-Established Keyword
This example uses an access list that permits TCP sessions (Telnet, FTP, and HTTP) to be established in
one direction.
The switch, shown in Figure 7, is conf igured as follows:
•Two VLANs, NET10 VLAN and NET20 VLAN, are defined.
•The NET10 VLAN is connected to port 1:2 and the NET20 VLAN is connected to port 1:10
•The IP addresses for NET10 VLAN is 10.10.10.1/24.
•The IP address for NET20 VLAN is 10.10.20.1/24.
•The workstations are configured using addresses 10.10.10.100 and 10.10.20.100.
•IPForwarding is enabled.
Figure 7: Permit-established access list example topology
The following sections describe the steps used to configure the example.
delete access-mask <name> Deletes an access mask. Any access lists or rate
limits that reference this mask must first be
deleted.
delete rate-limit <name> Deletes a rate limit.
show access-list {<name> | ports <portlist> } Displays access-list information.
show access-mask {<name>} Displays access-list information.
show rate-limit {<name> | ports <portlist>} Displays access-list information.
Table 3 9: Access Control List Configuration C ommands (continued)
Command Description
LB48009
10.10.10.1
10.10.10.100 10.10.20.100
10.10.20.1
NET20 VLANNET10 VLAN