应用场景
随着数据中心网络规模扩张,业务种类丰富,网络管理变得越来越复杂的同时,对于业务的隔离、安全性、可靠性等网络属性提出的要求也越来越高。此外,随着硬件能力的迅速提升,多框、集群,分布式路由交换系统的成熟,单台物理网络设备的业务处理能力已经达到一个新的高度,如何将单台物理设备强大的业务处理能力充分利用,弹性的适应当前业务需求和未来扩展性的平滑演进已经变得刻不容缓。网络设备虚拟化能解决这个问题,一方面能为网络用户提供更简单易用的虚拟化手段,另一方面它不限于具体特定业务或管道,而是以提供整体设备级的虚拟化为目的。
功能简介
VSD(Virtual Switch Device)虚拟设备单元是一种网络系统虚拟化技术,通过虚拟化将一台物理设备划分为多台逻辑设备,划分出的每台逻辑设备就称为一个VSD。每个VSD拥有独立的硬件及软件资源,包括独立的接口资源、CPU资源,独立维护路由表和转发表,有自己的管理员、配置文件。对于用户来说,每个VSD就是一台独立的设备。通过VSD技术,可以将一台物理设备虚拟成多台逻辑意义上的设备,如下图所示。一台物理设备可以承担逻辑拓扑中的多个网络节点,最大限度地利用现有资源,降低了网络运营成本。同时,不同的VS可以部署不同的业务,实现业务、故障的隔离,提高了网络的安全性和可靠性。
VSD管理
带外管理,即通过mgmt口进行管理 带内管理,即通过以太物理端口进行管理
注意:
1、实际允许创建的VSD数量,按照用户申请的授权数量决定。授权的申请和使用方式,参见“安装维护--》License获取及使用方法”;
2、VSD基于业务芯片划分物理端口,11.X软件平台机框设备线卡的芯片情况整理如下:
1)除了CB卡,ED/DB/EB系列卡,只有24QXS-DB是2芯片的;
2)CB卡10QXS-CB、40XS-CB、48SFP04XS-CB、48XS-CB是双芯片的,24QXS-CB是4芯片的,其他是单芯片的;
一、组网需求
为满足网络设备多用户集中承载,同时实现管理隔离,运维简化,业务安全隔离的需求,使用一台性能较好的网络设备,虚拟出多台逻辑设备,在合理利用设备资源的同时,又保证了网络据有较强的可扩展性。虚拟设备之间的业务,管理互相独立,互不影响。
二、组网拓扑
三、配置要点
安装VSD功能license
创建VSDA;
为VSDA分配物理端口1/1-48;
创建VSDB;
为VSDB分配物理端口2/1-48;
创建VSDC;
为VSDC分配物理端口3/1-48;
管理VSD;
根据实际业务规划需求,配置VSD下功能(略)
四、配置步骤
安装VSD功能license
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# license install usb0:/LIC-VSD00000002328406.lic ----> VSD功能需要license,详见“安装维护--》License获取及使用方法”
Success to install license file, service name: LIC-N18000-VSD.
创建VSDA
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# vsd VSDA ---->配置VSDA
Ruijie(config-vsd)# allocate int gi 1/1 ---->将Gi1/1所在端口组划入VSDA,端口组基于芯片划分,多芯片线卡可将不同芯片端口划入不同VSD;同芯片端口不能拆封至不同VSD。
Moving ports will cause all config associated to them in source vsd to be removed. Are you sure
to move the ports? [yes] yes ---->确认后完成端口划入VSD, 端口下原有配置丢失。
Entire port-group is not present in the command. Missing ports will be included automatically
Ruijie(config-vsd)#
创建VSDB ---->同VSDA
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# vsd VSDB
Ruijie(config-vsd)# allocate int gi 2/1
Moving ports will cause all config associated to them in source vsd to be removed. Are you sure
to move the ports? [yes] yes
Entire port-group is not present in the command. Missing ports will be included automatically
Ruijie(config-vsd)#
创建VSDC ---->同VSDA
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# vsd VSDC
Ruijie(config-vsd)# allocate int gi 3/1
Moving ports will cause all config associated to them in source vsd to be removed. Are you sure
to move the ports? [yes] yes
Entire port-group is not present in the command. Missing ports will be included automatically
Ruijie(config-vsd)#
五、功能验证
查看VSD端口线卡划分详情
Ruijie-N18K#show vsd all
vsd_id: 0
vsd_name: Ruijie
vsd mac address: 00d0.f876.9888
interface:
interface:
GigabitEthernet 4/1 GigabitEthernet 4/2
GigabitEthernet 4/3 GigabitEthernet 4/4
GigabitEthernet 4/5 GigabitEthernet 4/6
GigabitEthernet 4/7 GigabitEthernet 4/8
GigabitEthernet 4/9 GigabitEthernet 4/10
GigabitEthernet 4/11 GigabitEthernet 4/12
GigabitEthernet 4/13 GigabitEthernet 4/14
GigabitEthernet 4/15 GigabitEthernet 4/16
GigabitEthernet 4/17 GigabitEthernet 4/18
GigabitEthernet 4/19 GigabitEthernet 4/20
GigabitEthernet 4/21 GigabitEthernet 4/22
GigabitEthernet 4/23 GigabitEthernet 4/24
GigabitEthernet 4/25 GigabitEthernet 4/26
GigabitEthernet 4/27 GigabitEthernet 4/28
GigabitEthernet 4/29 GigabitEthernet 4/30
GigabitEthernet 4/31 GigabitEthernet 4/32
GigabitEthernet 4/33 GigabitEthernet 4/34
GigabitEthernet 4/35 GigabitEthernet 4/36
GigabitEthernet 4/37 GigabitEthernet 4/38
GigabitEthernet 4/39 GigabitEthernet 4/40
GigabitEthernet 4/41 GigabitEthernet 4/42
GigabitEthernet 4/43 GigabitEthernet 4/44
GigabitEthernet 4/45 GigabitEthernet 4/46
GigabitEthernet 4/47 GigabitEthernet 4/48
slot:
slot 4
vsd_id: 1
vsd_name: VSDA
vsd mac address: 00d0.f876.988a
interface:
GigabitEthernet 1/1 GigabitEthernet 1/2
GigabitEthernet 1/3 GigabitEthernet 1/4
GigabitEthernet 1/5 GigabitEthernet 1/6
GigabitEthernet 1/7 GigabitEthernet 1/8
GigabitEthernet 1/9 GigabitEthernet 1/10
GigabitEthernet 1/11 GigabitEthernet 1/12
GigabitEthernet 1/13 GigabitEthernet 1/14
GigabitEthernet 1/15 GigabitEthernet 1/16
GigabitEthernet 1/17 GigabitEthernet 1/18
GigabitEthernet 1/19 GigabitEthernet 1/20
GigabitEthernet 1/21 GigabitEthernet 1/22
GigabitEthernet 1/23 GigabitEthernet 1/24
GigabitEthernet 1/25 GigabitEthernet 1/26
GigabitEthernet 1/27 GigabitEthernet 1/28
GigabitEthernet 1/29 GigabitEthernet 1/30
GigabitEthernet 1/31 GigabitEthernet 1/32
GigabitEthernet 1/33 GigabitEthernet 1/34
GigabitEthernet 1/35 GigabitEthernet 1/36
GigabitEthernet 1/37 GigabitEthernet 1/38
GigabitEthernet 1/39 GigabitEthernet 1/40
GigabitEthernet 1/41 GigabitEthernet 1/42
GigabitEthernet 1/43 GigabitEthernet 1/44
GigabitEthernet 1/45 GigabitEthernet 1/46
GigabitEthernet 1/47 GigabitEthernet 1/48
slot:
slot 1
vsd_id: 2
vsd_name: VSDB
vsd mac address: 00d0.f876.988c
interface:
GigabitEthernet 2/1 GigabitEthernet 2/2
GigabitEthernet 2/3 GigabitEthernet 2/4
GigabitEthernet 2/5 GigabitEthernet 2/6
GigabitEthernet 2/7 GigabitEthernet 2/8
GigabitEthernet 2/9 GigabitEthernet 2/10
GigabitEthernet 2/11 GigabitEthernet 2/12
GigabitEthernet 2/13 GigabitEthernet 2/14
GigabitEthernet 2/15 GigabitEthernet 2/16
GigabitEthernet 2/17 GigabitEthernet 2/18
GigabitEthernet 2/19 GigabitEthernet 2/20
GigabitEthernet 2/21 GigabitEthernet 2/22
GigabitEthernet 2/23 GigabitEthernet 2/24
GigabitEthernet 2/25 GigabitEthernet 2/26
GigabitEthernet 2/27 GigabitEthernet 2/28
GigabitEthernet 2/29 GigabitEthernet 2/30
GigabitEthernet 2/31 GigabitEthernet 2/32
GigabitEthernet 2/33 GigabitEthernet 2/34
GigabitEthernet 2/35 GigabitEthernet 2/36
GigabitEthernet 2/37 GigabitEthernet 2/38
GigabitEthernet 2/39 GigabitEthernet 2/40
GigabitEthernet 2/41 GigabitEthernet 2/42
GigabitEthernet 2/43 GigabitEthernet 2/44
GigabitEthernet 2/45 GigabitEthernet 2/46
GigabitEthernet 2/47 GigabitEthernet 2/48
slot:
slot 2
vsd_id: 3
vsd_name: VSDC
vsd mac address: 00d0.f876.988d
interface:
GigabitEthernet 3/1 GigabitEthernet 3/2
GigabitEthernet 3/3 GigabitEthernet 3/4
GigabitEthernet 3/5 GigabitEthernet 3/6
GigabitEthernet 3/7 GigabitEthernet 3/8
GigabitEthernet 3/9 GigabitEthernet 3/10
GigabitEthernet 3/11 GigabitEthernet 3/12
GigabitEthernet 3/13 GigabitEthernet 3/14
GigabitEthernet 3/15 GigabitEthernet 3/16
GigabitEthernet 3/17 GigabitEthernet 3/18
GigabitEthernet 3/19 GigabitEthernet 3/20
GigabitEthernet 3/21 GigabitEthernet 3/22
GigabitEthernet 3/23 GigabitEthernet 3/24
GigabitEthernet 3/25 GigabitEthernet 3/26
GigabitEthernet 3/27 GigabitEthernet 3/28
GigabitEthernet 3/29 GigabitEthernet 3/30
GigabitEthernet 3/31 GigabitEthernet 3/32
GigabitEthernet 3/33 GigabitEthernet 3/34
GigabitEthernet 3/35 GigabitEthernet 3/36
GigabitEthernet 3/37 GigabitEthernet 3/38
GigabitEthernet 3/39 GigabitEthernet 3/40
GigabitEthernet 3/41 GigabitEthernet 3/42
GigabitEthernet 3/43 GigabitEthernet 3/44
GigabitEthernet 3/45 GigabitEthernet 3/46
GigabitEthernet 3/47 GigabitEthernet 3/48
slot:
slot 3
VSD登入、管理方式
Ruijie# switchto vsd VSDA ---->进入VSD配置模式,进行VSDA配置
***********************************************************************
Ruijie General Operating System Software
Copyright (c) 1998-2013s by Ruijie Networks.
All Rights Reserved.
Neither Decompiling Nor Reverse Engineering Shall Be Allowed.
***********************************************************************
Ruijie-VSDA> enable
Ruijie-VSDA#conf
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie-VSDA(config)#int mgmt 0
Ruijie-VSDA(config-if-Mgmt 0)#ip address 10.1.1.10 255.255.255.0 ---->不同VSD可以使用同网段,不同IP地址共用MGMT口实现对外通信
Ruijie-VSDA(config-if-Mgmt 0)#end ---->VSD可以看作是一台独立设备,VSD下具体配置根据实际组网需求完成,参考单机进行。
Ruijie-VSDA#switchback ---->退出VSD配置模式
Ruijie# switchto vsd VSDB ---->同VSDA
***********************************************************************
Ruijie General Operating System Software
Copyright (c) 1998-2013s by Ruijie Networks.
All Rights Reserved.
Neither Decompiling Nor Reverse Engineering Shall Be Allowed.
***********************************************************************
Ruijie-VSDB> enable
Ruijie-VSDB#conf
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie-VSDB(config)#int mgm
Ruijie-VSDB(config)#int mgmt 0
Ruijie-VSDB(config-if-Mgmt 0)#ip address 10.1.1.20 255.255.255.0
Ruijie-VSDB(config-if-Mgmt 0)#end
Ruijie-VSDB#switchback
Ruijie# switchto vsd VSDC ---->同VSDA
***********************************************************************
Ruijie General Operating System Software
Copyright (c) 1998-2013s by Ruijie Networks.
All Rights Reserved.
Neither Decompiling Nor Reverse Engineering Shall Be Allowed.
***********************************************************************
Ruijie-VSDC> enable
Ruijie-VSDC#conf
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie-VSDC(config)#int mgm
Ruijie-VSDC(config)#int mgmt 0
Ruijie-VSDC(config-if-Mgmt 0)#ip address 10.1.1.30 255.255.255.0
Ruijie-VSDC(config-if-Mgmt 0)#end
Ruijie-VSDC#switchback
转载于:https://blog.51cto.com/12855977/2117506