16-50
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 16 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)
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 to be rewritten (destination VLAN and source and destination MAC
addresses) and forwarded to the destination VLAN.
Note that the source MAC address is optional. If you do not specify the source MAC address, the system
defaults to the PBF MAC address.
Note
You can configure a maximum of 256 adjacency table entries for a VLAN. The maximum number of
adjacency table entries is 1023.
Note
To enable jumbo frame forwarding using PBF, enter the
mtu
keyword in the
set security acl
adjacency
command.
The order of entries in a PBF VACL is important. The adjacency table entry has to be defined in the VACL
before the redirect ACE because the redirect ACE uses it to redirect traffic. You should create entries for
PBF VACLs in the following order:
1.
Specify the adjacency table entry.
2.
Specify the redirect ACE in the PBF VACL that is using the adjacency table entry.
3.
Commit the adjacency table entry.
4.
Commit the PBF VACL.
5.
Map the PBF VACL to a single VLAN or multiple VLANs.
Note
You can combine steps 3 and 4 by entering the
commit security acl all
command.
Note
The same adjacency table entry can be used by more than one redirect ACE.