beautypg.com

Policy based routing with the preserve vlan option, Displaying ipv6 pbr selected next hop information – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 797

background image

Multi-Service IronWare Routing Configuration Guide

769

53-1003033-02

Policy based routing with the preserve VLAN option

Syntax: show route-map [map-name]

The map-name variable is the name of the route map you want to view.

Displaying IPv6 PBR selected next hop information

To view the PBR selected next hop information on the Brocade NetIron CES and Brocade NetIron
CER use the show pbr inte ve command.

Brocade# show pbr int ve 20

Interface VE 20

No PBR routemap

IPv6 PBR Routemap pbr-1

PPCR 1:1: Routemap instance 5

Valid 1 ACL ipv6acl First table index 10

Metro Specific information in PPCR: 1:1

Instance No: 5

SET information

Next-Hop To NH value PumaNextStage SW NextStage id HW NextStage id Resolved

IPv6 address 2001:db8:5::2 IPv6 NEXT HOP 0x02000020 32 Y

IPv6 address 2001:db8:5::3 IPv6 NEXT HOP 0xFFFFFFFF -1 N

IPv6 address 2001:db8:4::2 IPv6 NEXT HOP 0x02000021 33 Y

The SET information table provides the hop status list. The ACL uses the first resolved next hop.

Syntax: show pbr int ve id

Policy based routing with the preserve VLAN option

When an IP packet matches the PBR policy with the preserve-vlan option, the Layer 2 and Layer 3
information is retained (for example, the VLAN information and the MAC address are retained). The
hop limit is not decremented. A packet is sent to the configured next hop. IP packets not matching
the PBR policy with preserve-vlan will be dropped. If none of the policy's direct routes or next hops
are available, the packets are forwarded as per the routing table.

Configuring a physical interface to accept all VLAN packets
for PBR

The allow-all-vlan pbr command configures a physical interface to accept all VLAN packets for the
purpose of PBR. This command reduces configuration complexity since the physical interface does
not have to be configured individually in multiple VLAN interfaces.

Syntax: allow-all-vlan pbr

NOTE

The allow-all-vlan pbr command cannot be applied to a VE.