Pbf Configuration Example - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Configuring Policy-Based Forwarding
MS-Windows/NT/2000 Hosts
You must set the static ARP entries on Windows-based PCs. For Windows-based PCs, you do not need
to set up any dummy gateways for switching between the VLANs with PBF.
This example shows how to configure the static ARP entries in Windows-based platforms:
C:\> arp -s 11.0.0.1 00-11-11-11-11-11
In this example, 00-11-11-11-11-11 is the PBF MAC address and 11.0.0.1 is the IP address of the
destination host.
If you need to configure more hosts, you can create a batch file with the ARP entries to each destination
host and specify that Windows use this file at startup.

PBF Configuration Example

This section provides the example configurations to enable PBF between the hosts on VLAN 1 and the
hosts on VLAN 2 (see
Figure 15-11
Policy-Based Forwarding Configuration Example
VLAN 1
VLAN 1 Hosts
IP: 44.0.0.1 - 44.0.0.17
MAC:00-20-20-20-20-20 -
00:20:20:20:20:2f
Interface: Port 4/1
This example shows the switch configuration file that was created to enable PBF between the hosts on
VLAN 1 and VLAN 2. Only the first four hosts from each VLAN are shown in the example (44.0.0.1
through 44.0.0.4 and 43.0.0.1 through 43.0.0.4).
#security ACLs
clear security acl all
#adj set
set security acl adjacency a_1 2 00-0a-0a-0a-0a-0a
set security acl adjacency a_2 2 00-0a-0a-0a-0a-0b
set security acl adjacency a_3 2 00-0a-0a-0a-0a-0c
set security acl adjacency a_4 2 00-0a-0a-0a-0a-0d
set security acl adjacency b_1 1 00-20-20-20-20-20
set security acl adjacency b_2 1 00-20-20-20-20-21
set security acl adjacency b_3 1 00-20-20-20-20-22
set security acl adjacency b_4 1 00-20-20-20-20-23
#ip1
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
15-100
Figure
15-11).
Catalyst 6500 series switches
PFC2 MAC address:
00-11-22-33-44-55
6/17
Chapter 15
6/9
VLAN 2
VLAN 2 Hosts
IP: 43.0.0.1 - 43.0.0.17
MAC:00-0a-0a-0a-0a-0a -
00:0a:0a:0a:0a:19
Interface: Port 4/2
Configuring Access Control
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents