Pe2 configuration – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual
Page 403

Multi-Service IronWare Routing Configuration Guide
375
53-1003033-02
Configuring Multi-VRF
Brocade(config)# vlan 10
Brocade(config-vlan-10)# tagged e 1/1
Brocade(config-vlan-10)# router-interface ve 10
Brocade(config-vlan-10)# vlan 20
Brocade(config-vlan-20)# tagged e 1/1
Brocade(config-vlan-20)# router-interface ve 20
Brocade(config-vlan-20)# exit
Brocade(config)# vrf green
Brocade(config-vrf-green) rd 10:10
Brocade(config-vrf-green) vrf red
Brocade(config-vrf-red) rd 20:20
Brocade(config-vrf-red) exit-vrf
Brocade(config)# router bgp
Brocade(config-bgp)# local-as 1
Brocade(config-bgp)# address-family ipv4 unicast vrf green
Brocade(config-bgp-ipv4u-vrf)# neighbor 10.3.1.2 remote-as 2
Brocade(config-bgp-ipv4u-vrf)# network 10.3.1.0/24
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf match internal
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf match external1
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf match external2
Brocade(config-bgp-ipv4u-vrf)# exit
Brocade(config)# router bgp
Brocade(config-bgp)# address-family ipv4 unicast vrf red
Brocade(config-bgp-ipv4u-vrf)# neighbor 10.3.1.2 remote-as 2
Brocade(config-bgp-ipv4u-vrf)# network 10.3.1.0/24
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf match internal
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf match external1
Brocade(config-bgp-ipv4u-vrf)# redistribute ospf match external2
Brocade(config-bgp-ipv4u-vrf)# exit
Brocade(config)# router ospf vrf green
Brocade(config-ospf-router-vrf-green)# area 0
Brocade(config-ospf-router-vrf-green)# redistrbution bgp
Brocade(config-ospf-router-vrf-green)# exit
Brocade(config)# router ospf vrf red
Brocade(config-ospf-router-vrf-red)# area 0
Brocade(config-ospf-router-vrf-red)# redistrbution bgp
Brocade(config-ospf-router-vrf-red)# exit
Brocade(config)# interface ethernet 1/2
Brocade(config-if-e1000-1/2)# vrf forwarding green
Brocade(config-if-e1000-1/2)# ip ospf area 0
Brocade(config-if-e1000-1/2)# ip address 10.1.1.1/24
Brocade(config-if-e1000-1/2)# interface ethernet 1/3
Brocade(config-if-e1000-1/3)# vrf forwarding red
Brocade(config-if-e1000-1/3)# ip ospf area 0
Brocade(config-if-e1000-1/3)# ip address 10.1.1.1/24
Brocade(config-if-e1000-1/3)# exit
Brocade(config)# interface ve 10
Brocade(config-vif-10)# vrf forwarding green
Brocade(config-vif-10)# ip address 10.3.1.1/24
Brocade(config-vif-10)# Interface ve 20
Brocade(config-vif-10)# vrf forwarding red
Brocade(config-vif-10)# ip address 10.3.1.1/24
PE2 Configuration:
The PE2 configuration is a mirror image of the PE1 configuration. The only difference is that the
BGP neighbor is port 1/1 on PE1 which has an IP address of 10.3.1.1. This is used in the BGP
configuration.