华为s5700 switch configuration

In general, only multicast, DHCP and VLAN are configured for S5700 switch
1: multicast: configured for all ports
2: vLAN:
 (1)VLAN1:port 1~12 IP pool: 192.168.133.1~192.168.133.64
 (2)VLAN2:port 13~24 IP pool: 192.168.133.65~192.168.133.128
 (3)VLAN3:port 25~36 IP pool: 192.168.133.129~192.168.133.193
 (4)VLAN4:port 37~48 IP pool: 192.168.133.193~192.168.133.255

There are two ways to configure switch with webpage and command.

more information please refer to switch documents.


enable web:
 (1) console login
 (2) system-view
 (3) dir
 (4) http server load S5700EI-V100R005C01SPC100.web.zip
 (5) http server enable
 (6) aaa
 (7) local-user huawei password simple huawei
 (8) local-user huawei service-type http
 (9) quit

webip:  192.168.132.100
username: admin
pw:  admin

 

command configuration:

interface gigabitethernet 0/0/1

port link-type hybrid


port hybrid tagged vlan 1

quit


dhcp:

system-view
dhcp enable
ip pool 1
network 192.168.133.0 mask 255.255.255.192
gateway-list 192.168.133.1
lease unlimited

ip pool 2
network 192.168.133.64 mask 255.255.255.192
gateway-list 192.168.133.65
lease unlimited

ip pool 3
network 192.168.133.128 mask 255.255.255.192
gateway-list 192.168.133.129
lease unlimited

ip pool 4
network 192.168.133.192 mask 255.255.255.192
gateway-list 192.168.133.193
lease unlimited

vlan batch 1 to 4
interface gigabitethernet 0/0/1~12
port hybrid pvid vlan 1
port hybrid untagged vlan 1
quit

interface gigabitethernet 0/0/12~24
port hybrid pvid vlan 2
port hybrid untagged vlan 2

interface gigabitethernet 0/0/24~36
port hybrid pvid vlan 3
port hybrid untagged vlan 3

interface gigabitethernet 0/0/36~48
port hybrid pvid vlan 4
port hybrid untagged vlan 4

interface vlanif 1
ip address 192.168.133.1 255.255.255.192
dhcp select global

interface vlanif 2
ip address 192.168.133.65 255.255.255.192
dhcp select global

interface vlanif 3
ip address 192.168.133.129 255.255.255.192
dhcp select global

interface vlanif 4
ip address 192.168.133.193 255.255.255.192
dhcp select global

 


multicast

igmp-snooping enable
vlan 1
igmp-snooping enable
multicast-vlan enable

vlan 2
igmp-snooping enable
multicast-vlan enable

vlan 3
igmp-snooping enable
multicast-vlan enable

vlan 4
igmp-snooping enable
multicast-vlan enable

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值