[Quidway]super
[Quidway]super
[Quidway]super
[Quidway]super password
password
password
password 修改特权用户密码
[Quidway]sysname
[Quidway]sysname
[Quidway]sysname
[Quidway]sysname 交换机命名
[Quidway]interface
[Quidway]interface
[Quidway]interface
[Quidway]interface ethernet
ethernet
ethernet
ethernet 0/1
0/1
0/1
0/1 进入接口视图
[Quidway]interface
[Quidway]interface
[Quidway]interface
[Quidway]interface vlan
vlan
vlan
vlan x
x
x
x 进入接口视图
[Quidway-Vlan-interfacex]ip
[Quidway-Vlan-interfacex]ip
[Quidway-Vlan-interfacex]ip
[Quidway-Vlan-interfacex]ip address
address
address
address 10.65.1.1
10.65.1.1
10.65.1.1
10.65.1.1 255.255.0.0
255.255.0.0
255.255.0.0
255.255.0.0
[Quidway]ip
[Quidway]ip
[Quidway]ip
[Quidway]ip route-static
route-static
route-static
route-static 0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0 0.0.0.0
0.0.0.0
0.0.0.0
0.0.0.0 10.65.1.2
10.65.1.2
10.65.1.2
10.65.1.2 静态路由=网关
[Quidway]user-interface
[Quidway]user-interface
[Quidway]user-interface
[Quidway]user-interface vty
vty
vty
vty 0
0
0
0 4
4
4
4
[S3026-ui-vty0-4]authentication-mode
[S3026-ui-vty0-4]authentication-mode
[S3026-ui-vty0-4]authentication-mode
[S3026-ui-vty0-4]authentication-mode password
password
password
password
[S3026-ui-vty0-4]set
[S3026-ui-vty0-4]set
[S3026-ui-vty0-4]set
[S3026-ui-vty0-4]set authentication-mode
authentication-mode
authentication-mode
authentication-mode password
password
password
password simple
simple
simple
simple 222
222
222
222
[S3026-ui-vty0-4]user
[S3026-ui-vty0-4]user
[S3026-ui-vty0-4]user
[S3026-ui-vty0-4]user privilege
privilege
privilege
privilege level
level
level
level 3
3
3
3
[Quidway-Ethernet0/1]duplex
[Quidway-Ethernet0/1]duplex
[Quidway-Ethernet0/1]duplex
[Quidway-Ethernet0/1]duplex {half|full|auto}
{half|full|auto}
{half|full|auto}
{half|full|auto} 配置端口双工工作状态
[Quidway-Ethernet0/1]speed
[Quidway-Ethernet0/1]speed
[Quidway-Ethernet0/1]speed
[Quidway-Ethernet0/1]speed {10|100|auto}
{10|100|auto}
{10|100|auto}
{10|100|auto} 配置端口工作速率
[Quidway-Ethernet0/1]flow-control
[Quidway-Ethernet0/1]flow-control
[Quidway-Ethernet0/1]flow-control
[Quidway-Ethernet0/1]flow-control 配置端口流控
[Quidway-Ethernet0/1]mdi
[Quidway-Ethernet0/1]mdi
[Quidway-Ethernet0/1]mdi
[Quidway-Ethernet0/1]mdi {across|auto|normal}
{across|auto|normal}
{across|auto|normal}
{across|auto|normal} 配置端口 MDI/MDIX
MDI/MDIX
MDI/MDIX
MDI/MDIX 状态平接
或扭接
[Quidway-Ethernet0/1]port
[Quidway-Ethernet0/1]port
[Quidway-Ethernet0/1]port
[Quidway-Ethernet0/1]port link-type
link-type
link-type
link-type {trunk|access|hybrid}
{trunk|access|hybrid}
{trunk|access|hybrid}
{trunk|access|hybrid} 设置接口工作模式
[Quidway-Ethernet0/1]shutdown
[Quidway-Ethernet0/1]shutdown
[Quidway-Ethernet0/1]shutdown
[Quidway-Ethernet0/1]shutdown 关闭 /
/
/
/ 重起接口
[Quidway-Ethernet0/2]quit
[Quidway-Ethernet0/2]quit
[Quidway-Ethernet0/2]quit
[Quidway-Ethernet0/2]quit 退出系统视图
[Quidway]vlan
[Quidway]vlan
[Quidway]vlan
[Quidway]vlan 3
3
3
3 创建 /
/
/
/ 删除一个 VLAN/
VLAN/
VLAN/
VLAN/ 进入 VLAN
VLAN
VLAN
VLAN 模式
[Quidway-vlan3]port
[Quidway-vlan3]port
[Quidway-vlan3]port
[Quidway-vlan3]port ethernet
ethernet
ethernet
ethernet 0/1
0/1
0/1
0/1 to
to
to
to ethernet
ethernet
ethernet
ethernet 0/4
0/4
0/4
0/4 在当前 VLAN
VLAN
VLAN
VLAN 增加 /
/
/
/ 删除以太网接
口
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port access
access
access
access vlan
vlan
vlan
vlan 3
3
3
3 将当前接口加入到指定 VLAN
VLAN
VLAN
VLAN
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port trunk
trunk
trunk
trunk perm it
perm it
perm it
perm it vlan
vlan
vlan
vlan {ID|All}
{ID|All}
{ID|All}
{ID|All} 设 trunk
trunk
trunk
trunk 允许的 VLAN
VLAN
VLAN
VLAN
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port
[Quidway-Ethernet0/2]port trunk
trunk
trunk
trunk pvid
pvid
pvid
pvid vlan
vlan
vlan
vlan 3
3
3
3 设置 trunk
trunk
trunk
trunk 端口的 PVID
PVID
PVID
PVID
[Quidway]monitor-port
[Quidway]monitor-port
[Quidway]monitor-port
[Quidway]monitor-port <interface_type
<interface_type
<interface_type
<interface_type interface_num>
interface_num>
interface_num>
interface_num> 指定和清除镜像端口
[Quidway]port
[Quidway]port
[Quidway]port
[Quidway]port mirror
mirror
mirror
mirror <interface_type
<interface_type
<interface_type
<interface_type interface_num>
interface_num>
interface_num>
interface_num> 指定和清除被镜像端口