19 juin 2009

Basic Traffic-Engineering configuration

Configuration Basique d'un tunnel
! En global:
mpls traffic-eng tunnels
!
! Sur les interfaces:
interface S1/0
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 10000
!
! Configuration de IGP:
!OSPF, utilise les ''opaque LSA'', type 10:
router ospf 1
mpls traffic-eng area 0
mpls traffic-eng router-id loopback0
!
! ISIS, utilise les TLV22, TLV134 et TLV135:
router isis
net 49.0001.0000.000a.00
metric-style wide
mpls traffic-eng router-id loopback0
mpls traffic-eng level-1
! ou
router isis
net 49.0001.0000.000a.00
metric-style wide
mpls traffic-eng router-id loopback0
mpls traffic-eng level-2
is-type level-2-only
! attention, un routeur L1/L2 se base sur la topologie L1 pour joindre un autre routeur L1/L2 car ils sont dans la même ''aire" et que se serait illogique de passer par un routeur L2.
! Un routeur L1/L2 ne peut donc faire de TE avec un autre routeur L1/L2 sans ''mpls traffic-eng level-1"
!
!Configuration (minimale) du tunnel:
interface Tunnel0
ip unnumbered Loopback0
tunnel destination 10.3.3.1
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng path-option 5 dynamic

!

Vérifications:
Réservations RSVP (locale):
R0#show ip rsvp interface
interface allocated i/f max flow max sub max
Se1/0 0 10M 10M 0


Allocation label:
R0#show ip rsvp reservation detail filter destination 10.3.3.1
Reservation:
Tun Dest: 10.3.3.1 Tun ID: 0 Ext Tun ID: 10.0.0.1
Tun Sender: 10.0.0.1 LSP ID: 22
Next Hop: 192.168.1.2 on Serial1/0
Label: 24 (outgoing)

Process TE:
R0#show mpls traffic-eng tunnels summary
Signalling Summary:
LSP Tunnels Process: running
Passive LSP Listener: running
RSVP Process: running
Forwarding: enabled


Forwarding-Table:
R0#show mpls forwarding-table
[T] signifie que le trafic passe par un tunnel.
Pour connaitre le label utilisé pour le tunnel:
show mpls forwarding-table detail


Check du tunnel:
R0#show mpls traffic-eng tunnels tunnel 0

NTP - ACL

NTP - Network Time Protocol Packet types: -  Control messages : don't bother with this. -  NTP request/update messages: used for time sy...