-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPE3.conf
More file actions
69 lines (57 loc) · 1.32 KB
/
PE3.conf
File metadata and controls
69 lines (57 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
system-view
sysname PE3
# router-id = ip de loopback
ospf 1 router-id 198.168.51.2
area 0
quit
mpls lsr-id 198.168.51.2
mpls
quit
mpls ldp
quit
interface LoopBack 0
ip addr 198.168.51.2 32
ospf enable area 0
quit
# 5 dernier num étu
bgp 11646
router-id 198.168.51.2
peer 198.168.51.0 as-number 11646
peer 198.168.51.0 connect-interface loopback 0
peer 198.168.51.1 as-number 11646
peer 198.168.51.1 connect-interface loopback 0
import-route direct
quit
ip vpn-instance green
ipv4-family
route-distinguisher 1:10
vpn-target 1:10 import-extcommunity
vpn-target 1:10 export-extcommunity
quit
quit
bgp 11646
ipv4-family vpnv4
peer 198.51.100.0 enable
ipv4-family vpn-instance green
import-route direct
import-route direct
quit
quit
interface GigabitEthernet 0/0/0
# on agrandit le mtu pour le mpls
mtu 1550
ip addr 198.50.100.55 31
ospf enable area 0
mpls
mpls ldp
quit
# Interface d'interco
interface GigabitEthernet 0/0/1
# on agrandit le mtu pour le mpls
ip binding vpn-instance green
mtu 1550
ip addr 198.61.100.70 31
quit
route recursive-lookup tunnel
ip route-static 0.0.0.0 0 198.61.100.71
return