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}


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM