-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrd-1-startup.cfg
176 lines (174 loc) · 3.35 KB
/
xrd-1-startup.cfg
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
!! Copyright 2020-2022 Cisco Systems Inc.
!!
!! Licensed under the Apache License, Version 2.0 (the "License");
!! you may not use this file except in compliance with the License.
!! You may obtain a copy of the License at
!!
!! http://www.apache.org/licenses/LICENSE-2.0
!!
!! Unless required by applicable law or agreed to in writing, software
!! distributed under the License is distributed on an "AS IS" BASIS,
!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
!! See the License for the specific language governing permissions and
!! limitations under the License.
hostname xrd-1
logging console debugging
logging monitor debugging
ssh server vrf default
username cisco
group root-lr
group cisco-support
password C1sco12345
!
vrf 100
address-family ipv4 unicast
import route-target
100:100
!
export route-policy 100
export route-target
100:100
!
!
!
interface Loopback0
no shut
ipv4 address 100.100.100.101 255.255.255.255
!
interface GigabitEthernet0/0/0/0
no shut
ipv4 address 100.101.103.101 255.255.255.0
!
interface GigabitEthernet0/0/0/1
no shut
ipv4 address 100.101.105.101 255.255.255.0
!
interface GigabitEthernet0/0/0/2
no shut
vrf 100
ipv4 address 10.1.1.3 255.255.255.0
!
extcommunity-set opaque 100
100
end-set
!
route-policy 100
set extcommunity color 100
pass
end-policy
!
router static
address-family ipv4 unicast
0.0.0.0/1 Null0
!
!
router isis 1
net 49.0100.0100.0100.0101.00
distribute link-state level 1
log adjacency changes
affinity-map red bit-position 128
affinity-map blue bit-position 129
flex-algo 128
metric-type delay
advertise-definition
affinity exclude-any red
affinity include-all blue
!
flex-algo 129
advertise-definition
affinity exclude-any blue
affinity include-any red
!
address-family ipv4 unicast
metric-style wide
microloop avoidance segment-routing
advertise passive-only
advertise link attributes
mpls traffic-eng level-1-2
mpls traffic-eng router-id Loopback0
segment-routing mpls sr-prefer
!
interface Loopback0
passive
address-family ipv4 unicast
prefix-sid index 101
prefix-sid algorithm 128 index 201
prefix-sid algorithm 129 index 301
!
!
interface GigabitEthernet0/0/0/0
circuit-type level-1
point-to-point
address-family ipv4 unicast
metric 1
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa
!
!
interface GigabitEthernet0/0/0/1
circuit-type level-1
point-to-point
address-family ipv4 unicast
metric 1
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa
!
!
!
router bgp 100
bgp router-id 100.100.100.101
address-family vpnv4 unicast
!
address-family link-state link-state
!
neighbor-group RR
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
!
!
neighbor-group SR-PCE
remote-as 100
update-source Loopback0
address-family link-state link-state
!
!
neighbor 100.100.100.107
use neighbor-group SR-PCE
!
neighbor 100.100.100.108
use neighbor-group RR
!
vrf 100
rd 100.100.100.101:100
address-family ipv4 unicast
redistribute connected
!
!
!
segment-routing
global-block 16000 18000
traffic-eng
candidate-paths
all
source-address ipv4 100.100.100.101
!
!
on-demand color 100
dynamic
pcep
!
anycast-sid-inclusion
!
metric
type igp
!
!
!
pcc
pce address ipv4 100.100.100.107
!
!
!
!
end