-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrd-5-startup.cfg
144 lines (142 loc) · 3.18 KB
/
xrd-5-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
!! 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-5
logging console debugging
logging monitor debugging
ssh server vrf default
username cisco
group root-lr
group cisco-support
password C1sco12345
!
interface Loopback0
no shut
ipv4 address 100.100.100.105 255.255.255.255
!
interface Loopback1
no shut
ipv4 address 101.103.105.255 255.255.255.255
!
interface GigabitEthernet0/0/0/0
no shut
ipv4 address 100.105.106.105 255.255.255.0
!
interface GigabitEthernet0/0/0/1
no shut
ipv4 address 100.103.105.105 255.255.255.0
!
interface GigabitEthernet0/0/0/2
no shut
ipv4 address 100.101.105.105 255.255.255.0
!
interface GigabitEthernet0/0/0/3
no shut
ipv4 address 100.105.108.105 255.255.255.0
!
prefix-set INFRA
100.100.100.107/32,
100.100.100.108/32
end-set
!
route-policy INFRA
if destination in INFRA then
pass
else
drop
endif
end-policy
!
router isis 1
net 49.0100.0100.0100.0105.00
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
propagate level 2 into level 1 route-policy INFRA
segment-routing mpls
!
interface Loopback0
passive
address-family ipv4 unicast
prefix-sid index 105
prefix-sid algorithm 128 index 205
prefix-sid algorithm 129 index 305
!
!
interface Loopback1
passive
address-family ipv4 unicast
prefix-sid index 1001 n-flag-clear
prefix-sid algorithm 128 index 1002 n-flag-clear
prefix-sid algorithm 129 index 1003 n-flag-clear
!
!
interface GigabitEthernet0/0/0/0
circuit-type level-2-only
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-2-only
point-to-point
address-family ipv4 unicast
metric 1
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa
!
!
interface GigabitEthernet0/0/0/2
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/3
circuit-type level-2-only
point-to-point
address-family ipv4 unicast
metric 1000
fast-reroute per-prefix
fast-reroute per-prefix ti-lfa
!
!
!
segment-routing
global-block 16000 18000
!
end