beautypg.com

Enabling vrrp for vrf – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 611

background image

a)

Enter VRF configuration mode and specify "orange" as the VRF name.

switch(config-rbridge-id-1)# vrf orange

b)

Specify the router differentiator.

switch(config-vrf-orange)# rd 1:1

c)

Enable IPv4 address-family support for VRF routing, and specify the maximum number of
routes to be used.

switch(config-vrf-orange)# address-family ipv4 max-route 3600

3. Enable the OSPF routing protocol for the instance in VRF configuration mode, and assign it to area

10.

NOTE
All OSPF commands that are present under OSPF router configuration mode are applicable to the
new OSPF VRF router configuration mode for a non-default VRF instance, the same as for the
default VRF instance.

switch(vrf-ipv4)# router ospf vrf orange

switch(config-router-ospf-vrf-orange)# area 10

switch(vrf-ipv4)# exit

switch(config-vrf-orange)# exit

4. Bind the interface to the VRF instance.

NOTE
After a VRF instance is enabled on an interface, all Layer 3 configurations on the interface are
removed, and you will need to configure them again.

switch(config)# rbridge-id 1

switch(config-rbrfidge-id-1)# interface ve 128

switch(config-Ve-128)# vrf forwarding orange

switch(config-vrf-orange)# address-family ipv4 max-route 3600

5. Configure the static routes.

switch(vrf-ipv4)# ip route 10.31.1.0/30 10.30.2.1

6. Configure static ARP for the interface.

switch(vrf-ipv4)# arp 10.2.2.3 0000.0011.0022 int ve 128

7. Confirm the VRF configuration with the show vrf command (using do in this configuration mode).

switch(vrf-ipv4)# do show vrf

Total number of VRFs configured: 1

Status Codes - A: active, D: pending deletion, I: inactive

Name Default RD IFL ID vrf|v4|v6 Interfaces

orange 1:1 131072 A | A| I Ve 128

Enabling VRRP for VRF

To enable the Virtual Router Redundancy Protocol (VRRP) or VRRP-Extended (VRRP-E) for a Virtual
Routing and Forwarding (VRF) region, an interface should be assigned to a VRF before enabling the
VRRP or VRRP-E protocol. The VRRP protocol is enabled or disabled globally on the switch under
RBridge ID configuration mode; it cannot be enabled or disabled on a specific VRF instance.

For more information on the VRRP protocol on Brocade switches, refer to

VRRP overview

on page 597.

1. Enter RBridge ID configuration mode.

switch(config)# rbridge-id 1

2. Set the protocol to VRRP.

switch(config-rbridge-id-1)# protocol vrrp

3. Select the interface.

switch(config-rbridge-id-1)# interface ve 128

4. Configure an IP address for the interface.

switch(config-rbridge-id-1)# ip address 172.128.20.10/24

Enabling VRRP for VRF

Network OS Administrator’s Guide

611

53-1003225-04