16-48
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 16 Configuring Access Control
Configuring Policy-Based Forwarding
Configuring Policy-Based Forwarding
This section provides guidelines and configuration examples for PBF. The configuration examples use
the example configuration shown in
Figure 16-8
. The Catalyst 6000 family switch redirects all the traffic
coming from Host A on VLAN 10 to Host B on VLAN 11, and redirects traffic from Host B to Host A.
This section contains the following example procedures:
•
Enabling PBF and Specifying a MAC Address for the PFC2, page 16-48
•
Configuring VACLs for PBF, page 16-50
•
Displaying PBF Information, page 16-52
•
Clearing Entries in PBF VACLs, page 16-52
•
Rolling Back Adjacency Table Entries in the Edit Buffer, page 16-53
•
Configuring Hosts for PBF, page 16-53
Figure 16-8 Policy-Based Forwarding
Enabling PBF and Specifying a MAC Address for the PFC2
Note
The MAC address can be a default or user-specified MAC address.
The default MAC address is taken
from a MAC address PROM on the Catalyst 6000 family switch chassis. When specifying a MAC
address using the
set pbf mac
command, ensure that the MAC address is unique and not already
being used on any interfaces.
We recommend that you use the default MAC address provided by the MAC address PROM. When
you specify your own MAC address using the
set pbf mac
command, if the MAC address is a
duplicate of a MAC address already in use, packets might get dropped.
VLAN 11
Host A
IP 10.0.0.1
MAC 00:00:00:00:00:0A
Host B
IP 11.0.0.1
MAC 00:00:00:00:00:0B
Interface: Ethernet0
VLAN 10
PFC2 MAC address:
00-11-11-11-11-11
Catalyst 6500 series switches
Interface: Ethernet1
58995