12.07.2015 Views

BROCADE IP PRIMER

BROCADE IP PRIMER

BROCADE IP PRIMER

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MPLS Layer 3 VPNsConfiguring MPLS Layer 3 VPNsHere’s an example for configuring MLPS Layer 3 VPNs. This configurationexample makes the assumption that it is CE to PE is OSPF and that the MPLScore (LSR) are configured.On the LER (Provider Edge Router), enter the following to enable OSPF:BR-Switch(config)#ip vrf (vrf name)BR-Switch(config)# rd (asn:nn)BR-Switch(config)# route-target both (asn:nn)BR-Switch(config)# router ospfBR-Switch(config)# area (area number)BR-Switch(config)#route-onlyBR-Switch(config)# interface (intf)BR-Switch(config)# ip vrf forwarding (vrf name)BR-Switch(config)# ip address (address/mask)BR-Switch(config)# ip ospf area (area number)Note the AREA value should be the same as the AREA value inrouter OSPF.BR-Switch(config)# enableBR-Switch(config)# router ospf vrf (vrf name)BR-Switch(config)# area (area number)BR-Switch(config)# area (area number) sham-link (source)(destination) (cost)BR-Switch(config)# redistribute bgpBR-Switch(config)# router bgpBR-Switch(config)# local-as (as number)BR-Switch(config)# neighbor (<strong>IP</strong> address) remote-as (asnumber)BR-Switch(config)# neighbor (<strong>IP</strong> address) update-sourceloopback 1BR-Switch(config)# address-family vpnv4 unicastBR-Switch(config)# neighbor (<strong>IP</strong> address) activateBR-Switch(config)# address-family ipv4 unicast vrf (vrfame)BR-Switch(config)# redistribute ospfBR-Switch(config)# router mplsBR-Switch(config)# mpls-interface (intf)BR-Switch(config)# ldp-enableBR-Switch(config)# write memoryTo validate the configuration for the VRF, enter the following:BR-Switch# show ip route vrf (vrf name)The response should show the Customer Edge router loopback.BR-Switch# show ip bgp neighborThe connection state should established if configured correctly.Brocade <strong>IP</strong> Primer 269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!