如果以上配置没有问题,交换机重启之后堆叠成功。现在物理上的两台交换机成为逻辑上的一台交换机。查看关于堆叠配置信息如下:
二、telnet与ssh登陆配置
system-view
telnet server enable
ssh server enable
local-usertestclass manage
password simple123456
service-type telnet ssh terminal
authorization-attribute user-role network-admin
quit
line console 0 1
authentication-mode scheme
quit
user-interface vty 0 4
authentication-mode scheme
user-role network-admin
protocol inbound all
quit
interface Vlan-interface 1
ip address 192.168.88.28 24
quit
ip route-static 0.0.0.0 0 192.168.88.254
ssh usertestservice-type stelnet authentication-type password
public-key local create rsa //创建密钥对,输入2048,默认已经存在,也可以不创建
三、端口聚合
interface Bridge-Aggregation 1
quit
interface range GigabitEthernet 1/0/51 to g 1/0/52 GigabitEthernet 2/0/51 to GigabitEthernet 2/0/52
port link-aggregation group 1
dhcp snooping trust
quit
interface Bridge-Aggregation 1
port link-type trunk
port trunk permit v