G-LAB IT实验室

GCNA-华为-思科-锐捷多厂商网络融合技术

技术分享2022-06-20阅读 115

实验需求:实现思科交换机、华为交换机、锐捷交换机多厂商融合技术

实现VPC4和VPC5之间的通讯

配置如下

CISCO-SW1enableconfigure terminalhostname Cisco-SWno ip cefusername glab privilege 15 password 0 admin123vlan 10vlan 20vlan 28interface Vlan28
 ip address 28.9.4.201 255.255.255.0
 no shutinterface Vlan10
 ip address 10.1.1.254 255.255.255.0
 no shutinterface Vlan20
 ip address 20.1.1.253 255.255.255.0
 no shutline vty 0 4
 login local
 transport input allspanning-tree mode mstspanning-tree mst configuration
 name glab
 instance 1 vlan 10
 instance 2 vlan 20spanning-tree mst 1 priority 24576spanning-tree mst 2 priority 28672int ran eth 0/0 - 1switchport trunk encapsulation dot1qswitchport mode trunkno shutdownendwrHuaWei-SWsys imsysname HUAWEI-SWundo ip frrvlan batch 10 20 28stp mode mstpstp region-configuration
 region-name glab
 instance 1 vlan 10
 instance 2 vlan 20quitstp instance 1 root secondarystp instance 2 root primarystp enableyinterface GE1/0/0
 undo shutdown
 port link-type trunk
 port trunk allow-pass vlan allinterface GE1/0/1
 undo shutdown
 port link-type trunk
 port trunk allow-pass vlan alluser-interface vty 0 4
 authentication-mode password
 user privilege level 3
 set authentication password cipher admin123
 protocol inbound telnetinterface Vlanif10
 ip address 10.1.1.253 255.255.255.0
 undo shutinterface Vlanif20
 ip address 20.1.1.254 255.255.255.0
 undo shutinterface Vlanif28
 ip address 28.9.4.202 255.255.255.0
 undo shutquitquitsaveyRuiJie-SW1enableconfigure terminalhostname RuiJie-SWusername glab privilege 15 password 0 admin123vlan 10vlan 20vlan 28interface Vlan28
 ip address 28.9.4.203 255.255.255.0
 no shutline vty 0 4
 login local
 transport input allspanning-treespanning-tree mode mstspanning-tree mst configuration
 name glab
 instance 1 vlan 10
 instance 2 vlan 20int range gigabitEthernet 0/0 - 1swi mode trunkno shutinterface GigabitEthernet 0/2
 swi mode acc
 switchport access vlan 10
 spanning-tree portfastinterface GigabitEthernet 0/3
 swi mode acc
 switchport access vlan 20
 spanning-tree portfastendwr


相关文章

想系统学习相关认证课程?

查看课程体系