如何最好地重新分配接口以移动到不同的 VDC

网络工程 cisco-nexus-7k
2021-07-26 17:28:46

我正在重新分配 Nexus 7k 中 N7K-M132XP-12L(32 端口 10 Gig 模块)上的接口。

目前端口配置如下

vdc router_VDC_2 id 2
allocate interface Ethernet1/1-24 
vdc router_VDC_3 id 3
allocate interface Ethernet1/25-32

我需要将 8 个接口从 VDC_2 移动到 VDC_1。我想移动的 8 是 1/16-24。

如何在不导致 VDC 2 中断的情况下移动接口?

以下会起作用吗?

vdc router_VDC_1 id 1
allocate interface Ethernet1/16-24 
1个回答

假设这些端口只是接入端口,不参与任何会导致 STP 重新收敛或路由重新收敛的路由或 VLAN 中继。移动它们应该是安全的。

您不必指定 id 字段。此命令应该可以正常工作:

vdc router_VDC_1
allocate interface Ethernet1/16-24
!now exit, switchto vdc and begin configuring the interfaces
switchto vdc router_VDC_1
int e1/16
  no shut
  ....etc

在 VDC 之间移动端口时,您会看到的唯一中断是端口本身。默认情况下 - 他们在新 VDC 上填充的配置只是关闭。因此,连接的设备将断开其链接,直到您配置并取消关闭接口。

更新:我没有注意到您提到,因为这是一张 N7K-M132XP-12L 卡 - 由于 ASICS 的配置方式,端口分配以 4 位工作。您将不被允许移动端口 16。如果您这样做,它会导致端口 11、12 和 13 随之移动。您可以毫无问题地移动 e1/17-24。