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
IOSv-L2-01#show run int vlan 10
Building configuration...
Current configuration : 59 bytes
!
interface Vlan10
ip address 10.0.0.1 255.255.255.0
end
IOSv-L2-01#
IOSv-L2-01#ping 10.0.0.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/20/36 ms
IOSv-L2-01#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 - 5000.0004.800a ARPA Vlan10
Internet 10.0.0.100 0 5000.0003.800a ARPA Vlan10
IOSv-L2-02
IOSv-L2-02#show run int vlan 10
Building configuration...
Current configuration : 61 bytes
!
interface Vlan10
ip address 10.0.0.100 255.255.255.0
end
IOSv-L2-02#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 13/31/45 ms
IOSv-L2-02#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.0.0.1 0 5000.0004.800a ARPA Vlan10
Internet 10.0.0.100 - 5000.0003.800a ARPA Vlan10
コンフィグ
IOSv-L2-01
IOSv-L2-01#show running-config
Building configuration...
Current configuration : 3123 bytes
!
! Last configuration change at 11:43:09 UTC Wed Nov 16 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname IOSv-L2-01
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/0
switchport trunk encapsulation dot1q
switchport mode trunk
negotiation auto
channel-group 1 mode active
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
negotiation auto
channel-group 1 mode active
!
interface GigabitEthernet0/2
negotiation auto
!
interface GigabitEthernet0/3
negotiation auto
!
interface GigabitEthernet1/0
negotiation auto
!
interface GigabitEthernet1/1
negotiation auto
!
interface GigabitEthernet1/2
negotiation auto
!
interface GigabitEthernet1/3
negotiation auto
!
interface Vlan10
ip address 10.0.0.1 255.255.255.0
!
ip forward-protocol nd
!
ip http server
!
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
!
!
!
!
control-plane
!
banner exec ^C
IOSv - Cisco Systems Confidential -
Supplemental End User License Restrictions
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.
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.
^C
banner incoming ^C
IOSv - Cisco Systems Confidential -
Supplemental End User License Restrictions
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.
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.
^C
banner login ^C
IOSv - Cisco Systems Confidential -
Supplemental End User License Restrictions
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.
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.
^C
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
IOSv-L2-01#
CSR01
CSR01#show running-config
*Nov 16 11:47:24.655: %EC-5-MINLINKS_MET: Port-channel Port-channel1 is up as its bundled ports (1) meets min-links
*Nov 16 11:47:24.655: GigabitEthernet4 added as member-1 to port-channel1
Building configuration...
Current configuration : 6657 bytes
!
! Last configuration change at 11:47:11 UTC Wed Nov 16 2022
!
version 17.3
service timestamps debug datetime msec
service timestamps log datetime msec
service call-home
platform qfp utilization monitor load 80
platform punt-keepalive disable-kernel-core
platform console serial
!
hostname CSR01
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ethernet evc DL01
!
!
!
!
!
!
!
!
!
!
!
login on-success log
!
!
!
!
!
!
!
subscriber templating
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3820985848
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3820985848
revocation-check none
rsakeypair TP-self-signed-3820985848
!
crypto pki trustpoint SLA-TrustPoint
enrollment pkcs12
revocation-check crl
!
!
crypto pki certificate chain TP-self-signed-3820985848
certificate self-signed 01
30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33383230 39383538 3438301E 170D3232 31313136 31303134
32335A17 0D333231 31313531 30313432 335A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 38323039
38353834 38308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201
0A028201 0100CCCB C30B867F 7181820F 1A0F749B 3A0320D5 3192047B D23A41A5
192E6E56 39E9F9D5 94049140 6B8AC8A9 5E67319F 4C5866EC 8F059CA6 3528BEF5
87A7E370 ADBE295F 1253AD11 1F359C6E 7943DCB3 24968862 33D85E5C 85AC0950
BD0BD96E 3C52F454 3B89A153 839FE65B 274870F8 6990F3AA C3184DC6 CEEC8510
1455EB85 2862D946 34ADA42F D6C31E76 B41AA29A F6C19951 EBAD52D5 4DBC103E
51E2D708 1CB1E727 6466A4B2 6590C24D 0126D189 9B636083 7BF17AD2 201ED80B
CB68C7F6 E6669BE4 8A6D5D13 2C6C5E43 F0A31531 ED9F68D7 82AA87C5 1E56998E
BA4012B5 0655346B 195061C0 4B663C12 AC4C3085 4899C7B1 947CFB37 FEAEDC18
6E701B49 79E10203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF
301F0603 551D2304 18301680 14CCD236 134522A3 8F2261AF 313CBCB1 D7BC36C1
F7301D06 03551D0E 04160414 CCD23613 4522A38F 2261AF31 3CBCB1D7 BC36C1F7
300D0609 2A864886 F70D0101 05050003 82010100 7B1DF14F AFEE171D 532D4B0D
A56C78EE 96D2AD98 BC674916 FAE4DF0F E990152B E345A468 477D6EAC BA2470AA
DD22E530 72110012 BE2BFC8D A0BDB204 F37762F5 9FA14333 37924311 1CD77AD3
F39CD3DD 675BBF0E 5CFAA15E 2D097693 3D5ABAC1 CFB8BDD1 59026BCA 1A513792
BF0468F9 17BE05CF 7A288CEE 1BBCEC9E EEF86399 2B31A4E0 FDE8BB1B 60082A5D
45B179D0 A3E2942A BF2E676E 966324C3 7F680FC9 1CB4A147 3BEEBB63 3C898B08
6ED0EDFE 38D4FA51 B9279BE3 9A5DD4EC D69F0FA3 1B59AD43 35D6C573 E102F209
A7F285CB C16AAEAB D5134A93 EC379629 15D9A32C 3D3827D5 C4CCDA6B 381F96E6
44199194 D3E18AF5 EB8C2E85 36D38325 7A61BE69
quit
crypto pki certificate chain SLA-TrustPoint
certificate ca 01
30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030
32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363
6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934
3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305
43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720
526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030
82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D
CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520
1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE
4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC
7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188
68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7
C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191
C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44
DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201
06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85
4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500
03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905
604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B
D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8
467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C
7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B
5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678
80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB
418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0
D697DF7F 28
quit
!
license udi pid CSR1000V sn 9A5VG8P02ZG
diagnostic bootup level minimal
memory free low-watermark processor 71489
!
!
spanning-tree mode mst
spanning-tree extend system-id
spanning-tree mst 0 priority 0
!
!
redundancy
interchassis group 1
member ip 1.1.1.2
mlacp node-id 1
!
bridge-domain 10
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
no ip address
no negotiation auto
no mop enabled
no mop sysid
spanning-tree bpdufilter enable
mlacp interchassis group 1
service instance 1 ethernet DL01
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 10
!
!
interface GigabitEthernet1
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 1 ethernet DL01
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 10
!
!
interface GigabitEthernet2
ip address 1.1.1.1 255.255.255.252
negotiation auto
bfd interval 1000 min_rx 2000 multiplier 3
no mop enabled
no mop sysid
!
interface GigabitEthernet3
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 1 ethernet DL01
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 10
!
!
interface GigabitEthernet4
no ip address
negotiation auto
no mop enabled
no mop sysid
channel-group 1 mode active
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
line con 0
stopbits 1
line vty 0 4
login
transport input ssh
!
call-home
! If contact email address in call-home is configured as sch-smart-licensing@cisco.com
! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications.
contact-email-addr sch-smart-licensing@cisco.com
profile "CiscoTAC-1"
active
destination transport-method http
!
!
!
!
!
end
CSR01#
CSR02
CSR02#show running-config
Building configuration...
Current configuration : 6626 bytes
!
! Last configuration change at 11:45:46 UTC Wed Nov 16 2022
!
version 17.3
service timestamps debug datetime msec
service timestamps log datetime msec
service call-home
platform qfp utilization monitor load 80
platform punt-keepalive disable-kernel-core
platform console serial
!
hostname CSR02
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
ethernet evc DL01
!
!
!
!
!
!
!
!
!
!
!
login on-success log
!
!
!
!
!
!
!
subscriber templating
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3260761200
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3260761200
revocation-check none
rsakeypair TP-self-signed-3260761200
!
crypto pki trustpoint SLA-TrustPoint
enrollment pkcs12
revocation-check crl
!
!
crypto pki certificate chain TP-self-signed-3260761200
certificate self-signed 01
30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33323630 37363132 3030301E 170D3232 31313136 31303134
33345A17 0D333231 31313531 30313433 345A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 32363037
36313230 30308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201
0A028201 0100C76E B48E0FF1 D7BA6E23 DCD404A9 BBCFC0AD D660F012 BFF63CEB
DFA1311B 4106A03D 5259ED6D 6E8E6F10 EAAB5443 D4C7E2E8 8DE5F7E9 072B0673
D5886D59 000D546A 41E7B57B 8997A629 A0890EF9 0C2E0CE0 3696E9B4 EC609F08
2A8C2F51 1A12EF4B C8CB5D35 2C6B618C E273CC3D B9F9FF6B F3A674C5 4C6AC219
4532E5B2 C6B2D9B2 3160152C 54F35FF6 4CF60BDF 0D7737B6 A3FC85C1 9E202B17
41CFCD67 BF7EFEF5 EFFBC10F B6E6F18A 0A572B28 6D3E749A 2A92F484 90096504
909B6047 A8D3F836 0D3B0285 BE1B5213 7BC15197 A980C39B 376D15FF 5E1268B8
5A31B3BD 1BAF694A CD5E4BC5 69DD63C5 BA26D5EB 67E81F40 B01E06B7 C01EA0BF
1B2137BB 0EA70203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF
301F0603 551D2304 18301680 140DBF8B E8FF93D8 6A94D1A5 32086918 C2086D78
58301D06 03551D0E 04160414 0DBF8BE8 FF93D86A 94D1A532 086918C2 086D7858
300D0609 2A864886 F70D0101 05050003 82010100 BA44ABFB EED2CCF1 6E4D6E2D
6EAD701B AF2590E3 29C23F73 78DA3843 5F903B11 4FB855AB FE739012 2C76C7E3
C995A0F9 1DF55B58 F6093454 C2E58253 0EC3BAEE 248E4D30 B5AEFF74 AB305BDD
A7E2908F 0A9A53A3 1627106D 01EDC7B8 BC229112 F9F886E5 A59D2684 B80B6ACE
44B37ED9 F742A522 F52FD14E 914CE60D 6CFE94DD 2A68E756 61047689 42C579F1
39AAEDF0 48EE90BF 2C014F26 C41BCB8D 337EA578 DBACA4D8 777D4266 B9D57820
1FEA5795 D3035E48 454AD4C9 92710A99 9CDE5172 9E9A732F D725B5E7 91809ED6
25459786 F11615A7 617254EC 5CB1D53B B3D373E9 1A8CFAB7 1D5EFD4A CFD497CA
D0107C32 5E64DBE7 2EF112BD B52F3614 BD3D160D
quit
crypto pki certificate chain SLA-TrustPoint
certificate ca 01
30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030
32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363
6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934
3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305
43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720
526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030
82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D
CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520
1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE
4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC
7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188
68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7
C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191
C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44
DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201
06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85
4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500
03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905
604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B
D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8
467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C
7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B
5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678
80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB
418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0
D697DF7F 28
quit
!
license udi pid CSR1000V sn 93NBDOAJ4NY
diagnostic bootup level minimal
memory free low-watermark processor 71489
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
!
redundancy
interchassis group 1
member ip 1.1.1.1
mlacp node-id 2
!
bridge-domain 10
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
no ip address
no negotiation auto
no mop enabled
no mop sysid
spanning-tree bpdufilter enable
mlacp interchassis group 1
service instance 1 ethernet DL01
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 10
!
!
interface GigabitEthernet1
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 1 ethernet DL01
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 10
!
!
interface GigabitEthernet2
ip address 1.1.1.2 255.255.255.252
negotiation auto
bfd interval 1000 min_rx 2000 multiplier 3
no mop enabled
no mop sysid
!
interface GigabitEthernet3
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 1 ethernet DL01
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 10
!
!
interface GigabitEthernet4
no ip address
negotiation auto
no mop enabled
no mop sysid
channel-group 1 mode active
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
line con 0
stopbits 1
line vty 0 4
login
transport input ssh
!
call-home
! If contact email address in call-home is configured as sch-smart-licensing@cisco.com
! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications.
contact-email-addr sch-smart-licensing@cisco.com
profile "CiscoTAC-1"
active
destination transport-method http
!
!
!
!
!
end
CSR02#
IOSv-L2-02
IOSv-L2-02#show running-config
Building configuration...
Current configuration : 3131 bytes
!
! Last configuration change at 11:48:35 UTC Wed Nov 16 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname IOSv-L2-02
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
shutdown
negotiation auto
!
interface GigabitEthernet0/1
shutdown
negotiation auto
!
interface GigabitEthernet0/2
shutdown
negotiation auto
!
interface GigabitEthernet0/3
shutdown
negotiation auto
!
interface GigabitEthernet1/0
shutdown
negotiation auto
!
interface GigabitEthernet1/1
shutdown
negotiation auto
!
interface GigabitEthernet1/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
negotiation auto
!
interface GigabitEthernet1/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
negotiation auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 10.0.0.100 255.255.255.0
!
ip forward-protocol nd
!
ip http server
!
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
!
!
!
!
control-plane
!
banner exec ^C
IOSv - Cisco Systems Confidential -
Supplemental End User License Restrictions
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.
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.
^C
banner incoming ^C
IOSv - Cisco Systems Confidential -
Supplemental End User License Restrictions
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.
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.
^C
banner login ^C
IOSv - Cisco Systems Confidential -
Supplemental End User License Restrictions
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.
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.
^C
!
line con 0
line aux 0
line vty 0 4
login
!
!
end
IOSv-L2-02#
LACP / mLACP の状態
IOSv-L2-01
IOSv-L2-01#show etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use N - not in use, no aggregation
f - failed to allocate aggregator
M - not in use, minimum links not met
m - not in use, port not aggregated due to minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
A - formed by Auto LAG
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) LACP Gi0/0(P) Gi0/1(P)
CSR01
CSR01#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
CSR01#show lacp multi-chassis group
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: 1
System-Id: 32768.001e.f639.2600
Peer Information:
State: Up
Node-id: 2
System-Id: 32768.001e.e574.a700
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
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
IOSv-L2-02#show spanning-tree mst
##### MST0 vlans mapped: 1-4094
Bridge address 5000.0003.0000 priority 32768 (32768 sysid 0)
Root address 001e.f639.26bb priority 0 (0 sysid 0)
port Gi1/2 path cost 0
Regional Root address 001e.f639.26bb priority 0 (0 sysid 0)
internal cost 20000 rem hops 19
Operational hello time 2 , forward delay 15, max age 20, txholdcount 6
Configured hello time 2 , forward delay 15, max age 20, max hops 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/2 Root FWD 20000 128.7 P2p
Gi1/3 Altn BLK 20000 128.8 P2p
IOSv-L2-02#