H3C 交换机

H3C 交换机

Quick Start

初次配置必须用 console (RJ245接头) 连接设备。需要 USB转串口线和串口转RJ245线。console 登录默认无需密码。

console 串口参数配置:

Bits per second: 9600 bps
Data bits: 8
Stop bits: 1
Parity: None
Flow control: None

接口名字格式: GigabitEthernet 1/0/1 (可缩写为 GE 1/0/1)

In standalone mode, the Ethernet interfaces are named in the format of interface-type A/B/C, where:

  • A: Specifies a card by its slot number.(starting from 1)
  • B: Specifies an interface module by its slot number on a card, which is fixed at 0.
  • C: Specifies an interface number. (starting from 1)
# 进入配置模式

# 显示系统信息
display vlan brief
display interface brief

# 启用 telnet 并创建用户
telnet server enable
authentication-mode scheme
local-user admin
password simple admin
authorization-attribute user-role network-admin
service-type telnet

# vlan 配置
vlan 5 # will create vlan if not existing
port gigabitethernet 1/0/10 # assign port to vlan

# vlan interface IP
interface vlan-interface 5
ip address 24

# 物理接口配置
interface gigabitethernet 1/0/1
port link-type access # 默认即 access
port access vlan 10
stp edged-port

# 保存配置


H3C 部分交换机支持。(测试 S5130 series 不支持)

Last update: 2021-01-20 03:42:08 UTC