Difference between revisions of "MPLS"

From Teknologisk videncenter
Jump to: navigation, search
m (Learning materials)
m
Line 1: Line 1:
 
= Multiprotocol Protocol Label Switching =
 
= Multiprotocol Protocol Label Switching =
 
== Eksempel på MPLS LER router. (Label Edge Router) ==
 
== Eksempel på MPLS LER router. (Label Edge Router) ==
<pre>
+
<source lang="cli">
ip cef
+
<input>ip cef</input>
 
!
 
!
ip vrf PB
+
<input>ip vrf PB
 
  description Kunde: Pengebanken (PB) i Birksund (BKS) : PB-BKS
 
  description Kunde: Pengebanken (PB) i Birksund (BKS) : PB-BKS
 
  rd 1100:1
 
  rd 1100:1
 
  route-target export 1100:1
 
  route-target export 1100:1
  route-target import 1100:1
+
  route-target import 1100:1</input>
 
!
 
!
ip vrf SF
+
<input>ip vrf SF
 
  description Kunde: Steel Furniture i Birksund
 
  description Kunde: Steel Furniture i Birksund
 
  rd 1000:1
 
  rd 1000:1
 
  route-target export 1000:1
 
  route-target export 1000:1
  route-target import 1000:1
+
  route-target import 1000:1</input>
!
 
ip audit po max-events 100
 
mpls traffic-eng tunnels
 
 
!
 
!
 
interface Loopback0
 
interface Loopback0
Line 30: Line 27:
 
  speed 10
 
  speed 10
 
  full-duplex
 
  full-duplex
  mpls label protocol ldp
+
  <input>mpls label protocol ldp
  tag-switching ip
+
  tag-switching ip</input>
no mop enabled
 
 
!
 
!
 
interface FastEthernet0/0.100
 
interface FastEthernet0/0.100
Line 38: Line 34:
 
  bandwidth 2000
 
  bandwidth 2000
 
  encapsulation dot1Q 100
 
  encapsulation dot1Q 100
  ip vrf forwarding SF
+
  <input>ip vrf forwarding SF</input>
 
  ip address 172.24.0.1 255.255.0.0
 
  ip address 172.24.0.1 255.255.0.0
 
  no ip redirects
 
  no ip redirects
Line 48: Line 44:
 
  bandwidth 2000
 
  bandwidth 2000
 
  encapsulation dot1Q 200
 
  encapsulation dot1Q 200
  ip vrf forwarding PB
+
  <input>ip vrf forwarding PB</input>
 
  ip address 172.28.0.1 255.255.0.0
 
  ip address 172.28.0.1 255.255.0.0
 
  no ip redirects
 
  no ip redirects
Line 59: Line 55:
 
  ip address 192.168.90.1 255.255.255.252
 
  ip address 192.168.90.1 255.255.255.252
 
  ip router isis  
 
  ip router isis  
  mpls label protocol ldp
+
  <input>mpls label protocol ldp
 
  mpls traffic-eng tunnels
 
  mpls traffic-eng tunnels
  tag-switching ip
+
  tag-switching ip</input>
ip rsvp bandwidth 4000 4000
 
 
!
 
!
 
router isis  
 
router isis  
Line 82: Line 77:
 
  exit-address-family
 
  exit-address-family
 
  !
 
  !
  address-family vpnv4
+
  <input>address-family vpnv4
 
  neighbor 10.10.10.3 activate
 
  neighbor 10.10.10.3 activate
 
  neighbor 10.10.10.3 send-community extended
 
  neighbor 10.10.10.3 send-community extended
  exit-address-family
+
  exit-address-family</input>
 
  !
 
  !
  address-family ipv4 vrf SF
+
  <input>address-family ipv4 vrf SF
 
  redistribute connected
 
  redistribute connected
 
  no auto-summary
 
  no auto-summary
 
  no synchronization
 
  no synchronization
  exit-address-family
+
  exit-address-family</input>
 
  !
 
  !
  address-family ipv4 vrf PB
+
  <input>address-family ipv4 vrf PB
 
  redistribute connected
 
  redistribute connected
 
  no auto-summary
 
  no auto-summary
 
  no synchronization
 
  no synchronization
  exit-address-family
+
  exit-address-family</input>
</pre>
+
</source>
 
== Eksempel på LSR Router (Label Switch Router) ==
 
== Eksempel på LSR Router (Label Switch Router) ==
<pre>
+
<source lang="cli">
ip cef
+
<input>ip cef</input>
!
 
mpls traffic-eng tunnels
 
 
!
 
!
 
interface Loopback0
 
interface Loopback0
Line 115: Line 108:
 
  ip nat inside
 
  ip nat inside
 
  ip router isis  
 
  ip router isis  
  mpls label protocol ldp
+
  <input>mpls label protocol ldp
 
  mpls traffic-eng tunnels
 
  mpls traffic-eng tunnels
  tag-switching ip
+
  tag-switching ip</input>
fair-queue 64 256 79
 
 
  clock rate 8000000
 
  clock rate 8000000
 
!
 
!
Line 127: Line 119:
 
  ip nat inside
 
  ip nat inside
 
  ip router isis  
 
  ip router isis  
  mpls label protocol ldp
