2022-11-16 CSR1000V で MC-LAG 機能検証
ナビゲーションに移動
検索に移動
CSR1000V で PE ルータとして使用する機能、MC-LAG を設定してみました。
CE を収容する機能は、MST (Multiple Spanning-Tree) を使っています。
結果
- とりあえず LACP フレームを送信して LAG を構成できた
- ping も通る
- 冗長性は検証できない
- CSR を筐体断させても、IOSv-L2 は LACP suspend したポートにトラフィックを投げてしまう
- 実機が来る前に PoC としてコンフィグをある程度追い込むのに使える
構成図
疎通確認
IOSv-L2-01
1 IOSv-L2-01#show run int vlan 10
2 Building configuration...
3
4 Current configuration : 59 bytes
5 !
6 interface Vlan10
7 ip address 10.0.0.1 255.255.255.0
8 end
9 IOSv-L2-01#
10 IOSv-L2-01#ping 10.0.0.100
11 Type escape sequence to abort.
12 Sending 5, 100-byte ICMP Echos to 10.0.0.100, timeout is 2 seconds:
13 !!!!!
14 Success rate is 100 percent (5/5), round-trip min/avg/max = 9/20/36 ms
15 IOSv-L2-01#show ip arp
16 Protocol Address Age (min) Hardware Addr Type Interface
17 Internet 10.0.0.1 - 5000.0004.800a ARPA Vlan10
18 Internet 10.0.0.100 0 5000.0003.800a ARPA Vlan10
IOSv-L2-02
1 IOSv-L2-02#show run int vlan 10
2 Building configuration...
3
4 Current configuration : 61 bytes
5 !
6 interface Vlan10
7 ip address 10.0.0.100 255.255.255.0
8 end
9
10 IOSv-L2-02#ping 10.0.0.1
11 Type escape sequence to abort.
12 Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
13 .!!!!
14 Success rate is 80 percent (4/5), round-trip min/avg/max = 13/31/45 ms
15 IOSv-L2-02#show ip arp
16 Protocol Address Age (min) Hardware Addr Type Interface
17 Internet 10.0.0.1 0 5000.0004.800a ARPA Vlan10
18 Internet 10.0.0.100 - 5000.0003.800a ARPA Vlan10
コンフィグ
IOSv-L2-01
1 IOSv-L2-01#show running-config
2 Building configuration...
3
4 Current configuration : 3123 bytes
5 !
6 ! Last configuration change at 11:43:09 UTC Wed Nov 16 2022
7 !
8 version 15.2
9 service timestamps debug datetime msec
10 service timestamps log datetime msec
11 no service password-encryption
12 service compress-config
13 !
14 hostname IOSv-L2-01
15 !
16 boot-start-marker
17 boot-end-marker
18 !
19 !
20 !
21 no aaa new-model
22 !
23 !
24 !
25 !
26 !
27 !
28 !
29 !
30 ip cef
31 no ipv6 cef
32 !
33 !
34 !
35 spanning-tree mode mst
36 spanning-tree extend system-id
37 !
38 !
39 !
40 !
41 !
42 !
43 !
44 !
45 !
46 !
47 !
48 !
49 !
50 !
51 !
52 interface Port-channel1
53 switchport trunk encapsulation dot1q
54 switchport mode trunk
55 !
56 interface GigabitEthernet0/0
57 switchport trunk encapsulation dot1q
58 switchport mode trunk
59 negotiation auto
60 channel-group 1 mode active
61 !
62 interface GigabitEthernet0/1
63 switchport trunk encapsulation dot1q
64 switchport mode trunk
65 negotiation auto
66 channel-group 1 mode active
67 !
68 interface GigabitEthernet0/2
69 negotiation auto
70 !
71 interface GigabitEthernet0/3
72 negotiation auto
73 !
74 interface GigabitEthernet1/0
75 negotiation auto
76 !
77 interface GigabitEthernet1/1
78 negotiation auto
79 !
80 interface GigabitEthernet1/2
81 negotiation auto
82 !
83 interface GigabitEthernet1/3
84 negotiation auto
85 !
86 interface Vlan10
87 ip address 10.0.0.1 255.255.255.0
88 !
89 ip forward-protocol nd
90 !
91 ip http server
92 !
93 ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
94 ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
95 !
96 !
97 !
98 !
99 !
100 !
101 control-plane
102 !
103 banner exec ^C
104 IOSv - Cisco Systems Confidential -
105
106 Supplemental End User License Restrictions
107
108 This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.
109
110 By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
111 ^C
112 banner incoming ^C
113 IOSv - Cisco Systems Confidential -
114
115 Supplemental End User License Restrictions
116
117 This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.
118
119 By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
120 ^C
121 banner login ^C
122 IOSv - Cisco Systems Confidential -
123
124 Supplemental End User License Restrictions
125
126 This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.
127
128 By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
129 ^C
130 !
131 line con 0
132 line aux 0
133 line vty 0 4
134 login
135 !
136 !
137 end
138
139 IOSv-L2-01#
CSR01
1 CSR01#show running-config
2 *Nov 16 11:47:24.655: %EC-5-MINLINKS_MET: Port-channel Port-channel1 is up as its bundled ports (1) meets min-links
3 *Nov 16 11:47:24.655: GigabitEthernet4 added as member-1 to port-channel1
4
5 Building configuration...
6
7 Current configuration : 6657 bytes
8 !
9 ! Last configuration change at 11:47:11 UTC Wed Nov 16 2022
10 !
11 version 17.3
12 service timestamps debug datetime msec
13 service timestamps log datetime msec
14 service call-home
15 platform qfp utilization monitor load 80
16 platform punt-keepalive disable-kernel-core
17 platform console serial
18 !
19 hostname CSR01
20 !
21 boot-start-marker
22 boot-end-marker
23 !
24 !
25 !
26 no aaa new-model
27 ethernet evc DL01
28 !
29 !
30 !
31 !
32 !
33 !
34 !
35 !
36 !
37 !
38 !
39 login on-success log
40 !
41 !
42 !
43 !
44 !
45 !
46 !
47 subscriber templating
48 !
49 !
50 !
51 !
52 !
53 !
54 multilink bundle-name authenticated
55 !
56 !
57 !
58 !
59 !
60 !
61 !
62 !
63 !
64 !
65 !
66 !
67 !
68 !
69 !
70 crypto pki trustpoint TP-self-signed-3820985848
71 enrollment selfsigned
72 subject-name cn=IOS-Self-Signed-Certificate-3820985848
73 revocation-check none
74 rsakeypair TP-self-signed-3820985848
75 !
76 crypto pki trustpoint SLA-TrustPoint
77 enrollment pkcs12
78 revocation-check crl
79 !
80 !
81 crypto pki certificate chain TP-self-signed-3820985848
82 certificate self-signed 01
83 30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
84 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
85 69666963 6174652D 33383230 39383538 3438301E 170D3232 31313136 31303134
86 32335A17 0D333231 31313531 30313432 335A3031 312F302D 06035504 03132649
87 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 38323039
88 38353834 38308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201
89 0A028201 0100CCCB C30B867F 7181820F 1A0F749B 3A0320D5 3192047B D23A41A5
90 192E6E56 39E9F9D5 94049140 6B8AC8A9 5E67319F 4C5866EC 8F059CA6 3528BEF5
91 87A7E370 ADBE295F 1253AD11 1F359C6E 7943DCB3 24968862 33D85E5C 85AC0950
92 BD0BD96E 3C52F454 3B89A153 839FE65B 274870F8 6990F3AA C3184DC6 CEEC8510
93 1455EB85 2862D946 34ADA42F D6C31E76 B41AA29A F6C19951 EBAD52D5 4DBC103E
94 51E2D708 1CB1E727 6466A4B2 6590C24D 0126D189 9B636083 7BF17AD2 201ED80B
95 CB68C7F6 E6669BE4 8A6D5D13 2C6C5E43 F0A31531 ED9F68D7 82AA87C5 1E56998E
96 BA4012B5 0655346B 195061C0 4B663C12 AC4C3085 4899C7B1 947CFB37 FEAEDC18
97 6E701B49 79E10203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF
98 301F0603 551D2304 18301680 14CCD236 134522A3 8F2261AF 313CBCB1 D7BC36C1
99 F7301D06 03551D0E 04160414 CCD23613 4522A38F 2261AF31 3CBCB1D7 BC36C1F7
100 300D0609 2A864886 F70D0101 05050003 82010100 7B1DF14F AFEE171D 532D4B0D
101 A56C78EE 96D2AD98 BC674916 FAE4DF0F E990152B E345A468 477D6EAC BA2470AA
102 DD22E530 72110012 BE2BFC8D A0BDB204 F37762F5 9FA14333 37924311 1CD77AD3
103 F39CD3DD 675BBF0E 5CFAA15E 2D097693 3D5ABAC1 CFB8BDD1 59026BCA 1A513792
104 BF0468F9 17BE05CF 7A288CEE 1BBCEC9E EEF86399 2B31A4E0 FDE8BB1B 60082A5D
105 45B179D0 A3E2942A BF2E676E 966324C3 7F680FC9 1CB4A147 3BEEBB63 3C898B08
106 6ED0EDFE 38D4FA51 B9279BE3 9A5DD4EC D69F0FA3 1B59AD43 35D6C573 E102F209
107 A7F285CB C16AAEAB D5134A93 EC379629 15D9A32C 3D3827D5 C4CCDA6B 381F96E6
108 44199194 D3E18AF5 EB8C2E85 36D38325 7A61BE69
109 quit
110 crypto pki certificate chain SLA-TrustPoint
111 certificate ca 01
112 30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030
113 32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363
114 6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934
115 3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305
116 43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720
117 526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030
118 82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D
119 CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520
120 1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE
121 4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC
122 7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188
123 68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7
124 C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191
125 C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44
126 DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201
127 06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85
128 4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500
129 03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905
130 604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B
131 D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8
132 467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C
133 7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B
134 5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678
135 80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB
136 418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0
137 D697DF7F 28
138 quit
139 !
140 license udi pid CSR1000V sn 9A5VG8P02ZG
141 diagnostic bootup level minimal
142 memory free low-watermark processor 71489
143 !
144 !
145 spanning-tree mode mst
146 spanning-tree extend system-id
147 spanning-tree mst 0 priority 0
148 !
149 !
150 redundancy
151 interchassis group 1
152 member ip 1.1.1.2
153 mlacp node-id 1
154 !
155 bridge-domain 10
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 interface Port-channel1
181 no ip address
182 no negotiation auto
183 no mop enabled
184 no mop sysid
185 spanning-tree bpdufilter enable
186 mlacp interchassis group 1
187 service instance 1 ethernet DL01
188 encapsulation dot1q 10
189 rewrite ingress tag pop 1 symmetric
190 bridge-domain 10
191 !
192 !
193 interface GigabitEthernet1
194 no ip address
195 negotiation auto
196 no mop enabled
197 no mop sysid
198 service instance 1 ethernet DL01
199 encapsulation dot1q 10
200 rewrite ingress tag pop 1 symmetric
201 bridge-domain 10
202 !
203 !
204 interface GigabitEthernet2
205 ip address 1.1.1.1 255.255.255.252
206 negotiation auto
207 bfd interval 1000 min_rx 2000 multiplier 3
208 no mop enabled
209 no mop sysid
210 !
211 interface GigabitEthernet3
212 no ip address
213 negotiation auto
214 no mop enabled
215 no mop sysid
216 service instance 1 ethernet DL01
217 encapsulation dot1q 10
218 rewrite ingress tag pop 1 symmetric
219 bridge-domain 10
220 !
221 !
222 interface GigabitEthernet4
223 no ip address
224 negotiation auto
225 no mop enabled
226 no mop sysid
227 channel-group 1 mode active
228 !
229 ip forward-protocol nd
230 ip http server
231 ip http authentication local
232 ip http secure-server
233 !
234 !
235 !
236 !
237 !
238 !
239 !
240 !
241 control-plane
242 !
243 !
244 !
245 !
246 !
247 !
248 line con 0
249 stopbits 1
250 line vty 0 4
251 login
252 transport input ssh
253 !
254 call-home
255 ! If contact email address in call-home is configured as sch-smart-licensing@cisco.com
256 ! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications.
257 contact-email-addr sch-smart-licensing@cisco.com
258 profile "CiscoTAC-1"
259 active
260 destination transport-method http
261 !
262 !
263 !
264 !
265 !
266 end
267
268 CSR01#
CSR02
1 CSR02#show running-config
2 Building configuration...
3
4 Current configuration : 6626 bytes
5 !
6 ! Last configuration change at 11:45:46 UTC Wed Nov 16 2022
7 !
8 version 17.3
9 service timestamps debug datetime msec
10 service timestamps log datetime msec
11 service call-home
12 platform qfp utilization monitor load 80
13 platform punt-keepalive disable-kernel-core
14 platform console serial
15 !
16 hostname CSR02
17 !
18 boot-start-marker
19 boot-end-marker
20 !
21 !
22 !
23 no aaa new-model
24 ethernet evc DL01
25 !
26 !
27 !
28 !
29 !
30 !
31 !
32 !
33 !
34 !
35 !
36 login on-success log
37 !
38 !
39 !
40 !
41 !
42 !
43 !
44 subscriber templating
45 !
46 !
47 !
48 !
49 !
50 !
51 multilink bundle-name authenticated
52 !
53 !
54 !
55 !
56 !
57 !
58 !
59 !
60 !
61 !
62 !
63 !
64 !
65 !
66 !
67 crypto pki trustpoint TP-self-signed-3260761200
68 enrollment selfsigned
69 subject-name cn=IOS-Self-Signed-Certificate-3260761200
70 revocation-check none
71 rsakeypair TP-self-signed-3260761200
72 !
73 crypto pki trustpoint SLA-TrustPoint
74 enrollment pkcs12
75 revocation-check crl
76 !
77 !
78 crypto pki certificate chain TP-self-signed-3260761200
79 certificate self-signed 01
80 30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
81 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
82 69666963 6174652D 33323630 37363132 3030301E 170D3232 31313136 31303134
83 33345A17 0D333231 31313531 30313433 345A3031 312F302D 06035504 03132649
84 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 32363037
85 36313230 30308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201
86 0A028201 0100C76E B48E0FF1 D7BA6E23 DCD404A9 BBCFC0AD D660F012 BFF63CEB
87 DFA1311B 4106A03D 5259ED6D 6E8E6F10 EAAB5443 D4C7E2E8 8DE5F7E9 072B0673
88 D5886D59 000D546A 41E7B57B 8997A629 A0890EF9 0C2E0CE0 3696E9B4 EC609F08
89 2A8C2F51 1A12EF4B C8CB5D35 2C6B618C E273CC3D B9F9FF6B F3A674C5 4C6AC219
90 4532E5B2 C6B2D9B2 3160152C 54F35FF6 4CF60BDF 0D7737B6 A3FC85C1 9E202B17
91 41CFCD67 BF7EFEF5 EFFBC10F B6E6F18A 0A572B28 6D3E749A 2A92F484 90096504
92 909B6047 A8D3F836 0D3B0285 BE1B5213 7BC15197 A980C39B 376D15FF 5E1268B8
93 5A31B3BD 1BAF694A CD5E4BC5 69DD63C5 BA26D5EB 67E81F40 B01E06B7 C01EA0BF
94 1B2137BB 0EA70203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF
95 301F0603 551D2304 18301680 140DBF8B E8FF93D8 6A94D1A5 32086918 C2086D78
96 58301D06 03551D0E 04160414 0DBF8BE8 FF93D86A 94D1A532 086918C2 086D7858
97 300D0609 2A864886 F70D0101 05050003 82010100 BA44ABFB EED2CCF1 6E4D6E2D
98 6EAD701B AF2590E3 29C23F73 78DA3843 5F903B11 4FB855AB FE739012 2C76C7E3
99 C995A0F9 1DF55B58 F6093454 C2E58253 0EC3BAEE 248E4D30 B5AEFF74 AB305BDD
100 A7E2908F 0A9A53A3 1627106D 01EDC7B8 BC229112 F9F886E5 A59D2684 B80B6ACE
101 44B37ED9 F742A522 F52FD14E 914CE60D 6CFE94DD 2A68E756 61047689 42C579F1
102 39AAEDF0 48EE90BF 2C014F26 C41BCB8D 337EA578 DBACA4D8 777D4266 B9D57820
103 1FEA5795 D3035E48 454AD4C9 92710A99 9CDE5172 9E9A732F D725B5E7 91809ED6
104 25459786 F11615A7 617254EC 5CB1D53B B3D373E9 1A8CFAB7 1D5EFD4A CFD497CA
105 D0107C32 5E64DBE7 2EF112BD B52F3614 BD3D160D
106 quit
107 crypto pki certificate chain SLA-TrustPoint
108 certificate ca 01
109 30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030
110 32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363
111 6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934
112 3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305
113 43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720
114 526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030
115 82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D
116 CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520
117 1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE
118 4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC
119 7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188
120 68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7
121 C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191
122 C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44
123 DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201
124 06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85
125 4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500
126 03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905
127 604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B
128 D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8
129 467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C
130 7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B
131 5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678
132 80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB
133 418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0
134 D697DF7F 28
135 quit
136 !
137 license udi pid CSR1000V sn 93NBDOAJ4NY
138 diagnostic bootup level minimal
139 memory free low-watermark processor 71489
140 !
141 !
142 spanning-tree mode mst
143 spanning-tree extend system-id
144 !
145 !
146 redundancy
147 interchassis group 1
148 member ip 1.1.1.1
149 mlacp node-id 2
150 !
151 bridge-domain 10
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 interface Port-channel1
177 no ip address
178 no negotiation auto
179 no mop enabled
180 no mop sysid
181 spanning-tree bpdufilter enable
182 mlacp interchassis group 1
183 service instance 1 ethernet DL01
184 encapsulation dot1q 10
185 rewrite ingress tag pop 1 symmetric
186 bridge-domain 10
187 !
188 !
189 interface GigabitEthernet1
190 no ip address
191 negotiation auto
192 no mop enabled
193 no mop sysid
194 service instance 1 ethernet DL01
195 encapsulation dot1q 10
196 rewrite ingress tag pop 1 symmetric
197 bridge-domain 10
198 !
199 !
200 interface GigabitEthernet2
201 ip address 1.1.1.2 255.255.255.252
202 negotiation auto
203 bfd interval 1000 min_rx 2000 multiplier 3
204 no mop enabled
205 no mop sysid
206 !
207 interface GigabitEthernet3
208 no ip address
209 negotiation auto
210 no mop enabled
211 no mop sysid
212 service instance 1 ethernet DL01
213 encapsulation dot1q 10
214 rewrite ingress tag pop 1 symmetric
215 bridge-domain 10
216 !
217 !
218 interface GigabitEthernet4
219 no ip address
220 negotiation auto
221 no mop enabled
222 no mop sysid
223 channel-group 1 mode active
224 !
225 ip forward-protocol nd
226 ip http server
227 ip http authentication local
228 ip http secure-server
229 !
230 !
231 !
232 !
233 !
234 !
235 !
236 !
237 control-plane
238 !
239 !
240 !
241 !
242 !
243 !
244 line con 0
245 stopbits 1
246 line vty 0 4
247 login
248 transport input ssh
249 !
250 call-home
251 ! If contact email address in call-home is configured as sch-smart-licensing@cisco.com
252 ! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications.
253 contact-email-addr sch-smart-licensing@cisco.com
254 profile "CiscoTAC-1"
255 active
256 destination transport-method http
257 !
258 !
259 !
260 !
261 !
262 end
263
264 CSR02#
IOSv-L2-02
1 IOSv-L2-02#show running-config
2 Building configuration...
3
4 Current configuration : 3131 bytes
5 !
6 ! Last configuration change at 11:48:35 UTC Wed Nov 16 2022
7 !
8 version 15.2
9 service timestamps debug datetime msec
10 service timestamps log datetime msec
11 no service password-encryption
12 service compress-config
13 !
14 hostname IOSv-L2-02
15 !
16 boot-start-marker
17 boot-end-marker
18 !
19 !
20 !
21 no aaa new-model
22 !
23 !
24 !
25 !
26 !
27 !
28 !
29 !
30 ip cef
31 no ipv6 cef
32 !
33 !
34 !
35 spanning-tree mode mst
36 spanning-tree extend system-id
37 !
38 !
39 !
40 !
41 !
42 !
43 !
44 !
45 !
46 !
47 !
48 !
49 !
50 !
51 !
52 interface GigabitEthernet0/0
53 shutdown
54 negotiation auto
55 !
56 interface GigabitEthernet0/1
57 shutdown
58 negotiation auto
59 !
60 interface GigabitEthernet0/2
61 shutdown
62 negotiation auto
63 !
64 interface GigabitEthernet0/3
65 shutdown
66 negotiation auto
67 !
68 interface GigabitEthernet1/0
69 shutdown
70 negotiation auto
71 !
72 interface GigabitEthernet1/1
73 shutdown
74 negotiation auto
75 !
76 interface GigabitEthernet1/2
77 switchport trunk encapsulation dot1q
78 switchport mode trunk
79 switchport nonegotiate
80 negotiation auto
81 !
82 interface GigabitEthernet1/3
83 switchport trunk encapsulation dot1q
84 switchport mode trunk
85 switchport nonegotiate
86 negotiation auto
87 !
88 interface Vlan1
89 no ip address
90 shutdown
91 !
92 interface Vlan10
93 ip address 10.0.0.100 255.255.255.0
94 !
95 ip forward-protocol nd
96 !
97 ip http server
98 !
99 ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
100 ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
101 !
102 !
103 !
104 !
105 !
106 !
107 control-plane
108 !
109 banner exec ^C
110 IOSv - Cisco Systems Confidential -
111
112 Supplemental End User License Restrictions
113
114 This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.
115
116 By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
117 ^C
118 banner incoming ^C
119 IOSv - Cisco Systems Confidential -
120
121 Supplemental End User License Restrictions
122
123 This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.
124
125 By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
126 ^C
127 banner login ^C
128 IOSv - Cisco Systems Confidential -
129
130 Supplemental End User License Restrictions
131
132 This IOSv software is provided AS-IS without warranty of any kind. Under no circumstances may this software be used separate from the Cisco Modeling Labs Software that this software was provided with, or deployed or used as part of a production environment.
133
134 By using the software, you agree to abide by the terms and conditions of the Cisco End User License Agreement at http://www.cisco.com/go/eula. Unauthorized use or distribution of this software is expressly prohibited.
135 ^C
136 !
137 line con 0
138 line aux 0
139 line vty 0 4
140 login
141 !
142 !
143 end
144
145 IOSv-L2-02#
LACP / mLACP の状態
IOSv-L2-01
1 IOSv-L2-01#show etherchannel summary
2 Flags: D - down P - bundled in port-channel
3 I - stand-alone s - suspended
4 H - Hot-standby (LACP only)
5 R - Layer3 S - Layer2
6 U - in use N - not in use, no aggregation
7 f - failed to allocate aggregator
8
9 M - not in use, minimum links not met
10 m - not in use, port not aggregated due to minimum links not met
11 u - unsuitable for bundling
12 w - waiting to be aggregated
13 d - default port
14
15 A - formed by Auto LAG
16
17
18 Number of channel-groups in use: 1
19 Number of aggregators: 1
20
21 Group Port-channel Protocol Ports
22 ------+-------------+-----------+-----------------------------------------------
23 1 Po1(SU) LACP Gi0/0(P) Gi0/1(P)
CSR01
1 CSR01#show etherchannel summary
2 Flags: D - down P/bndl - bundled in port-channel
3 I - stand-alone s/susp - suspended
4 H - Hot-standby (LACP only)
5 R - Layer3 S - Layer2
6 U - in use f - failed to allocate aggregator
7
8 M - not in use, minimum links not met
9 u - unsuitable for bundling
10 w - waiting to be aggregated
11 d - default port
12
13
14 Number of channel-groups in use: 1
15 Number of aggregators: 1
16
17 Group Port-channel Protocol Ports
18 ------+-------------+-----------+-----------------------------------------------
19 1 Po1(RU) LACP Gi4(bndl-act)
20
21 RU - L3 port-channel UP State
22 SU - L2 port-channel UP state
23 P/bndl - Bundled
24 S/susp - Suspended
25
26 CSR01#show lacp multi-chassis group
27 Interchassis Redundancy Group 1
28
29 Operational LACP Parameters:
30 RG State: Synchronized
31 System-Id: 32768.001e.e574.a700
32 ICCP Version: 0
33 Backbone Uplink Status: Connected
34 Local Configuration:
35 Node-id: 1
36 System-Id: 32768.001e.f639.2600
37
38 Peer Information:
39 State: Up
40 Node-id: 2
41 System-Id: 32768.001e.e574.a700
42 ICCP Version: 0
43
44 State Flags: Active - A
45 Standby - S
46 Down - D
47 AdminDown - AD
48 Standby Reverting - SR
49 Unknown - U
50
51 mLACP Channel-groups
52 Channel State Priority Active Links Inactive Links
53 Group Local/Peer Local/Peer Local/Peer Local/Peer
54 1 A/A 32768/32768 1/1 0/0
CSR02
CSR02#show etherchannel summary
Flags: D - down P/bndl - bundled in port-channel
I - stand-alone s/susp - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(RU) LACP Gi4(bndl-act)
RU - L3 port-channel UP State
SU - L2 port-channel UP state
P/bndl - Bundled
S/susp - Suspended
CSR02#show lacp multi-chassis
% Incomplete command.
CSR02#show lacp multi-chassis ?
group Display mLACP Redundancy Group Information
load-balance Multi-chassis Load-Balance Information
port-channel Display mLACP Port-channel(s)
CSR02#show lacp multi-chassis group 1
Interchassis Redundancy Group 1
Operational LACP Parameters:
RG State: Synchronized
System-Id: 32768.001e.e574.a700
ICCP Version: 0
Backbone Uplink Status: Connected
Local Configuration:
Node-id: 2
System-Id: 32768.001e.e574.a700
Peer Information:
State: Up
Node-id: 1
System-Id: 32768.001e.f639.2600
ICCP Version: 0
State Flags: Active - A
Standby - S
Down - D
AdminDown - AD
Standby Reverting - SR
Unknown - U
mLACP Channel-groups
Channel State Priority Active Links Inactive Links
Group Local/Peer Local/Peer Local/Peer Local/Peer
1 A/A 32768/32768 1/1 0/0
CSR02#
MST の状態
IOSv-L2-02
1 IOSv-L2-02#show spanning-tree mst
2
3 ##### MST0 vlans mapped: 1-4094
4 Bridge address 5000.0003.0000 priority 32768 (32768 sysid 0)
5 Root address 001e.f639.26bb priority 0 (0 sysid 0)
6 port Gi1/2 path cost 0
7 Regional Root address 001e.f639.26bb priority 0 (0 sysid 0)
8 internal cost 20000 rem hops 19
9 Operational hello time 2 , forward delay 15, max age 20, txholdcount 6
10 Configured hello time 2 , forward delay 15, max age 20, max hops 20
11
12 Interface Role Sts Cost Prio.Nbr Type
13 ---------------- ---- --- --------- -------- --------------------------------
14 Gi1/2 Root FWD 20000 128.7 P2p
15 Gi1/3 Altn BLK 20000 128.8 P2p
16
17 IOSv-L2-02#