4-1 Frame Mode MPLS
Diagram (sorry!):
[R1]----------[R2]----------[R3]
Easy enough! Started by configuring loopbacks and serial IP's to the interfaces. I then ran eigrp on the interfaces and advertised all loopbacks and serials. Ensured end-to-end connectivity by pinging from R1's loopback to R3's loopback interfaces, checking routing tables, and show ip eigrp commands. Then configured MPLS as follows:
(config) ip cef \\enabled cisco express forwardingThis was a basic frame mode mpls configuration. As you can tell this is done over ethernet, thus the "frame" mode. This is opposed to mpls over atm; which is known as mpls cell mode.
(config-if) mpls ip \\enabled mpls on all mpls interfaces
(config-if) mpls label protocol ldp \\set ldp as the label distro. protocol
(config-if) mpls mtu 1512 \\set the mtu to 12 > than 1500 to accomodate 3 X 4 byte labels
Verified with:
show mpls ldp bindings
show mpls forwarding-table
show mpls interfaces [type] [number] [detail]
The next lab was a bit more challenging....guess thats why it is called the "challenge" lab.
Lab 4-2 MPLS VPN's
[HQ]-------[SP1]-------[SP2]--------[SP3]---------[Branch]
This is hard to even explain....
- Set up interfaces with loopbacks, ip's, etc...
- Configured ospf over service provider network
- configured MPLS in SP domain
- Configured a virtual routing and forwarding table for the "customer"
- ip vrf "name"
- rd 100:1 \\route distinguisher...unique for each "customer"
- route-target both 1:100 \\will help if the customer uses multiple vpn's
- (config-if) ip vrf forwarding "name" \\do this on the customer facing interface
- Verify with ping vrf "name" [ip]
- Configured eigrp AS 1 on both customer routers advertising networks
- Configured eigrp AS 100 on PE routers SP1 and 3 and then set up the ipv4 vrf
- address-family ipv4 vrf customer
- autonomous-system 1 \\customers as
- no auto
- network [ip]
- Verify with show ip route vrf "name"
- BGP setup on PE routers SP1 and SP3
- router bgp as
- neighbor [ip] remote-as [as]
- neighbor [ip] update-sourec loop0
- address-family vpnv4
- neighbor [ip] activate
- neighbor [ip] send-community both
- exit
- address-family ipv4 vrf customer
- redistribute eigrp 1
- Redistribute bgp routes into eigrp
- address-family ipv4 vrf customer
- redistribute bgp [as] metric 64 1000 255 1 1500
And done....that one was a real brainwasher. Made me re-evaluate everything I thought that I knew about MPLS. Like I said...I will do some re-study tomm. and probably move on to the next topic by Wednesday.
No comments:
Post a Comment