1、启用lldp
lldp enable
2、启用gvrp
gvrp
3、创建vlan信息
例:vlan 2 3 4
4、配置交换机互联接口
interface GigabitEthernet1/0/1
description XXXX //描述
port link-type trunk // 启用trunk
port trunk permit vlan all //允许所有vlan
gvrp //启用gvrp
5、设置默认路由
ip route-static 0.0.0.0 0.0.0.0 1.1.1.1
6、配置ssh
1.使能 ssh 服务
ssh server enable
public-key local create rsa
The range of public key modulus is (512 ~ 2048).
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]: 回车
2.创建用户
local-user liuailong //用户名
password cipher 123456 //密码
authorization-attribute level 3 //用户权限等级
service-type ssh telnet terminal //授权登陆类型
3.VTY 线下调用
user-interface aux 0 //console 线程
authentication-mode scheme //调用 3A 认证
user-interface vty 0 15 //远程登陆线程(有 63 线程的版本请输入 vty 0 63)
authentication-mode scheme //调用 3A 认证
标签:H3C,配置,0.0,vlan,交换机,线程,ssh,key,trunk From: https://www.cnblogs.com/niway/p/16813883.html