要配置远程Telnet/SSH账号,可以按照以下步骤进行操作:
system-view
user-interface vty 0 63
authentication-mode scheme
user-role level-15
local-user mengjia network admin
undo password-control aging enable
undo password-control length enable
undo password-control history enable
undo password-control composition enable
undo password-control complexity user-name check
undo password-control change-password first-login enable
ssh server enable
telnet server enable
local-user 你的账户 class manage
password simple 你的密码
service-type telnet ssh terminal http https
authorization-attribute user-role network-admin
user-interface vty 0 63
authentication-mode scheme
user-role level-15
除了远程访问配置,还有一些其他的基本配置可以考虑。
lldp global enable
loopback-detection global enable vlan 1 to 4094
system-working-mode standard
xbar load-balance
password-recovery enable
vlan 5
description yanfa
int vlan 5
ip address 10.0.0.1 255.255.255.0
vlan 100
int vlan 100
ip address 192.168.100.1 255.255.255.0
vlan 60
int vlan 60
ip address 10.0.2.1 255.255.254.0
vlan 70
int vlan 70
ip address 10.0.4.1 255.255.254.0
dhcp enable
dhcp server ip-pool neiwang-AP
gateway-list 10.0.2.1
network 10.0.2.1 mask 255.255.254.0
dns-list 192.168.1.1
dhcp server ip-pool waiwang-AP
gateway-list 10.0.4.1
network 10.0.4.0 mask 255.255.254.0
dns-list 192.168.1.1
ssh server enable
ip http enable
ip https enable
以下是对提供的命令和配置信息的整理:
display current-configuration
display ip policy-based-route setup
display device manuinfo
arp ip-conflict log prompt
display dhcp server free-ip
display diagnostic-information
display logbuffer
display current-configuration | begin line
display current-configuration | include snmp
display version
display logbuffer | include STRING
display COMMAND > FILENAME
more FILENAME
display current-configuration | by-linenum > FILENAME
display history-command
display history-command all
display interface link-info
DHCP server forbidden-ip IP_ADDRESS
display DHCP server free-ip
这些命令和配置信息可用于华三交换机的基本配置和故障排查。根据实际需求,可以选择适当的命令进行使用。