blob: 24bf346fd2ae0a9869a16bd7eccf74587316593a (
plain)
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
176
177
178
179
180
181
|
!
! Last configuration change at 16:22:41 PST Sun Feb 28 1993
! NVRAM config last updated at 18:34:50 PST Sun Feb 28 1993
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BB2
!
logging queue-limit 100
enable password cisco
!
clock timezone PST -8
clock summer-time PDT recurring
ip subnet-zero
no ip domain lookup
!
ipv6 unicast-routing
frame-relay switching
!
key chain RIP
key 1
key-string CISCO
!
!
!
interface Loopback0
ip address 220.20.3.1 255.255.255.0
ipv6 address 2001:220:20:3::1/64
ipv6 rip RIPng enable
!
interface Loopback1
ip address 222.22.2.1 255.255.255.0
ipv6 address 2001:222:22:2::1/64
ipv6 rip RIPng enable
!
interface Loopback3
ip address 205.90.31.1 255.255.255.0
ipv6 address 2001:205:90:31::1/64
ipv6 rip RIPng enable
!
interface Loopback51515151
ip address 51.51.51.51 255.255.255.255
ipv6 address 2001:51:51:51::51/64
!
interface Ethernet0/0
ip address 192.10.1.254 255.255.255.0
ip rip authentication mode md5
ip rip authentication key-chain RIP
no ip route-cache
no ip mroute-cache
ipv6 address 2001:192:10:1::254/64
ipv6 rip RIPng enable
ipv6 ospf 1 area 0
!
router ospf 1
router-id 192.10.1.254
log-adjacency-changes
redistribute connected subnets route-map LO51515151
network 192.10.1.254 0.0.0.0 area 51
!
router rip
version 2
redistribute connected metric 7 route-map LOOPBACKS
network 192.10.1.0
distribute-list prefix LOOPBACKS out
!
router bgp 254
no synchronization
bgp log-neighbor-changes
neighbor RACKS peer-group
neighbor RACKS remote-as 200
neighbor RACKS password CISCO
neighbor 2001:192:10:1::100 remote-as 200
neighbor 192.10.1.1 peer-group RACKS
neighbor 192.10.1.2 peer-group RACKS
neighbor 192.10.1.3 peer-group RACKS
neighbor 192.10.1.4 peer-group RACKS
neighbor 192.10.1.5 peer-group RACKS
neighbor 192.10.1.6 peer-group RACKS
neighbor 192.10.1.7 peer-group RACKS
neighbor 192.10.1.8 peer-group RACKS
no auto-summary
!
address-family ipv6
neighbor 2001:192:10:1::100 activate
network 2001:205:90:31::/64
network 2001:220:20:3::/64
network 2001:222:22:2::/64
exit-address-family
!
address-family ipv4
redistribute connected route-map LOOPBACKS
neighbor RACKS activate
neighbor RACKS route-map BGP_IN in
neighbor RACKS route-map BGP_OUT out
no neighbor 2001:192:10:1::100 activate
neighbor 192.10.1.1 peer-group RACKS
neighbor 192.10.1.2 peer-group RACKS
neighbor 192.10.1.3 peer-group RACKS
neighbor 192.10.1.4 peer-group RACKS
neighbor 192.10.1.5 peer-group RACKS
neighbor 192.10.1.6 peer-group RACKS
neighbor 192.10.1.7 peer-group RACKS
neighbor 192.10.1.8 peer-group RACKS
no auto-summary
no synchronization
exit-address-family
!
no ip http server
ip classless
!
ip as-path access-list 1 permit ^$
!
!
ip prefix-list DEFAULT seq 5 permit 0.0.0.0/0
!
ip prefix-list LOOPBACKS seq 5 permit 205.90.31.0/24
ip prefix-list LOOPBACKS seq 10 permit 220.20.3.0/24
ip prefix-list LOOPBACKS seq 15 permit 222.22.2.0/24
!
ipv6 router ospf 1
router-id 192.10.1.254
log-adjacency-changes
redistribute connected route-map OSPFv3_LOOPBACK
!
ipv6 router rip RIPng
distribute-list prefix-list RIPng out
!
!
!
ipv6 prefix-list OSPFv3_LOOPBACK seq 5 permit 2001:51:51:51::/64
!
ipv6 prefix-list RIPng seq 5 permit 2001:205:90:31::/64
ipv6 prefix-list RIPng seq 10 permit 2001:220:20:3::/64
ipv6 prefix-list RIPng seq 15 permit 2001:222:22:2::/64
route-map LO51515151 permit 10
match interface Loopback51515151
!
route-map OSPFv3_LOOPBACK permit 10
match ipv6 address prefix-list OSPFv3_LOOPBACK
!
route-map BGP_IN deny 10
match ip address prefix-list DEFAULT
!
route-map BGP_IN permit 10000
!
route-map LOOPBACKS permit 10
match ip address prefix-list LOOPBACKS
!
route-map BGP_OUT permit 10000
match as-path 1
!
privilege exec level 0 telnet
privilege exec level 0 traceroute
privilege exec level 0 ping
privilege exec level 1 terminal length
privilege exec level 1 terminal
privilege exec level 0 show ip bgp neighbors
privilege exec level 0 show ip bgp summary
privilege exec level 0 show ip bgp
privilege exec level 0 show ip route
privilege exec level 0 show ip protocols
privilege exec level 0 show ip
privilege exec level 0 show
!
line con 0
exec-timeout 0 0
privilege level 15
line aux 0
transport input all
line vty 0 4
privilege level 0
no login
!
ntp authentication-key 1 md5 CISCO
ntp master 4
end
|