烽火交换机基本配置

  • 格式:docx
  • 大小:15.88 KB
  • 文档页数:3

1.烽火交换机最常用的基本配置命令
用户名:admin 默认密码:12345
Fire#config
Fire(config)#interface vlan 70 //创建vlan 332
Fire(config-vlan-70)#ip address 172.17.202.21255.255.255.0// 配置交换机管理地址
Fire(config-vlan-70)#exit
Fire(config)#ip route 0.0.0.0 0.0.0.0 172.17.202.1 // 配置路由Fire(config)#interface vlan 338,440 //创建vlan338,440
Fire(config-vlan)#exit
Fire(config)#interface ethernet 1 //进入1端口
Fire(config-eth-1)#join vlan 338 untagged // 1端口加入到vlan332 非标记端口
Fire(config-eth-1)#pvid 338 //1端口标记pvid 338
Fire(config-eth-1)#exit
Fire(config)#interface ethernet 2
Fire(config-eth-2)#join vlan 440 untagged // 2端口加入到vlan440非标记端口
Fire(config-eth-2)#pvid 440 //2端口标记pvid 440
Fire(config-eth-2)#exit
Fire(config)#interface ethernet 6
Fire(config-eth-6)#join vlan 70,338,440 tag // 6端口加入到vlan70,338,440 标记端口
Fire(config-eth-6)#exit
Fire(config)#exit
Fire#write file // 保存
2.烽火交换机常用命令
Fire#show interface 1 // 查看1端口状态
Fire#show interface staistics 1 // 查看端口流量(realtime rate)
Fire#show vlan all // 查看所有VLAN
Fire#show vlan 338 // 查看VLAN信息
Fire(config)#no vlan 338 // 删除vlan 332
Fire(config-eth-9)#shutdown // 关闭9号端口
Fire(config-eth-9)#no shutdown // 开启9号端口
Fire(config-vlan-338)#description yewu // vlan描述
Fire(config-eth-1)#description yewu // 端口描述
Fire(config-eth-1)#rate-limit rx 1024 //限速收为1M带宽(数值必须是64的整数倍)例:20480为20M
Fire(config-eth-1)#rate-limit tx 1024 //限速发为1M带宽(数值必须是64的整数倍)例:20480为20M。