Chapter 5: Quality of Service
3. Verify the configuration.
ex2500# | show |
| |
Standard IP Access List | 1 |
| |
| |||
Source IP address |
| : 0.0.0.0 | |
Source IP address mask |
| : 0.0.0.0 | |
Destination IP address |
| : 100.10.1.1 | |
Destination IP address | mask | : 255.255.255.255 | |
In Port List |
| : 1 | |
Filter Action |
| : Deny | |
Status |
|
| : InActive |
ACL Example
Use this configuration to block traffic from a network destined for a specific host address. All traffic that ingresses port 10 with source IP from the class 100.10.1.0/24 and destination IP 200.20.2.2 is denied.
1.Configure an Access Control List.
ex2500(config)#
2.Assign the ACL to port 10.
ex2500(config)# interface port 10
ACL Example 3—Blocking HTTP Traffic
Use this configuration to block HTTP traffic on a port.
1.Configure an Access Control List.
ex2500(config)#
2.Add the ACL to a port.
ex2500(config)# interface port 12
Using ACL Filters 57