Easy Configuration of MPLS in Cisco Router
Ten Step Basic configuration for MPLS
Current configuration:
!
version 12.2
!
hostname Pescara
!
ip cef
!
!--- Customer A commands.
ip vrf Customer_A
!--- Enables the VPN routing and forwarding (VRF) routing table. !--- This command can be used in global or !--- router configuration mode.
rd 100:110
!--- Route distinguisher creates routing and forwarding !--- tables for a VRF.
route-target export 100:1000
!--- Creates lists of import and export route-target extended !--- communities for the specified VRF.
route-target import 100:1000
!
!--- Customer B commands.
ip vrf Customer_B
rd 100:120
route-target export 100:2000
route-target import 100:2000
!
interface Loopback0
ip address 10.10.10.4 255.255.255.255
ip router isis
!--- Customer A commands.
interface Loopback101
ip vrf forwarding Customer_A
!--- Associates a VRF instance with an interface or subinterface.
ip address 200.0.4.1 255.255.255.0
!--- Loopback101 and 102 use the same IP address, 200.0.4.1. !--- This is allowed because they belong to two !--- different customers' VRFs.
no ip directed-broadcast
!
!--- Customer B commands.
interface Loopback102
ip vrf forwarding Customer_B
ip address 200.0.4.1 255.255.255.0
!--- Loopback101 and 102 use the same IP address, 200.0.4.1. !--- This is allowed because they belong to two !--- different customers' VRFs.
no ip directed-broadcast
!
interface Serial2/0
no ip address
no ip directed-broadcast
encapsulation frame-relay
no fair-queue
!
interface Serial2/0.1 point-to-point
description link to Pauillac
bandwidth 512
ip address 10.1.1.14 255.255.255.252
no ip directed-broadcast
ip router isis
tag-switching ip
frame-relay interface-dlci 401
!
router isis
net 49.0001.0000.0000.0004.00
is-type level-1
!
router bgp 100
bgp log-neighbor-changes
!--- Enables logging of BGP neighbor resets.
neighbor 10.10.10.6 remote-as 100
!--- Adds an entry to the BGP or multiprotocol BGP neighbor table.
neighbor 10.10.10.6 update-source Loopback0
!--- Enables BGP sessions to use a specific operational !--- interface for TCP connections.
!
!--- Customer A and B commands.
address-family vpnv4
!--- To enter address family configuration mode !--- for configuring routing sessions, such as BGP, !--- that use standard VPN version 4 address prefixes.
neighbor 10.10.10.6 activate
neighbor 10.10.10.6 send-community both
!--- Sends the community attribute to a BGP neighbor.
exit-address-family
!
!--- Customer B commands.
address-family ipv4 vrf Customer_B
!--- To enter address family configuration mode !--- for configuring routing sessions, such as BGP, !--- that use standard VPN version 4 address prefixes.
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
!--- Customer A commands.
address-family ipv4 vrf Customer_A
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
ip classless
!
end
Ten Step Basic configuration for MPLS
Current configuration:
!
version 12.2
!
hostname Pescara
!
ip cef
!
!--- Customer A commands.
ip vrf Customer_A
!--- Enables the VPN routing and forwarding (VRF) routing table. !--- This command can be used in global or !--- router configuration mode.
rd 100:110
!--- Route distinguisher creates routing and forwarding !--- tables for a VRF.
route-target export 100:1000
!--- Creates lists of import and export route-target extended !--- communities for the specified VRF.
route-target import 100:1000
!
!--- Customer B commands.
ip vrf Customer_B
rd 100:120
route-target export 100:2000
route-target import 100:2000
!
interface Loopback0
ip address 10.10.10.4 255.255.255.255
ip router isis
!--- Customer A commands.
interface Loopback101
ip vrf forwarding Customer_A
!--- Associates a VRF instance with an interface or subinterface.
ip address 200.0.4.1 255.255.255.0
!--- Loopback101 and 102 use the same IP address, 200.0.4.1. !--- This is allowed because they belong to two !--- different customers' VRFs.
no ip directed-broadcast
!
!--- Customer B commands.
interface Loopback102
ip vrf forwarding Customer_B
ip address 200.0.4.1 255.255.255.0
!--- Loopback101 and 102 use the same IP address, 200.0.4.1. !--- This is allowed because they belong to two !--- different customers' VRFs.
no ip directed-broadcast
!
interface Serial2/0
no ip address
no ip directed-broadcast
encapsulation frame-relay
no fair-queue
!
interface Serial2/0.1 point-to-point
description link to Pauillac
bandwidth 512
ip address 10.1.1.14 255.255.255.252
no ip directed-broadcast
ip router isis
tag-switching ip
frame-relay interface-dlci 401
!
router isis
net 49.0001.0000.0000.0004.00
is-type level-1
!
router bgp 100
bgp log-neighbor-changes
!--- Enables logging of BGP neighbor resets.
neighbor 10.10.10.6 remote-as 100
!--- Adds an entry to the BGP or multiprotocol BGP neighbor table.
neighbor 10.10.10.6 update-source Loopback0
!--- Enables BGP sessions to use a specific operational !--- interface for TCP connections.
!
!--- Customer A and B commands.
address-family vpnv4
!--- To enter address family configuration mode !--- for configuring routing sessions, such as BGP, !--- that use standard VPN version 4 address prefixes.
neighbor 10.10.10.6 activate
neighbor 10.10.10.6 send-community both
!--- Sends the community attribute to a BGP neighbor.
exit-address-family
!
!--- Customer B commands.
address-family ipv4 vrf Customer_B
!--- To enter address family configuration mode !--- for configuring routing sessions, such as BGP, !--- that use standard VPN version 4 address prefixes.
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
!--- Customer A commands.
address-family ipv4 vrf Customer_A
redistribute connected
no auto-summary
no synchronization
exit-address-family
!
ip classless
!
end
How to get to damnoen saduak floating market from Bangkok
ReplyDeleteWhere is Cappadocia Turkey The Road Way
Glacier Lagoon Iceland Tour Boat best of 2012
Hagia Sophia Facts and ayasofya museum, aya sophia museum
The Highest Temple in Barcelona Sagrada Familia Latest Photo 2011 and 2012
Concordia (Karakoram) Camp in Pakistan Latest Photos 2012
Grand Canyon Unique River at Earth Arizona
Cheap Hotels Deals in Cappadocia Turkey Less the $ 100 Per Day
Complete Cappadocia Guide and Travel Agent 2012
Guide Kabah Mexico Latest and oldest Photos of Kabah 2012
mt athos (Mount Athos) Holy Mountain Latest Photos 2012 of Aghion Oros
Petra Visit, The oldest City of World Latest Image 2012
How long is great wall of china
The Iguazu River Waterfalls Argentina Latest Photos 2012
ST Mont Michelle Free Visit for half Day on merry crimmis 2012
la digue, seychelles Latest Best Beach Photos 2012
Sitka Alaska Latest Photo of Beach 2012 A free Visit by Ship
lake saiful maluk Raod Travel and Latest Photos 2012
Map of great barrier reef and where is it located
The pyramid of giza facts The Real Story of Pyramids in 2012
Cape Town Best Places visit Latest Photos 2012
Year Taj Mahal was built and Architecture of Shah Jahan
The incas civilization Emperor Latest Photos 2012
Victoria falls devil s pool Latest info and Photos 2012
Clock of Makkah tower Latest Photos 2012
Standardchartered Bank UAE Free online services
NBD Dubai Free Services and internet City
Commercial Banks in UAE and Free Online Services
ReplyDeleteCIA the factbook Review 2012 and Latest info Road Map
Wahba Crater Saudi Arabia Latest Photos 2012
Pics of Chernobyl latest image 2012
Halong Bay Climate, Best Vietnam Beach of 2012
Abu Dhabi Grand Cinemas Latest info and Photos 2012
Abu Dhabi Grand Cinemas Latest info and Photos 2012
Reel Cinema Dubai Mall Movies 2012
EL Khobar The Best Song of His Life
Jubail Industrial Hotel and Accomdation City
AKhobar Beach Photos Latest Picture 2012
switzerland eu Relations By Power of People 2012
10 Best Cities in Europe to live
Best World Cities to Visit in 2012
Best Cities to see in Europe
Top Cities to see in Europe
lulu market in riyadh
Ice Chapel Finland- World’s Largest Snow Restaurant
Latest Photo of Mecca Madina in 2012
Beautiful Places of the Pakistan years 2012
10 Best Places to Spend Christmas This Year
Ramkot Fort Location Pakistan History of Fort
Seven Days Dubai What is the Latest News
Jumeirah beach concordia in dubai Latest Photos of Beach 2012
ReplyDeleteAl Raha Mall Cinema Timings 2012
Top 100 places to travel in the world
Best Place to live in Tokyo Japan Plan of Stay 2012
Amalfi Coast Best Hotels Visit Itly Plan 2012 and 2013
capitol gate abu dhabi architect latest photos
Pics of Mecca and Madina ??? ????? ??? ??????? ????????
Cappadocia Hattusas Ankara Tours with $ 100 per Day
Cheap Flights to Iceland from UK in 2012 and 2013
Long weekend breaks Europe in 2012 and 2013
Cheap package holidays to iceland in complet 2012 and 2013
The great wall of China pictures from outer Space
Lulu Market in Kuwait Timings in 2012 and 2013
Iceland Breaks Northern Lights City 2012
Furnished Apartments in Al khobar , Best Photos of 2012
Geirangerfjord Norway map and Fjords Weather Latest Photos
New E-GATE System Started at Dammam and Riyadh Airport by KFIA
Bodhgaya Temples of India Latest Photos 2012
Lake Vostok drilling 2012 Success
Old City of Sanaa World Heritage Site 2012
Wadi al Salam Najaf Iqar-The World Lagerst cemetery
Most Haunted Places in Northern Ireland
Best Holiday Destinations in Thailand 2012
White Sand Beaches in Thailand 2012
Thank you for the info. It sounds pretty user friendly. I guess I’ll pick one up for fun. thank u
ReplyDeleteCisco Dubai
This information which you provided is very much useful for us.It was very interesting and useful for CISCO online training.We also providing qa online training institute in USA.
ReplyDeleteSlot machine casino site
ReplyDeleteOnline Slot Machine Game Review, Demo Slot Machine & Free Spins. Live luckyclub Casino Online. Get Lucky Club Casino Games Today - Live Blackjack, Video Poker & More! Rating: 4.2 · Review by luckyclub.live
This comment has been removed by the author.
ReplyDeletemost intresting blog which gave lot of knowledge IT Services Dubai
ReplyDelete