MPLS TE
description
Transcript of MPLS TE
![Page 1: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/1.jpg)
MPLS TE
![Page 2: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/2.jpg)
Przebieg laboratorium• Konfiguracja sieci zgodnie z instrukcją• Konfiguracja protokołu OSPF• Konfiguracja MPLS Traffic-Eng
– Dynamiczna (rekonfiguracja: zmiana wag łączy, reakcja na uszkodzenie)
– Statyczna (reakcja na uszkodzenie)– Statyczno/dynamiczna (reakcja na uszkodzenia)
• Konfiguracja LDP
Dla każdego kroku proszę zaobserwować stan sieci i jego opis umieścić w sprawozdaniu
![Page 3: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/3.jpg)
Konfiguracja sieci zgodnie z instrukcją!no ip domain lookup!interface Loopback0 ip address 10.0.0.25 255.255.255.255 no shutdown!interface FastEthernet0/0 ip address 192.168.7.25 255.255.255.0 no shutdown duplex auto speed auto ip load-sharing per-packet!interface Serial0/1/0 ip address 192.168.2.25 255.255.255.0 no shutdown no fair-queue ip load-sharing per-packet!
![Page 4: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/4.jpg)
Konfiguracja sieci zgodnie z instrukcją - konfiguracja ruterów
!no ip domain lookup!interface Loopback0 ip address 10.0.0.25 255.255.255.255 no shutdown!interface FastEthernet0/0 ip address 192.168.7.25 255.255.255.0 no shutdown duplex auto speed auto ip load-sharing per-packet!interface Serial0/1/0 ip address 192.168.2.25 255.255.255.0 no shutdown no fair-queue ip load-sharing per-packet!
![Page 5: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/5.jpg)
Konfiguracja sieci zgodnie z instrukcją – konfiguracja przełącznika
hostname S21
monitor session 1 source interface fastEthernet 0/1 bothmonitor session 1 destination interface fastEthernet 0/3
no spanning-tree vlan 1
line console 0logg syn
![Page 6: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/6.jpg)
Konfiguracja protokołu OSPF
router ospf 1 log-adjacency-changes network 10.0.0.25 0.0.0.0 area 0 network 192.168.1.0 0.0.0.255 area 0 network 192.168.2.0 0.0.0.255 area 0 network 192.168.7.0 0.0.0.255 area 0!
![Page 7: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/7.jpg)
Konfiguracja MPLS Traffic-Eng – przygotowanie ruterów
!ip cef!mpls traffic-eng tunnels!interface FastEthernet0/1 ip address 192.168.4.23 255.255.255.0 mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 1024 1024 no shutdown!
![Page 8: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/8.jpg)
Konfiguracja OSPF dla MPLS-TE
!router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 log-adjacency-changes network 10.0.0.25 0.0.0.0 area 0 network 192.168.1.0 0.0.0.255 area 0 network 192.168.2.0 0.0.0.255 area 0 network 192.168.7.0 0.0.0.255 area 0!
![Page 9: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/9.jpg)
Konfiguracja MPLS Traffic-Eng – zestawienie tunelu dynamicznego
!interface Tunnel1 shutdown ip unnumbered Loopback0 tunnel destination 10.0.0.22 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 100 tunnel mpls traffic-eng path-option 1 dynamic !
![Page 10: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/10.jpg)
Konfiguracja MPLS Traffic-Eng – zmiana trasy przez ustawienie wag
!interface FastEthernet0/0mpls tarffic-eng administrative-weight XX!
!mpls traffic-eng reoptimize!
![Page 11: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/11.jpg)
Konfiguracja MPLS Traffic-Eng – zmiana trasy przez awarię
!mpls traffic-eng reoptimize!
!mpls traffic-eng reoptimize events link-upmpls traffic-eng reoptimize events timers!
![Page 12: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/12.jpg)
Konfiguracja MPLS Traffic-Eng – zestawienie tunelu statycznego
!interface Tunnel2 shutdown ip unnumbered Loopback0 tunnel destination 10.0.0.XX tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 100 tunnel mpls traffic-eng path-option 1 explicit name LSP1 tunnel mpls traffic-eng path-option 2 explicit name LSP2 no routing dynamic!
![Page 13: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/13.jpg)
Konfiguracja MPLS Traffic-Eng – zestawienie tunelu statycznego
!ip explicit-path name LSP1 enable next-address 192.168.2.23 next-address 192.168.4.22 next-address 10.0.0.22 !ip explicit-path name LSP2 enable next-address 192.168.2.23 next-address 192.168.3.24 next-address 192.168.5.22 next-address 10.0.0.22 !
![Page 14: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/14.jpg)
Konfiguracja MPLS Traffic-Eng – zestawienie tunelu statyczno/dynamicznego
!interface Tunnel3 shutdown ip unnumbered Loopback0 tunnel destination 10.0.0.XX tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 100 tunnel mpls traffic-eng path-option 1 dynamic tunnel mpls traffic-eng path-option 2 explicit name LSP2!
![Page 15: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/15.jpg)
MPLS - LDPip cef!interface Loopback0 ip address 10.0.0.25 255.255.255.255 no shutdown!interface Serial0/1/0 ip address 192.168.2.25 255.255.255.0 no shutdown mpls ip no fair-queue ip load-sharing per-packet!mpls ldp router-id Loopback0!
![Page 16: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/16.jpg)
Tunele
• Static routing:– ip route 192.168.8.0 255.255.255.0 tunnel 1
• Waga Tunelu dla protokołu OSPF:– Na interfejsie tunnel:– ip ospf cost 1
![Page 17: MPLS TE](https://reader036.fdocuments.net/reader036/viewer/2022082716/56816385550346895dd46d49/html5/thumbnails/17.jpg)
Przydatne komendy
• show running-config• show ip route