Ce 1 and ce 2 configurations – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual
Page 404

376
Multi-Service IronWare Routing Configuration Guide
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-vrf
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
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.1 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.1 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
CE 1 and CE 2 configurations
The CE1 and CE2 router configurations are exactly the same. Both are configured in OSPF Area 0
with route redistribution enabled. The IP addresses: 10.1.2.1/32 and 10.1.3.1/32 are configured
for the Loopback1 interface allowing them to carry routes from these networks.