文档库 最新最全的文档下载
当前位置:文档库 › 华为交换机2309的一些基本命令的配置应用

华为交换机2309的一些基本命令的配置应用

//修改端口速度,改变端口的工作模式,
system-view //进入系统视图
[Quidway]sysname Sta-1 // 修改交换机名为Sta-1
[Sta-1]interface ethernet0/0/1 //进入接口1
[Sta-1-Ethernet0/0/1]undo negotiation auto//要使接口工作在非自协商模式下
[Sta-1-Ethernet0/0/1]speed 100 //使接口的速度为100
[Sta-1-Ethernet0/0/1]duplex full //改变接口的双工模式为full 全双工
[Sta-1-Ethernet0/0/1]inter
[Sta-1-Ethernet0/0/1]interface ethernet0/0/2//同上
[Sta-1-Ethernet0/0/2]undo negotiation auto
[Sta-1-Ethernet0/0/2]speed 100
[Sta-1-Ethernet0/0/2]duplex full
[Sta-1-Ethernet0/0/2]



//把接口8做成Trunk,需要删除接口8捆绑的vlan和关闭其他模式
[Sta-1]interface ethernet0/0/8
[Sta-1-Ethernet0/0/8]dis
[Sta-1-Ethernet0/0/8]display this
#
interface Ethernet0/0/8
undo negotiation auto
ntdp enable
ndp enable
#
return
[Sta-1-Ethernet0/0/8]undo ntdp enable//关闭模式
[Sta-1-Ethernet0/0/8]undo ndp enable//关闭模式
[Sta-1-Ethernet0/0/8]port link-type trunk//把接口8做成Trunk


//进入光口的命令
[STW-1]interface gigabitethernet0/0/1

相关文档
相关文档 最新文档