搜档网
当前位置:搜档网 › h3c交换机配置流程

h3c交换机配置流程

1.设置管理IP地址流程

system-view
System View: return to User View with Ctrl+Z.
[H3C]vlan 2 to 2000
Please wait.......................................... Done.
[H3C]interface Vlan-interface 2000
[H3C-Vlan-interface2000]ip address 1.1.1.100 255.255.255.0
[H3C-Vlan-interface2000]dis this
ip address 10.46.100.100 255.255.255.0
[H3C-Vlan-interface2000]quit

2.设置用户名与密码流程

system-view
System View: return to User View with Ctrl+Z.
[H3C]local-user admin
[H3C-luser-manage-admin]password simple h3c123
[H3C-luser-manage-admin]quit

3.设置端口的vlan流程

system-view
System View: return to User View with Ctrl+Z.
[H3C]vlan 100
[H3C-vlan100]port g
[H3C-vlan100]port GigabitEthernet 1/0/1 to g
[H3C-vlan100]port GigabitEthernet 1/0/1 to GigabitEthernet 1/0/20
[H3C-vlan100]quit

4.交换机设置trunk口流程

system-view
System View: return to User View with Ctrl+Z.
[H3C]interface (Etherne或GigabitEthernet) 1/0/9
[H3C-Ethernet1/0/9]p l t
[H3C-2-Ethernet1/0/9]p t p v a
Please wait........................................... Done.
[H3C-2-Ethernet1/0/9]save
The current configuration will be written to the device. Are you sure? [Y/N]:Y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:Y
Validating file. Please wait............
5.静态路由流程

system-view
System View: return to User View with Ctrl+Z.
[H3C]ip route-static 0.0.0.0 0.0.0.0 10.46.79.254
[H3C]save
The current configuration will be written to the device. Are you sure? [Y/N]:Y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:Y
Validating file. Please wait...


6.远程访问telnet流程。

system-view
System View: return to User View with Ctrl+Z.
[H3C]local-user admin
[H3C-luser-manage-admin]authorization-attribute level 3
[H3C-luser-manage-admin]service-type telnet
[H3C]telnet server enable
[H3C]user-interface vty 0 4
[H3C]authentication-mode scheme


7.设置端口名称

system-view
System View: return to User View with Ctrl+Z.
[H3C]interface Ethernet 1/0/1
[H3C-GigabitEthernet1/0/1]description 端口
[H3C-GigabitEthernet1/0/1]dis th
interface GigabitEthernet1/0/1
port link-mode bridge
description 端口
combo enable fiber

8.交换机某个端口添加VLAN###
system-view
System View: return to User View with Ctrl+Z.
[H3C]interface GigabitEthernet 1/0/1
[H3C-GigabitEthernet1/0/1]port access vlan###
[H3C-GigabitEthernet1/0/1]quit

相关主题