Skip to content
This repository was archived by the owner on Sep 17, 2019. It is now read-only.

Commit 7ce05a3

Browse files
committed
Adding test case where BGP is renumbered
1 parent 650cf65 commit 7ce05a3

File tree

3 files changed

+156
-0
lines changed

3 files changed

+156
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
no router bgp 65000
2+
router bgp 65001
3+
bgp log-neighbor-changes
4+
neighbor 1.1.1.1 remote-as 12345
5+
neighbor 1.1.1.1 local-as 54321
6+
neighbor 2.2.2.2 local-as 54321
7+
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
version 15.4
2+
service timestamps debug datetime msec
3+
service timestamps log datetime msec
4+
no platform punt-keepalive disable-kernel-core
5+
platform console virtual
6+
!
7+
hostname vagrant_box
8+
!
9+
boot-start-marker
10+
boot-end-marker
11+
!
12+
!
13+
enable secret 5 $1$nc08$bizeEFbgCBKjZP4nurNCd.
14+
enable password vagrant
15+
!
16+
aaa new-model
17+
!
18+
!
19+
aaa authorization exec default local
20+
!
21+
!
22+
logging blah
23+
logging bleh
24+
!
25+
!
26+
!
27+
aaa session-id common
28+
!
29+
!
30+
!
31+
!
32+
!
33+
!
34+
!
35+
!
36+
!
37+
38+
39+
ip domain name acme.com
40+
41+
!
42+
!
43+
!
44+
!
45+
!
46+
!
47+
!
48+
!
49+
!
50+
!
51+
subscriber templating
52+
!
53+
multilink bundle-name authenticated
54+
!
55+
!
56+
!
57+
license udi pid CSR1000V sn 9EKBH55S58T
58+
archive
59+
path bootflash:archive
60+
write-memory
61+
spanning-tree extend system-id
62+
!
63+
username vagrant privilege 15 password 0 vagrant
64+
!
65+
redundancy
66+
mode none
67+
!
68+
!
69+
!
70+
!
71+
!
72+
!
73+
!
74+
!
75+
!
76+
!
77+
!
78+
!
79+
!
80+
!
81+
!
82+
!
83+
!
84+
!
85+
!
86+
!
87+
interface Loopback0
88+
description something
89+
ip address 1.1.1.1 255.255.255.255
90+
!
91+
interface GigabitEthernet1
92+
ip address dhcp
93+
negotiation auto
94+
no mop enabled
95+
switchport mode access
96+
switchport trunk vlan 1,2,3,4,5
97+
!
98+
interface GigabitEthernet2
99+
description blah
100+
ip address 172.20.0.1 255.255.255.0
101+
shutdown
102+
negotiation auto
103+
!
104+
interface GigabitEthernet3
105+
no ip address
106+
shutdown
107+
negotiation auto
108+
!
109+
router bgp 65000
110+
bgp log-neighbor-changes
111+
neighbor 1.1.1.1 remote-as 12345
112+
neighbor 1.1.1.1 local-as 54321
113+
neighbor 2.2.2.2 local-as 54321
114+
!
115+
!
116+
virtual-service csr_mgmt
117+
!
118+
ip forward-protocol nd
119+
!
120+
no ip http server
121+
no ip http secure-server
122+
ip ssh version 2
123+
ip scp server enable
124+
!
125+
!
126+
!
127+
!
128+
!
129+
!
130+
control-plane
131+
!
132+
!
133+
line con 0
134+
stopbits 1
135+
line vty 0 4
136+
password vagrant
137+
!
138+
!
139+
end
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- router bgp 65000
2+
- bgp log-neighbor-changes
3+
- neighbor 2.2.2.2 local-as 54321
4+
- neighbor 1.1.1.1 remote-as 12345
5+
- neighbor 1.1.1.1 local-as 54321
6+
+ router bgp 65001
7+
+ bgp log-neighbor-changes
8+
+ neighbor 2.2.2.2 local-as 54321
9+
+ neighbor 1.1.1.1 remote-as 12345
10+
+ neighbor 1.1.1.1 local-as 54321

0 commit comments

Comments
 (0)