Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual page 352

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Configuring Policy-Based Forwarding
Figure 16-9 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
set security acl ip ip1 permit arp
set security acl ip ip1 redirect
set security acl ip ip1 redirect
set security acl ip ip1 redirect
set security acl ip ip1 redirect
set security acl ip ip1 permit ip any any
#ip2
set security acl ip ip2 permit arp
set security acl ip ip2 redirect
set security acl ip ip2 redirect
set security acl ip ip2 redirect
set security acl ip ip2 redirect
set security acl ip ip2 permit ip any any
#pbf set
set pbf mac 00-11-22-33-44-55
#
commit security acl all
set security acl map ip1 1
set security acl map ip2 2
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
16-56
Catalyst 6500 series switches
PFC2 MAC address:
00-11-22-33-44-55
6/17
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
a_1
ip host 44.0.0.1 host 43.0.0.1
a_2
ip host 44.0.0.2 host 43.0.0.2
a_3
ip host 44.0.0.3 host 43.0.0.3
a_4
ip host 44.0.0.4 host 43.0.0.4
b_1
ip host 43.0.0.1 host 44.0.0.1
b_2
ip host 43.0.0.2 host 44.0.0.2
b_3
ip host 43.0.0.3 host 44.0.0.3
b_4
ip host 43.0.0.4 host 44.0.0.4
Chapter 16
Configuring Access Control
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents