16-25
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 16 Configuring Access Control
Using VACLs in your Network
Figure 16-6
shows that only the target server returns a DHCP response from the DHCP request.
Figure 16-6 Redirect DHCP Response for a Specific Server
Denying Access to a Server on Another VLAN
You can restrict access to a server on another VLAN. For example, server 10.1.1.100 in VLAN 10 needs
to have access restricted as follows (see
Figure 16-7
):
•
Hosts in subnet 10.1.2.0/24 in VLAN 20 should not have access.
•
Hosts 10.1.1.4 and 10.1.1.8 in VLAN 10 should not have access.
To deny access to a server on another VLAN, perform this task in privileged mode:
Catalyst 6500 series switches
with PFC
Target
server
Host B
Host A
Host C
VLAN 10
DHCP response packets
26962
VACL
1.2.3.4
Task
Command
Step 1
Deny traffic from hosts in subnet
10.1.2.0/8.
set security acl ip SERVER deny ip 10.1.2.0 0.0.0.255 host
10.1.1.100
Step 2
Deny traffic from host 10.1.1.4.
set security acl ip SERVER deny ip host 10.1.1.4 host
10.1.1.100
Step 3
Deny traffic from host 10.1.1.8.
set security acl ip SERVER deny ip host 10.1.1.8 host
10.1.1.100
Step 4
Permit other IP traffic.
set security acl ip SERVER permit ip any any
Step 5
Commit the VACL.
commit security acl SERVER
Step 6
Map the VACL to VLAN 10.
set security acl map SERVER 10