iszjw 发表于 2018-7-26 08:13:25

华为交换机命令大全

interface ethernet 0/1                               ;进入端口模式  int e0/1                                             ;进入端口模式
  duplex {half|full|auto}                  ;配置端口工作状态
  speed {10|100|auto}                  ;配置端口工作速率
  flow-control                        ;配置端口流控
  mdi {across|auto|normal}               ;配置端口平接扭接
  port link-type {trunk|access|hybrid}   ;设置端口工作模式
  port access vlan 3                  ;当前端口加入到VLAN
  port trunk permit vlan {ID|All}        ;设trunk允许的VLAN
  port trunk pvid vlan 3        ;设置trunk端口的PVID
  undo shutdown                     ;激活端口
  shutdown                               ;关闭端口
  quit                               ;返回
页: [1]
查看完整版本: 华为交换机命令大全