dcrs 端口配ip_DCRS-5950配置(划分VLAN,根据每个VLAN通过DHCP分配IP地址)

划分

VLAN

,根据每个

VLAN

通过

DHCP

分配

IP

地址

一、新建立

VLAN2

并配置

switch>

en

//

进入特权模式

switch#

con

//

进入全局配置模式

switch(Config)#

vlan 2

//

建立

VLAN2

switch(Config-Vlan2)#

switchport interface ethernet 1

/

2-20

//

VLAN2

分配端口

switchport acc vlan 2

Set the port Ethernet1

/

2 access vlan 2 successfully

Set the port Ethernet1

/

3 access vlan 2 successfully

Set the port Ethernet1

/

4 access vlan 2 successfully

Set the port Ethernet1

/

5 access vlan 2 successfully

Set the port Ethernet1

/

6 access vlan 2 successfully

Set the port Ethernet1

/7 access vlan 2 successfully

Set the port Ethernet1

/

8 access vlan 2 successfully

Set the port Ethernet1

/9 access vlan 2 successfully

Set the port Ethernet1

/10 access vlan 2 successfully

Set the port Ethernet1

/11 access vlan 2 successfully

Set the port Ethernet1

/12 access vlan 2 successfully

Set the port Ethernet1

/13 access vlan 2 successfully

Set the port Ethernet1

/14 access vlan 2 successfully

Set the port Ethernet1

/15 access vlan 2 successfully

Set the port Ethernet1

/16 access vlan 2 successfully

Set the port Ethernet1

/17 access vlan 2 successfully

Set the port Ethernet1

/18 access vlan 2 successfully

Set the port Ethernet1

/19 access vlan 2 successfully

Set the port Ethernet1

/

20 access vlan 2 successfully

switch(Config-Vlan2)#

interface vlan 2

//

进入虚拟三层管理端口

%Jan 01 00:11:50 2001 %LINK-5-CHANGED: Interface Vlan2, changed state to UP

switch(Config-If-Vlan2)#

ip address 192.168.2.1 255.255.255.0

//

VLAN2

分配管理地址

switch(Config-If-Vlan2)#

~~~~~~~~~~~~~~~~~~~~~~~~vlan2

配置完毕

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

二、建立

VLAN3

并配置

switch(Config)#

vlan 3

//

建立

VLAN3

switch(Config-Vlan3)#

switchport interface ethernet 0/

0/

21-24

//

VLAN3

分配端口

switchport acc vlan 3

Set the port Ethernet1

/

21 access vlan 3 successfully

Set the port Ethernet1

/

22 access vlan 3 successfully

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值