365bet比分网-365bet888-beat365官方网站登录

交换机基本原理与配置

交换机基本原理与配置

检查配置结果display current-configuration

display current-configuration

#

sysname sw1

#

cluster enable

ntdp enable

ndp enable

#

drop illegal-mac alarm

#

diffserv domain default

#

drop-profile default

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password simple admin

local-user admin service-type http

#

interface Vlanif1

#

---- More ----

查看MAC地址表

[sw1]display mac-address

sys 命令

在系统视图下可更改用户名

[Huawei]sys sw1

[sw1]

May 7 2024 10:07:17-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25

.191.3.1 configurations have been changed. The current change number is 4, the c

hange loop count is 0, and the maximum number of records is 4095.

[sw1]

在用户视图下,可以切换到系统视图

阻止消息打断命令

undo terminal monitor

Info: Current terminal monitor is off.

超时断开设置(默认十分钟)

进入系统命令进入console 0命令中(当用户通过 Console 口登录设备实现本地维护时,可以根据使用需求或对设备安全的考 虑,配置相应的 Console 用户界面属性)

[sw1]user-interface console 0

设置超时断开时间(我设置的是15分钟)

[sw1-ui-console0]idle-timeout 15

配置用户级别

将用户级别设置为 3 级。

[SW1-ui-console0]user privilege level 3

配置用户登录验证

设置密码

[SW1-ui-console0]authentication-mode password //验证方式为密码验证

设置密码为123456

set authentication password cipher 123456

查看 Console 用户界面信息

[sw1]display user-interface console 0

相关推荐