Cisco N7K VDC 配置步骤 (精简版)

目录
创建admin VDC(可选)
创建一个VDC资源模板(可选)
创建VDC,并分配接口(分配接口可选)
初始化新VDC
检查配置
 

---------------创建admin VDC(可选)---------------

第一次启动时," Do you want to enable admin vdc (yes/no) [no]:",选择"yes"。适用场景:对于全新部署推荐该方式
在启动后, system admin-vdc ,Default VDC将转为Admin vdc,当输入该命令,在Default VDC中所有的非全局配置将会丢失。适用场景:当Default VDC仅用于管理,没有传输任何业务流量时,推荐使用
system admin-vdc migrate new vdc name,当输入该命令,在Default VDC的所有非全局配置迁移到一个新的VDC。适用场景:当Default VDC用于传输业务流量时,推荐该方式。
 

---------------创建一个VDC资源模板(可选)---------------

1. config t

2. vdc resource template vdc-template-name

3. limit-resource m4route-mem [ minimum min-value ] maximum max-value

limit-resource m6route-mem [ minimum min-value ] maximum max-value

limit-resource monitor-session minimum min-value maximum { max-value | equal-to-min }

limit-resource port-channel minimum min-value maximum { max-value | equal-to-min }

limit-resource u4route-mem [ minimum min-value ] maximum max-value

limit-resource u6route-mem [ minimum min-value ] maximum max-value

limit-resource vrf minimum min-value maximum { max-value | equal-to-min }

4. exit

5.(Optional) show vdc resource template

6.(Optional) show run { vdc | vdc-all }

7.(Optional) copy running-config startup-config

 

---------------创建VDC,并分配接口(分配接口可选)---------------

首先,必须以network-admin的角色登录到默认或admin VDC,步骤如下:

1. config t

!Creates a VDC and enters the VDC configuration mode.

! switch -Specifies the default VDC. VDC number 1 is reserved for the default VDC.

!Nondefault VDC numbers are from 2 to 9.

2. vdc { switch | vdc-name } [ ha-policy { dual-sup { bringdown | restart | switchover } [ single-sup { bringdown | reload | restart }] [ id vdc-number ] [ template template-name ] [ type storage ]

3.(Optional) [ no ] allocate interface ethernet slot/port

!注意"-"前后的空格

[ no ] allocate interface ethernet slot/port - last-port

[ no ] allocate interface ethernet slot/port , ethernet slot/port,...

4.(Optional) show vdc membership

5.(Optional) show vdc shared membership

6. exit

7.(Optional) show vdc

!After you create a VDC, you must copy the default VDC running configuration to the startup configuration so that a VDC user can copy the new VDC running configuration to the startup configuration.

8.(Optional) copy running-config startup-config

 

---------------初始化新VDC---------------

首先,必须以network-admin的角色登录到默认或admin VDC,准备新VDC mgmt0的IP地址

1. switchto vdc vdc-name

!Displays the current VDC number.

2.(Optional) show vdc current-vdc

 

---------------检查配置---------------

!Displays the VDC information in the running configuration.

show running-config { vdc | vdc-all }

!Displays the VDC configuration information.

show vdc [vdc-name]

!Displays the detailed information about many VDC parameters.

show vdc detail

!Displays the current VDC number.

show vdc current-vdc

!Displays the VDC interface membership information.

show vdc membership [ status ]

!Displays the VDC template configuration.

show vdc resource template

!Displays the VDC resource configuration for the current VDC.

show resource

!Displays the VDC resource configuration for all VDCs.

show vdc [vdc-name] resource [resource-name]

!Displays the MAC address for a specific VDC.

show mac vdc {vdc_id}

posted @ 2020-03-28 16:47  cyrusxx  阅读(1458)  评论(0编辑  收藏  举报