现场原有华为设备下架,想用华三三层交换机替换,下面是华为交换机的命令,麻烦大佬看一下有什么命令是华三不太一样的。
vlan batch 10 20
int g0/0/1
port link-type acc
port default vlan 10
interface Vlan 10
ip address 192.168.100.30 255.255.255.0
int rang g0/0/2 to g0/0/10
undo negotiation auto
speed 10
duplex half
port link-type acc
port default vlan 20
interface Vlan 20
ip address 192.168.4.253 255.255.255.224
ospf 1 router-id 30.30.30.30
area 0
network 192.168.100.0 0.0.0.255
import-route direct
aaa
local- user admin password irreversible - cipher admin@123
local- user admin privilege level 15
local一 user admin service-type terminal http ssh
stelnet server enable
ssh user admin
ssh user admin authentication-type password
ssh user admin service-type stelnet
ssh client first-time enable
user-interface vty 0 4
authentication- mode aaa
user privilege level 15
protocol inbound all
(0)
最佳答案
给你转了,自己对比下哪里不一样
vlan 10
vlan 20
int g0/0/1
port link-type access
port access vlan 10
interface Vlan 10
ip address 192.168.100.30 255.255.255.0
int range g0/0/2 to g0/0/10
speed 10
duplex half
port link-type access
port access vlan 20
interface Vlan 20
ip address 192.168.4.253 255.255.255.224
ospf 1 router-id 30.30.30.30
area 0
network 192.168.100.0 0.0.0.255
import-route direct
local-user admin class manage
password simple admin@123
service-type terminal http ssh
authorization-attribute user-role network-admin
line vty 0 4
authentication-mode scheme
protocol inbound all
ssh server enable
(0)
您好,用户配置不一样
端口划分access接口不一样
参考
port default vlan 10改为port access vlan 10
AAA参考
2.1 配置步骤
# 进入系统视图,并开启ssh服务,默认开启。
<H3C> system-view
[H3C] SSH server enable
# 创建本地账号abc,密码为123456,权限级别为network-admin。//如果现场同一个本地用户既需要通过ssh登录,又需要console登录,则服务器类型需要添加 terminal
[H3C] local-user abc
[H3C-luser-abc] password simple 123456
[H3C-luser-abc] service-type ssh terminal
[H3C-luser-abc] authorization-attribute user-role network-admin
[H3C-luser-abc] quit
# 配置VTY接口认证模式为scheme模式(用户名+密码认证)。用于ssh登录
[H3C] line vty 0 4
[H3C-ui-vty0-4] authentication-mode scheme //另两种认证模式为None(无密码)和Password(单密码)
[H3C-ui-vty0-4] quit
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论