+
  <input>mpls label protocol ldp
 
  mpls traffic-eng tunnels
 
  mpls traffic-eng tunnels
  tag-switching ip
+
  tag-switching ip</input>
fair-queue 64 256 79
 
 
  clock rate 8000000
 
  clock rate 8000000
 
!
 
!
Line 137: Line 128:
 
  is-type level-2-only
 
  is-type level-2-only
 
  metric-style wide
 
  metric-style wide
mpls traffic-eng router-id Loopback0
 
mpls traffic-eng level-2
 
 
  default-information originate
 
  default-information originate
 
!
 
!
</pre>
+
</source>
  
 
= Learning materials =
 
= Learning materials =
Line 154: Line 143:
 
= Links =
 
= Links =
 
*[[Quality of Service]]
 
*[[Quality of Service]]
 +
{{#css:
 +
   
 +
    pre {  font-family: Lucida Console; font-weight: bold; font-size: 14px; color: #00FF00; background: black; margin: 10px 50px; width: 800px; line-height: 200%}
 +
}}
 
[[Category:Network]][[Category:Cisco]][[Category:CCNP]][[Category:CCNP2]][[Category:CCNP4]][[Category:IOS]]
 
[[Category:Network]][[Category:Cisco]][[Category:CCNP]][[Category:CCNP2]][[Category:CCNP4]][[Category:IOS]]

Revision as of 10:21, 8 June 2009

Multiprotocol Protocol Label Switching

Eksempel på MPLS LER router. (Label Edge Router)

<input>ip cef</input>
!
<input>ip vrf PB
 description Kunde: Pengebanken (PB) i Birksund (BKS) : PB-BKS
 rd 1100:1
 route-target export 1100:1
 route-target import 1100:1</input>
!
<input>ip vrf SF
 description Kunde: Steel Furniture i Birksund
 rd 1000:1
 route-target export 1000:1
 route-target import 1000:1</input>
!
interface Loopback0
 ip address 10.10.10.1 255.255.255.255
 ip router isis 
!
interface FastEthernet0/0
 description Forbindelse til 3550RDB1
 bandwidth 10000
 ip address 192.168.11.1 255.255.255.0
 ip router isis 
 speed 10
 full-duplex
 <input>mpls label protocol ldp
 tag-switching ip</input>
!
interface FastEthernet0/0.100
 description VLAN for Steel Furniture (SF) i Rodborg (RDB)
 bandwidth 2000
 encapsulation dot1Q 100
 <input>ip vrf forwarding SF</input>
 ip address 172.24.0.1 255.255.0.0
 no ip redirects
 no ip proxy-arp
 no snmp trap link-status
!
interface FastEthernet0/0.200
 description VLAN for Pengebanken (PB) i Rodborg (RDB) : PB-RDB
 bandwidth 2000
 encapsulation dot1Q 200
 <input>ip vrf forwarding PB</input>
 ip address 172.28.0.1 255.255.0.0
 no ip redirects
 no ip proxy-arp
 no snmp trap link-status
!
interface Serial0/0
 mtu 1508
 bandwidth 4000
 ip address 192.168.90.1 255.255.255.252
 ip router isis 
 <input>mpls label protocol ldp
 mpls traffic-eng tunnels
 tag-switching ip</input>
!
router isis 
 net 49.0000.0101.3300.1111.00
 is-type level-2-only
 metric-style wide
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng level-2
!
router bgp 65000
 bgp log-neighbor-changes
 neighbor 10.10.10.3 remote-as 65000
 neighbor 10.10.10.3 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.10.10.3 activate
 no auto-summary
 no synchronization
 exit-address-family
 !
 <input>address-family vpnv4
 neighbor 10.10.10.3 activate
 neighbor 10.10.10.3 send-community extended
 exit-address-family</input>
 !
 <input>address-family ipv4 vrf SF
 redistribute connected
 no auto-summary
 no synchronization
 exit-address-family</input>
 !
 <input>address-family ipv4 vrf PB
 redistribute connected
 no auto-summary
 no synchronization
 exit-address-family</input>

Eksempel på LSR Router (Label Switch Router)

<input>ip cef</input>
!
interface Loopback0
 ip address 10.10.10.2 255.255.255.255
 ip router isis 
!
interface Serial0/0
 mtu 1508
 bandwidth 8000
 ip address 192.168.90.5 255.255.255.252
 ip nat inside
 ip router isis 
 <input>mpls label protocol ldp
 mpls traffic-eng tunnels
 tag-switching ip</input>
 clock rate 8000000
!
interface Serial0/1
 mtu 1508
 bandwidth 8000
 ip address 192.168.90.2 255.255.255.252
 ip nat inside
 ip router isis 
 <input>mpls label protocol ldp
 mpls traffic-eng tunnels
 tag-switching ip</input>
 clock rate 8000000
!
router isis 
 net 49.0000.0101.3300.2222.00
 is-type level-2-only
 metric-style wide
 default-information originate
!

Learning materials

PDF-logo.pngIntroduktion til MPLS

PDF-logo.pngMPLS VPN QoS design

PDF-logo.pngCisco IOS MPLS konfiguration del 1

PDF-logo.pngCisco IOS MPLS konfiguration del 2

Links