15-92
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring Policy-Based Forwarding
Configuring PBF from the CLI
Note
In addition to the guidelines and configuration examples in this section, see the
“Enhancements to PBF
Configuration (Software Releases 7.5(1) and Later)” section on page 15-102
and the
“Enhancements to
the PBF Configuration (Software Releases 8.3(1) and Later)” section on page 15-105
.
This section describes the guidelines and the configuration examples for PBF. The configuration
examples use the example configuration that is shown in
Figure 15-10
. The Catalyst 6500 series switch
redirects all the traffic coming from Host A on VLAN 10 to Host B on VLAN 11 and redirects the traffic
from Host B to Host A. This section contains these example procedures:
•
Enabling PBF and Specifying a MAC Address for the PFC2 or PFC3A/PFC3B/PFC3BXL,
page 15-92
•
Specifying the PBF MAC Address on a VLAN, page 15-94
•
Configuring VACLs for PBF, page 15-94
•
Displaying PBF Information, page 15-96
•
Clearing Entries in PBF VACLs, page 15-97
•
Rolling Back Adjacency Table Entries in the Edit Buffer, page 15-98
•
Configuring Hosts for PBF, page 15-98
Figure 15-10
Policy-Based Forwarding
Enabling PBF and Specifying a MAC Address for the PFC2 or PFC3A/PFC3B/PFC3BXL
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 6500 series switch chassis. When specifying a MAC address
using the
set pbf mac
command, ensure that the MAC address is unique and is not already being used
on any interfaces.
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