华为交换机配置康索尔密码及vty密码

  

#以登录用户界面的认证方式为密码认证,密码为<强> Huawei@123 为例,配置如下。

& lt; HUAWEI>系统视图   (华为),user-interface  console  0   [HUAWEI-ui-console0], authentication-mode 密码   [HUAWEI-ui-console0], set  authentication  password  cipher  Huawei@123   [HUAWEI-ui-console0], return保存      #,以登录用户界面的认证方式为AAA认证,用户名为admin123,密码为Huawei@123为例,配置如下。   & lt; HUAWEI>系统视图   (华为),user-interface  console  0   [HUAWEI-ui-console0], authentication-mode  aaa   [HUAWEI-ui-console0],辞职   (华为)aaa   [HUAWEI-aaa], local-user  admin123  password  irreversible-cipher  Huawei@123   [HUAWEI-aaa], local-user  admin123  service-type 终端   (HUAWEI-aaa),返回   & lt; HUAWEI>保存         配置vty   (华为)user-interface  vty  0, 4,,(进入vty用户界面)   [HUAWEI-ui-vty0-4] authentication-mode  ?   ,,,,,,,没有:不验证   ,,,,,,,密码:密码验证   ,,,,,,,aaa: aaa验证   (设置密码验证的密码)   [HUAWEI-ui-vty0-4] set  authentication  passowrd{简单密码\}   密码:加密的   简单:简单的      (设置AAA验证)   [HUAWEI-ui-vty0-4] authentication-mode  aaa   进入系统试图   [HUAWEI-ui-vty0-4] aaa ,,,,,//进入AAA视图   [HUAWEI-aaa] local-user    [HUAWEI-aaa] local-user , service-type  ssh ,配置接入类型为SSH   (华为)rsa  local-key-pair  create 产生本地rsa秘钥,进行SSH时配置


华为交换机配置康索尔密码及vty密码