15-104
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring Policy-Based Forwarding
Specifying a PBF_MAP_ACL
Note
The ACL name that is used by the
set pbf-map
command is reserved for this command. When you enter
the
set security acl
command, you cannot use any name that starts with PBF_MAP_ACL. The name that
is used for the adjacency information is also reserved for the
set pbf-map
command. When you enter
the
set security acl adjacency
command, you cannot use any name that starts with PBF_MAP_ADJ.
To specify a PBF_MAP_ACL, perform this task in privileged mode:
This example shows how to specify a PBF_MAP_ACL:
Console> (enable)
set pbf-map 1.1.1.1 0-0-0-0-0-1 11 2.2.2.2 0-0-0-0-0-2 22
Commit operation successful.
Commit operation successful.
ACL 'PBF_MAP_ACL_11' successfully committed.
Console> (enable)
ACL PBF_MAP_ACL_11 successfully mapped to VLAN 11.
Console> (enable)
ACL 'PBF_MAP_ACL_22' successfully committed.
Console> (enable)
ACL PBF_MAP_ACL_22 successfully mapped to VLAN 22.
Console> (enable) Operation successful.
Console> (enable)
Displaying the PBF_MAP_ACL Information
To display the PBF_MAP_ACL information, perform this task in normal mode:
This example shows how to display the PBF-related ACEs for the specified VLAN and the statistics for
each adjacency used:
Console> (enable)
show pbf-map 11
Index DstVlan DstMac SrcMac HitCount(hex) Name
-------------------------------------------------------------------------
1 22 00-00-00-00-00-02 00-00-00-00-00-00 0x00000000 PBF_MAP_ADJ_1
Console> (enable)
This example shows the PBF map configuration:
Console> (enable)
show pbf-map config
set pbf_map 1.1.1.1 00-00-00-00-00-01 11 2.2.2.2 00-00-00-00-00-02 22
Console> (enable)
Task
Command
Specify a PBF_MAP_ACL.
set pbf-map
ip_addr_1 mac_1 vlan_1 ip_addr_2 mac_2
vlan_2
Task
Command
Display the PBF_MAP_ACL
information.
show pbf-map
{
vlan
|
config
}