beautypg.com

Applying ipv6 pbr next hop vlan flooding, Acl configuration, Route-map configuration – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 799: Apply route-map

background image

Multi-Service IronWare Routing Configuration Guide

771

53-1003033-02

Configuration examples

Brocade(config)# int ve 40

Brocade(config-vif-40)# ipv6 policy route-map map6

Preserve VLAN IDs and forwarding to multiple ports
within a VLAN

1. Configure the route map with set policies to preserve VLAN for IPv4/v6 traffic.

Brocade(config)# route-map test permit 100

Brocade(config-routemap test)# match ipv6 address v6-acl

Brocade(config-routemap test)# set next-hop-flood-vlan 200 preserve-vlan

Brocade(config-routemap test)# exit

2. Apply the route map to physical or VE interface.

Brocade(config)# interface ethernet 3/1

Brocade(config-if-e1000-3/1)# allow-all-vlan pbr

Brocade(config-if-e1000-3/1)# ipv6 policy route-map test

Brocade(config-if-e1000-3/1)# exit

Brocade(config-)# int ve 10

Brocade(config-vif-10)# ipv6 policy route-map test

Applying IPv6 PBR next hop VLAN flooding

This example demonstrates how to configure matched traffic to be flooded on all ports of the VLAN
except the incoming physical port.

ACL configuration

Brocade(config)#ipv6 access-list ipv6acl-3

Brocade(config-ipv6-access-list ipv6acl-3)#permit ipv6 2001:db8:3::/64

2001:db8:6::/64

Brocade(config-ipv6-access-list ipv6acl-3)#deny ipv6 any 2001:db8:6::/64

Brocade(config-ipv6-access-list ipv6acl-3)#exit

Route-map configuration

Brocade(config)#route-map pbr-2 permit 1

Brocade(config-routemap pbr-2)#match ipv6 address ipv6acl-3

Brocade(config-routemap pbr-2)#set next-hop-flood-vlan 30

Brocade(config-routemap pbr-2)#set next-hop-flood-vlan 40 outgoing-da

0000.0034.5678

Brocade(config-routemap pbr-2)#set next-hop-flood-vlan 20

Brocade(config-routemap pbr-2)#set ipv6 next-hop 2001:db8:5::2

Apply route-map

Brocade(config)#interface ethernet 1/3

Brocade(config-if-e1000-1/3)#ipv6 policy route-map pbr-2

Brocade(config)#interface ve 10

Brocade(config-vif-10)#ipv6 policy route-map pbr-2