迈普交换机配置 1、配置举例 2、配置交换机名称为“ Switch_1”。 语法描述 Switch>enable 进入到 Enable 模式 Switch#configure terminal 进入到全局配置模式 Switch(config)#hostname Switch_1 配置交换机名称 3、设置 enable 密码( config t 模式下): enable password [0 | 7 ] string 设置 enable 密码, string 为所要配置的密码 4、创建 VLAN: vlan [vlan-num] 语法描述 vlan-num 打开 VLAN命令,并进入到 VLAN配置模式,值的范围为 1~4094 5、添加 VLAN描述 : description string string 为所增加描述的内容 6、在
8口 POE交换机调试脚本 ena 进入配置模式 hostname LS 设备名 设备上需要通过的 VLAN interface ethernet 1/1 进入 1 口至 7 口 端口配置成 TRUNK模式 switchport acce vlan 100 给 1 口绑定 VLAN exit interface ethernet 1/9 进入 8 口 switchport mode 端口配置成 TRUN口(用于互联或者上联) 允许所有 VLAN通过 exit interface ethernet 1/9 进入第 9 口 强制为光口模式 speed-duplex force100-fx module-type no-phy-integrated 配置速率为 100M switchport mode 端口配置成 TRUN口(用于互联或者上联) 允许所有 VLAN通过 exit