beautypg.com

Defining a vrf routing instance, Assigning a route distinguisher to a vrf – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 645

background image

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

621

53-1003031-02

Configuring BGP VPNs on a PE

6

13.

“Configuring a PE to allow routes with its AS number”

14.

“Setting up LSPs per VRF”

15.

“Configuring OSPF sham links”

16.

“Configuring OSPF on a PE device to redistribute BGP-VPNv4 routes”

17.

“Generating traps for VRFs”

Defining a VRF routing instance

A single PE can contain one or more VRFs. Each of these VRFs must be defined separately on a PE.
A PE distributes routes and route packets to other members of the same VRF but not to other VRFs.
The VRF name can be any string that the user wants to define it as.

To define the VRF routing instance VPN1 on a PE, enter the following command.

Brocade(config)# vrf VPN1

Brocade(config-vrf-vpn1)# exit-vrf

Brocade(config)#

Syntax: [no] vrf vrf_name

Configures a VRF table on the device with the name vrf_name and puts the device in config-vrf
mode.

The vrf_name parameter specifies a name for the VRF being created.

Syntax: [no] exit-vrf

The exit-vrf command moves the user out of the VRF configuration mode for the VRF the user is
configuring.

Assigning a Route Distinguisher to a VRF

Each instance of a VRF must have a unique Route Distinguisher (RD) assigned to it. The RD is
prepended on any address being routed or advertised. The RD can be defined as either
ASN-relative or IP address-relative. Because the RD is unique to an instance of a VRF, it allows the
same IP address to be used in different VPNs without creating any conflict.

To assign a Route Distinguisher (RD) for a VRF based on the AS number 3 and the arbitrary
identification number 6, enter the following command.

Brocade(config-vrf)# rd 3:6

Syntax: [no] rd route_distinguisher