Displaying ipv4 routes in vrf one import, Displaying outputs routed from other vrf, Configuring routes from multiple vrfs – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 417

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

389

53-1003033-02

Configuring Inter-VRF routing

Displaying IPv4 routes in VRF one import

To display IP information for a specified VRF import, enter the following command at any level of the
CLI.

Brocade(config)#show ip route vrf one import

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

BGP Codes - i:iBGP e:eBGP

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link

Destination Gateway Port Cost Type Uptime src-vrf

1 10.0.0.0/8 10.25.104.1 eth1/1 20 O 4d1h c

2 10.1.0.0/16 10.25.103.1 eth2/1 20 O 3d1h b

3 10.40.0.0/8 10.25.105.1 eth2/1 20 O 3d1h default

Displaying outputs routed from other VRF

To display all the other VRFs from where the routes will be imported into this VRF, enter the
following command at any level of the CLI.

Syntax: show ip vrf vrf-name

Brocade#show ip vrf one

VRF one, default RD 1001:11, Table ID 2 IFL ID 131070

Label: 500000, Label-Switched Mode: OFF

IP Router-Id: 10.1.1.2

Interfaces:

e2/8

No Export VPN route-target communities

No Import VPN route-target communities

No import route-map

No export route-map

Address Family IPv4

Max Routes: 5120

Imports routes from VRF: a, b, c, d

No Export VPN route-target communities

No Import VPN route-target communities

Address Family IPv6

Max Routes: 128

Imports routes from VRF: a, b

No Export VPN route-target communities

No Import VPN route-target communities

Configuring routes from multiple VRFs

This example shows the sequence of commands in configuring routes from multiple VRFs.

Brocade# vrf a

Brocade# rd 1111:11

Brocade# address-family ipv4

Brocade# import routes vrf b route-map import-map

Brocade# import routes vrf c route-map import-map

Brocade# exit-address-family

Brocade# address-family ipv6

Brocade# import routes vrf b route-map import-v6map

Brocade# exit-address-family

Brocade# exit-vrf

Advertising