-
Notifications
You must be signed in to change notification settings - Fork 0
/
r5-sw.txt
121 lines (121 loc) · 2.11 KB
/
r5-sw.txt
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
hostname r5
no buggy
!
vrf definition v1
rd 1:1
exit
!
router ospf4 1
vrf v1
router-id 10.5.5.5
traffeng-id 0.0.0.0
segrout 10
area 0 enable
area 0 segrout
redistribute connected
exit
!
router ospf6 1
vrf v1
router-id 10.6.5.5
traffeng-id ::
segrout 10
area 0 enable
area 0 segrout
redistribute connected
exit
!
interface template1
description template interface r5
lldp enable
vrf forwarding v1
ipv4 address dynamic dynamic
ipv6 address dynamic dynamic
mpls enable
polka enable 5 65536 10
router ospf4 1 enable
router ospf4 1 area 0
router ospf4 1 segrout index 5
router ospf4 1 segrout node
router ospf6 1 enable
router ospf6 1 area 0
router ospf6 1 segrout index 5
router ospf6 1 segrout node
shutdown
no log-link-change
exit
!
interface loopback0
description lo r5
vrf forwarding v1
ipv4 address 20.20.20.5 /32
ipv6 address 2020::5 /128
template template1
no shutdown
exit
!
interface ethernet1
description r5 -> dtn2
vrf forwarding v1
ipv4 address 7.7.7.2 /30
ipv6 address 7777::2 /64
template template1
no shutdown
exit
!
interface ethernet2
description r5 -> r4
vrf forwarding v1
ipv4 address 4.4.4.2 /30
ipv6 address 4444::2 /64
template template1
no shutdown
exit
!
interface ethernet3
description r5 -> r3
vrf forwarding v1
ipv4 address 5.5.5.1 /30
ipv6 address 5555::1 /64
template template1
no shutdown
exit
!
interface tunnel1
description Shortest Path PolKA Tunnel IPv4 from r5 -> r1
tunnel vrf v1
tunnel source loopback0
tunnel destination 20.20.20.1
tunnel domain-name 20.20.20.3
tunnel mode polka
vrf forwarding v1
ipv4 address 30.30.30.2 /30
no shutdown
no log-link-change
exit
!
interface tunnel2
description Longest Path PolKA Tunnel IPv4 from r5 -> r1
tunnel vrf v1
tunnel source loopback0
tunnel destination 20.20.20.1
tunnel domain-name 20.20.20.4 20.20.20.2
tunnel mode polka
vrf forwarding v1
ipv4 address 40.40.40.2 /30
no shutdown
no log-link-change
exit
!
server telnet tel
security protocol telnet
exec timeout 10000000
exec logging
exec colorize prompt
no exec authorization
no login authentication
login logging
vrf v1
exit
!
end