当前位置:求职简历网 > 知识 > 正文

h3c配置命令,h3c交换机命令配置

1、配置主机名 [H3C]systemnameH3C 2、配置console口密码 system-view [H3C]user-interfaceaux0 [H3C-ui-aux0]authentication-modepassword [H3C-ui-aux0]setauthenticationpasswordcipher1234
1、配置主机名

[H3C]systemnameH3C

2、配置console口密码

system-view

[H3C]user-interfaceaux0

[H3C-ui-aux0]authentication-modepassword

[H3C-ui-aux0]setauthenticationpasswordcipher123456

[H3C-ui-aux0]userprivilegelevel2

3、配置Telnet

system-view

[H3C]user-interfacevty0

[H3C-ui-vty0]authentication-modepassword

[H3C-ui-vty0]setauthenticationpasswordcipher123456

[H3C-ui-vty0]userprivilegelevel2

[H3C-ui-vty0]protocolinboundtelnet

4、配置交换机VLAN1?管理地址

system-view

[H3C]interfacevlan-interface1

[H3C-VLAN-interface1]ip

5、配置交换机网关地址

[H3C]ip

6、配置HTTP服务

[H3C-luser-admin]service-typetelnet?

[H3C-luser-admin]authorization-attributelevel3

7、配置SNMP

[H3C]snmp-agent

8、Qos端口限速

[H3C]interfacegigabitethernet1/0/1

[H3C-GigabitEthernet1/0/1]qoslrinboundcir5120

[H3C-GigabitEthernet1/0/1]qoslroutboundcir5120

9、创建VLAN

[H3C]vlan100

10、删除VLAN

[H3C]undovlan100

11、将端口加入vlan100

[H3C]interfaceGigabitEthernet1/0/24

[H3C]portaccessvlan100

12、查看VLAN

[H3C]displayvlanall

12、查看端口状态

[H3C]displayinterfaceGigabitEthernet1/0/24

14、启用端口

[H3C]interfaceGigabitEthernet1/0/24

[H3C]undoshutdown

15、关闭端口

[H3C]interfaceGigabitEthernet1/0/24

[H3C]shutdown

16、查看MAC地址列表

[H3C]displaymac-address

17、查看arp信息

[H3C]displayarp

18、查看current配置

[H3C]displaycurrent-configuration

19、查看saved配置

[H3C]displaysaved-configuration

注:current?配置是保存在交换机内存里面,当交换机重启时,不会生效

要交换机重启时生效,必须保存在saved-configureation配置里

20、保存交换机配置

[H3C]save

知识相关

知识推荐

求职简历网为你分享个人简历、求职简历、简历模板、简历范文等求职简历知识。

Copyrights 2018-2023 求职简历网 All rights reserved.