h3c交換機(jī)命令 h3c交換機(jī)常用配置命令大全

作者: vktbtc  2012-11-14 16:53 [查查吧]:m.uabf.cn

  h3c交換機(jī)命令 h3c交換機(jī)常用配置命令大全

  一.用戶配置:

  system-view

  [H3C]super password H3C 設(shè)置用戶分級(jí)密碼

  [H3C]undo super password 刪除用戶分級(jí)密碼

  [H3C]localuser bigheap 123456 1 Web網(wǎng)管用戶設(shè)置,1(缺省)為管理級(jí)用戶,缺省admin,admin

  [H3C]undo localuser bigheap 刪除Web網(wǎng)管用戶

  [H3C]user-interface aux 0 只支持0

  [H3C-Aux]idle-timeout 2 50 設(shè)置超時(shí)為2分50秒,若為0則表示不超時(shí),默認(rèn)為5分鐘

  [H3C-Aux]undo idle-timeout 恢復(fù)默認(rèn)值

  [H3C]user-interface vty 0 只支持0和1

  [H3C-vty]idle-timeout 2 50 設(shè)置超時(shí)為2分50秒,若為0則表示不超時(shí),默認(rèn)為5分鐘

  [H3C-vty]undo idle-timeout 恢復(fù)默認(rèn)值

  [H3C-vty]set authentication password 123456 設(shè)置telnet密碼,必須設(shè)置

  [H3C-vty]undo set authentication password 取消密碼

  [H3C]display users 顯示用戶

  [H3C]display user-interface 顯示用戶界面狀態(tài)

  二.系統(tǒng)IP配置:

  [H3C]vlan 20

  [H3C]management-vlan 20

  [H3C]interface vlan-interface 20 創(chuàng)建并進(jìn)入管理VLAN

  [H3C]undo interface vlan-interface 20 刪除管理VLAN接口

  [H3C-Vlan-interface20]ip address 192.168.1.2 255.255.255.0 配置管理VLAN接口靜態(tài)IP地址(缺省為192.168.0.234)

  [H3C-Vlan-interface20]undo ip address 刪除IP地址

  [H3C-Vlan-interface20]ip gateway 192.168.1.1 指定缺省網(wǎng)關(guān)(默認(rèn)無網(wǎng)關(guān)地址)

  [H3C-Vlan-interface20]undo ip gateway

  [H3C-Vlan-interface20]shutdown 關(guān)閉接口

  [H3C-Vlan-interface20]undo shutdown 開啟

  [H3C]display ip 顯示管理VLAN接口IP的相關(guān)信息

  [H3C]display interface vlan-interface 20 查看管理VLAN的接口信息

  debugging ip 開啟IP調(diào)試功能

  undo debugging ip

  三.DHCP客戶端配置:

  [H3C-Vlan-interface20]ip address dhcp-alloc 管理VLAN接口通過DHCP方式獲取IP地址

  [H3C-Vlan-interface20]undo ip address dhcp-alloc 取消

  [H3C]display dhcp 顯示DHCP客戶信息

  debugging dhcp-alloc 開啟DHCP調(diào)試功能

  undo debugging dhcp-alloc ?

發(fā)表評(píng)論

醫(yī)療健康