NXOS配置技巧二-模块预先配置

2017-8-2 hale 技术

关于模块预先配置

The pre-provisioning feature allows you to preconfigure interfaces before inserting or attaching a module to a Cisco Nexus 5000 Series switch. If a module goes offline, you can also use pre-provisioning to make changes to the interface configurations for the offline module. When a pre-provisioned module comes online, the pre-provisioning configurations are applied. If any configurations were not applied, a syslog is generated. The syslog lists the configurations that were not accepted.

In some Virtual Port Channel (vPC) topologies, pre-provisioning is required for the configuration synchronization feature. Pre-provisioning allows you to synchronize the configuration for an interface that is online with one peer but offline with another peer.


支持的硬件

The pre-provisioning feature supports the following hardware:

N2K-C2148T Fabric Extender 48x1G 4x10G Module

N2K-C2232P Fabric Extender 32x10G Module

N2K-C2248T Fabric Extender 48x1G 4x10G Module

N51-M16EP Cisco 16x10-Gigabit Ethernet Expansion Module

N51-M8E8FP Cisco 8 Port 1/2/4/8G FC and 8 Port 10-Gigabit Ethernet Expansion Module

N5K-M1008 Cisco 8 Port Fiber Channel Expansion Module 8 x SFP

N5K-M1060 Cisco 6 Port Fiber Channel Expansion Module 6 x SFP

N5K-M1404 Expansion Module 4 x 10GBase-T LAN, 4 x Fiber Channel

N5K-M1600 Cisco 6-port 10 Gigabit Ethernet SFP Module 6 x SFP


升级和降级

When upgrading from Cisco NX-OS Release 4.2(1)N2(1) and earlier releases to Cisco NX-OS Release 5.0(2)N1(1), there are no configuration implications. When upgrading from a release that supports pre-provisioning to another release that supports the feature including InService Software Upgrades (ISSU), pre-provisioned configurations are retained across the upgrade.

When downgrading from an image that supports pre-provisioning to an image that does not support pre-provisioning, you are prompted to remove pre-provisioning configurations.


指导和限制

Pre-provisioning has the following configuration guidelines and limitations:

When a module comes online, commands that are not applied are listed in the syslog.

If a slot is pre-provisioned for module A and if you insert module B into the slot, module B does not come online.

There is no MIB support for pre-provisioned interfaces.

Cisco DCNM is not supported


配置案例

The following example shows how to enable pre-provisioning on slot 110 on the Cisco Nexus 2232P Fabric Extender and how to pre-provision interface configuration commands on the Ethernet 110/1/1 interface.

switch# configure terminal

switch(config)# slot 110
switch(config-slot)# provision model N2K-C2232P 
switch(config-slot)# exit


switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# interface Ethernet110/1/1
switch(config-if)# description module is preprovisioned
switch(config-if)# show running-config interface Ethernet110/1/1
Time: Wed Aug 25 21:29:44 2010


version 5.0(2)N1(1)

interface Ethernet110/1/1
  description module is preprovisioned


The following example shows the list of pre-provisioned commands that were not applied when the module came online.

switch(config-if-range)# show provision failed-config 101
The following config was not applied for slot 33
================================================

interface Ethernet101/1/1
  service-policy input test

interface Ethernet101/1/2
  service-policy input test

interface Ethernet101/1/3
  service-policy input test


This example shows how to remove a preprovisioned module from a chassis slot:

switch(config)# slot 2
switch(config-slot)# no provision model N5K-M1404
switch(config-slot)#


This example shows how to remove all pre-provisioned modules from a slot:

switch(config)# slot 2
switch(config-slot)# no provision model
switch(config-slot)#











标签: NXOS

评论:

梦影国际
2017-10-24 19:36
博主您好!感谢一路有你.梦影国际因原域名到期,现在已经更换新的域名,请知悉.

发表评论:

Powered by emlog 苏ICP备11083054号-1