Chapter 5 Configuring Access Lists and Filtering GSS Traffic
Filtering GSS Traffic Using Access Lists
5-8
Cisco Global Site Selector Administration Guide
OL-10410-01
Disassociating an Access List from a GSS Interface
You can dissociate an access list from the associated GSS interface by using the
no
form of the
access-group
command. Disassociating an access list from an
interface removes all constraints applied to the Ethernet interface. You must have
access to the CLI of each GSS device to disassociate access lists from a GSS
interface.
For example, to disassociate the access list named
alist1
from the first interface
on your GSS device, you enter:
gss1.example.com#
config
gss1.example.com(config)#
no access-group alist1 interface eth0
See the
“Associating an Access List with a GSS Interface”
section for an
explanation of
access-group
command syntax.
Adding Rules to an Access List
After you create one or more access lists, you can append rules to them at any
time. Use the
access-list
command to add a new rule to an existing access list.
For example, to add a new rule to the access list named
alist1
to block all traffic
from host 192.168.1.101, enter:
gss1.example.com#
config
gss1.example.com(config)#
access-list alist1 deny tcp host
192.168.1.101
See the
“Creating an Access List”
section for an explanation of
access-list
command syntax.
Use the
show access-list
command to verify that the rule is added to your access
list.
gss1.example.com(config)#
show access-list
access-list:alist1
access-list alist1 permit tcp any destination-port eq 443
access-list alist1 deny tcp host 192.168.1.101