15-115
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 15 Configuring Access Control
Configuring Policy-Based Forwarding
Step 3
Configure one PBF gateway called GATEWAY-TEST.
Console> (enable)
set pbf gw GATEWAY-TEST 10.0.0.100 255.255.255.0 11-11-22-22-3 3-3 3 1
Commit operation successful.
Console> (enable)
show pbf gw
Name : GATEWAY-TEST
Map : No map
VLAN : 3
Gateways : 1
Adjacency ip mask mac
----------------------------------------------------------------
.g0001GATEWAY-TEST 10.0.0.100 255.255.255.0 11-11-22-22-33-03
Step 4
Build the PBF map between the client (CLIENT-TEST) and the gateway (GATEWAY-TEST).
Console> (enable)
set pbf-map CLIENT-TEST GATEWAY-TEST
.cCLIENT-TEST editbuffer modified. Use 'commit' command to apply changes.
.cCLIENT-TEST editbuffer modified. Use 'commit' command to apply changes.
.gGATEWAY-TEST editbuffer modified. Use 'commit' command to apply changes.
.cCLIENT-TEST editbuffer modified. Use 'commit' command to apply changes.
.gGATEWAY-TEST editbuffer modified. Use 'commit' command to apply changes.
Console> (enable) ACL commit in progress.
ACL commit in progress.
Console> (enable) Console> (enable) Mapping in progress.
Please configure VLAN 10.
ACL .cCLIENT-TEST successfully mapped to VLAN 10.
Console> (enable) Mapping in progress.
Please configure VLAN 3.
ACL .gGATEWAY-TEST successfully mapped to VLAN 3.
Console> (enable)
show pbf client
Name : CLIENT-TEST
Map : GATEWAY-TEST,
VLAN : 10
Clients : 1
Adjacency ip mac
-------------------------------------------------
.c0000CLIENT-TEST 10.0.0.10 00-00-11-11-22-22
Console> (enable)
show pbf gw
Name : GATEWAY-TEST
Map : CLIENT-TEST,
VLAN : 3
Gateways : 1
Adjacency ip mask mac
----------------------------------------------------------------
.g0001GATEWAY-TEST 10.0.0.100 255.255.255.0 11-11-22-22-33-03
Console> (enable)
show pbf map
Adjacency ACL
------------------ --------------------
.c0000CLIENT-TEST .gGATEWAY-TEST
.g0001GATEWAY-TEST .cCLIENT-TEST