<Quidway>sys     // 进入系统视图
[Quidway]int eth1/0/1    // 进入配置端口
[Quidway-Ethernet1/0/1]description sxshifan       // 对以太网端口进行描述的字符串是sxshifan
[Quidway-Ethernet1/0/1]duplex full     // 设置以太网端口双工状态
[Quidway-Ethernet1/0/1]speed 100    // 设置以太网端口速率为100
[Quidway-Ethernet1/0/1]flow-control  // 开启以太网端口流量控制
[Quidway-Ethernet1/0/1]broadcast-sup 90  // 设置以太网端口广播风暴抑制比为90%
[Quidway-Ethernet1/0/1]port link-type trunk    // 设置以太网端口的连接类型为trunk
[Quidway-Ethernet1/0/1]port trunk permit vlan 3   // 把当前端口加进vlan3
Please wait... Done.
[Quidway-Ethernet1/0/1]quit  // 退出端口配置模式
[Quidway] dis int eth1/0/1    // 查看端口1的配置情况

#以下是配置的部分内容:
Ethernet1/0/1 current state : DOWN
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e221-e7c
Description: sxshifan
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
100Mbps-speed mode, full-duplex mode
Link speed type is force link, link duplex type is force link
Flow-control is enabled
The Maximum Frame Length is 1532
Broadcast MAX-ratio: 90%
PVID: 1
Mdi type: normal
Port link-type: trunk
  VLAN passing  : 1(default vlan), 3
  VLAN permitted: 1(default vlan), 3
  Trunk port encapsulation: IEEE 802.1q
Last 300 seconds input:  0 packets/sec 0 bytes/sec
Last 300 seconds output:  0 packets/sec 0 bytes/sec
Input(total):  0 packets, 0 bytes
         0 broadcasts, 0 multicasts, 0 pauses
Input(normal):  0 packets, 0 bytes
         0 broadcasts, 0 multicasts, 0 pauses
Input:  0 input errors, 0 runts, 0 giants,  - throttles, 0 CRC
         0 frame,  - overruns, 0 aborts, - ignored, - parity errors
  ---- More ----
b.gif