2-370
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set pbf
set pbf
To enable policy-based forwarding (PBF) and to set a MAC address for the PFC2, use the set pbf
command.
set pbf [mac mac_address]
Syntax Description
Defaults You can use the default MAC address, or you can specify a MAC address. See the “Usage Guidelines”
section for more information.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines You must set a MAC address for the PFC2. We recommend that you use the default MAC address
provided by the MAC 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 be drop ped.
PBF is not supported with an operating (booted) MSFC2 in the Catalyst 6500 series switch that is being
used for PBF. If an MSFC2 is present but not booted, you can configure PBF.
PBF may require some configuration on attached hosts. When a router is not present in the network, ARP
table entries have to be statically added on each host participating in PBF. Refer to th e “Configuring
Policy-Based Forwarding” section of Chapter 16, “Configuring Access Control,” in the Catalyst 6500
Series Switch Software Configuration Guide for detailed information on configuring hosts.
Note PBF does not work with 802.1Q tunnel traffic. PBF is supported on Layer 3 IP unicast traffic, but it is
not applicable to Layer 2 traffic. At the intermediate (PBF) switch, all 802.1Q tunnel traffic appears as
Layer 2 traffic.
Examples This example shows how to set the default MAC address for the PFC2:
Console> (enable) set pbf
Console> (enable) Operation successful.
Console> (enable)
This example shows how to set a specific MAC address for the PFC2:
Console> (enable) set pbf mac 00-01-64-61-39-c2
Console> (enable) Operation successful.
Console> (enable)
mac mac_address (Optional) Specifies MAC address for the PFC2.