15-94
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring Policy-Based Forwarding
This example shows how to clear the PBF MAC address:
Console> (enable)
clear pbf
PBF cleared.
Console> (enable)
Console> (enable)
show pbf
Pbf status Mac address
----------- ------------------
not set 00-00-00-00-00-00
Console> (enable)
Specifying the PBF MAC Address on a VLAN
Note
This PBF configuration step is required only on the Supervisor Engine 720 with
PFC3A/PFC3B/PFC3BXL.
The
set pbf vlan
vlan
command creates the PBF Layer 2 CAM entries on the specified VLANs. The packets
that match these entries are classified as Layer 3 packets. The Layer 2 entries are created only if the PBF
MAC address is set using the
set pbf mac
command before using the
set pbf vlan
command.
To specify the PBF MAC address on a VLAN, perform this task in privileged mode:
This example shows how to specify the PBF MAC address on a VLAN:
Console> (enable)
set pbf vlan 11-12
Console> (enable) PBF enabled on vlan(s) 11-12.
Operation successful.
Console> (enable)
show pbf
Pbf status Mac address
Vlans
----------- ------------------
---------
ok 00-01-64-f8-39-18
11-12
Console> (enable)
The message “Operation successful” indicates that the PBF MAC address was saved in NVRAM.
Entering the
clear pbf
command does not clear the VLANs that are enabled for PBF. The
clear pbf
command
clears the Layer 2 table entries that are associated with the VLANs (because the MAC address is no longer
valid). You must explicitly clear the PBF-enabled VLANs to remove them from NVRAM by
entering the
clear pbf vlan
vlan_list
command.
Configuring VACLs for PBF
Note
Enter the
set security acl adjacency
command to
specify the rewrite information in the adjacency table
that causes the packet header (the destination VLAN and source and destination MAC addresses) to be
rewritten and forwarded to the destination VLAN.
The source MAC address is optional. If you do not specify the source MAC address, the system
defaults to
the PBF MAC address.
Task
Command
Specify the PBF MAC address on a VLAN.
set pbf vlan
vlan