Acl configuration examples, Example 1, Acl configuration examples 100 – Blade ICE G8000 User Manual

Page 100

Advertising
background image

RackSwitch G8000 Application Guide

100

„

Chapter 6: Quality of Service

BMD00041, November 2008

ACL configuration examples

Example 1

Use this configuration to block traffic to a specific host. All traffic that ingresses port 1 is
denied if it is destined for the host at IP address 100.10.1.1

1.

Configure an Access Control List.

2.

Assign the ACL to port 1.

3.

Verify the configuration.

RS G8000 (config)# access-list ip standard 1

RS G8000 (config-std-nacl)# deny any host 100.10.1.1

RS G8000 (config-std-nacl)# exit

RS G8000 (config)# interface port 1

RS G8000 (config-if)# ip access-group 1 in

RS G8000 (config-if)# exit

RS G8000# show access-list 1

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

Out Port List : NULL

Filter Action : Deny

User Priority : Nil

Statistics : Disabled

Status : Active

Advertising