点击上方“IT那活儿”公众号,关注后了解更多内容,不管IT什么活儿,干就完了!!!
VDC (virtual device contexts)操作系统级别的虚拟化技术,类似于华为的VS (virtual system), 是将一台物理设备按照需求,虚拟成多台逻辑设备,并将指定的物理接口分配到指定的逻辑设备中,实现各个业务、节点、路由等虚拟化,与早期的VRF技术具有部分共同之处,所有逻辑VDC共享一台物理设备的硬件资源。
管理隔离:不同逻辑VDC管理控制层面各自独立,互不影响。
故障隔离:网路被分为多个逻辑区域,单逻辑VDC故障或重启不影响其他VDC。 业务隔离:每个VDC就是一个独立网络,可满足多业务相互隔离。 自适应资源管理:按需分配各个硬件资源(包含接口、CPU、内存等)到指定逻辑VDC。
N7K# configure terminal
N7K(config)# system admin-vdc
All non-global configuration from the default vdc will be removed ,
Are you sure you want to continue? (yes/no) [no] y
N7K(config)# show vdc
vdc_idvdc_name state mac type lc
N7K active XX:XX:XX:XX:XX:XX AdminNone
N7K(config)# system admin -vdc migrate name -vdc
All non -global configuration from the default vdc will be removed , Are you sure you want to continue? (yes/no) [no] y
Note : Interface mgmt0 will not have its ip address migrated to the new vdc
Note : During migration some configuration may not be migrated .
Example : VTP will need to be reconfigured in the new vdc if it was enabled . Please refer to configuration guide for details . Please wait , this may take a while
Note : Ctrl-C has been temporarily disabled for the duration of this command
N7K(config)# vdc resource template name
N7K(config -vdc)# limit- resource m4route-mem maximum X max-value X
N7K(config -vdc)# limit- resource m6route-mem maximum X max-value X
N7K(config -vdc)# limit- resource monitor-session maximum X max-value X
N7K(config -vdc)# limit- resource port-channel maximum X max-value X
N7K(config -vdc)# limit- resource u4route-mem maximum X max-value X
N7K(config -vdc)# limit- resource vrf maximum X max-value X
N7K(config)# show vdc resource template
N7K(config)# vdc test template name
N7K(config -vdc)# allocate interface ethernet 1/6
N7K(config)#switchto vdc test

本文作者:闫 浩(上海新炬中北团队)
本文来源:“IT那活儿”公众号

文章转载自IT那活儿,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




