vPC (Virtual Port-Channel) on NX-OS
Arriba se muestran las conexiones vPC entre el núcleo y un conjunto de switches de distribución. Debido a otras limitaciones de configuración, todo el enrutamiento y HSRP está configurado en el núcleo. Los switches 3560X son switches L2 para proporcionar gestión fuera de banda para todos los switches en los racks utilizando VLAN 99. Pensamos que los puertos de gestión estarían mejor servidos como interfaces OOB en lugar de utilizarlos para enlaces keep-alive. Además, al mover los enlaces keep-alive a interfaces normales, pudimos proporcionar redundancia con dos enlaces frente a uno.
Configuracion
VPC Peer-Link en el CORE
*En todos los switches con NX-OS, es necesario configurar lo siguiente*.
feature vpc
feature hsrp
feature lacpConfiguración de dominios y Switch de VPC
SW-CORE-A
vpc domain 10
peer-switch
role priority 120
system-priority 1024
peer-keepalive destination 10.199.199.2 source 10.199.199.1 vrf vpc-keepalive
delay restore 10
peer-gateway
auto-recovery reload-delay 300
ip arp synchronizeSW-CORE-B
vpc domain 10
peer-switch
role priority 150 *lower priority wins*
system-priority 1024
peer-keepalive destination 10.199.199.1 source 10.199.199.2 vrf vpc-keepalive
delay restore 10
peer-gateway
auto-recovery reload-delay 300
ip arp synchronizeSW-CORE-A
interface port-channel99
description VPC Peer Link - SW-CORE-B
switchport mode trunk
switchport trunk allowed vlan 1-499,501-4094
spanning-tree port type network
vpc peer-link
SW-CORE-B
interface port-channel99
description VPC Peer Link-SW-CORE-A
switchport mode trunk
switchport trunk allowed vlan 1-499,501-4094
spanning-tree port type network
vpc peer-linkMiembros Puerto-Canal (Igual en ambos switches)
99 Po99(SU) Eth LACP Eth1/47(P) Eth1/48(P)VPC Peer Link en la capa de distribución
SW-DIST-A
interface port-channel1
description VPC Peer Link - SW-DIST-B
switchport mode trunk
spanning-tree port type network
vpc peer-linkSW-DIST-B
interface port-channel1
description VPC Peer Link - SW-DIST-A
switchport mode trunk
spanning-tree port type network
vpc peer-linkMiembros Puerto-Canal (Igual en ambos switches)
1 Po1(SU) Eth LACP Eth1/29(P) Eth1/30(P) Enlaces VPC Peer-Keepalive en el Core
Estos enlaces necesitan estar en su propia tabla VRF y las interfaces necesitan ser de Capa3. También es realmente un placer poder utilizar la notación CIDR en lugar de teclear la máscara de subred en los comandos NX-OS.
SW-CORE-A
interface port-channel910
no switchport
speed 1000
vrf member vpc-keepalive
ip address 10.199.199.1/30SW-CORE-B
interface port-channel910
no switchport
speed 1000
vrf member vpc-keepalive
ip address 10.199.199.2/30Miembros de Port-Channel para Keepalive
910 Po910(RU) Eth NONE Eth1/39(P) Eth1/40(P)
Configuración de la interfaz de miembros
interface Ethernet#/#
description keep-alive: SW-CORE-# <> SW-CORE-#
no switchport
vrf member vpc-keepalive
channel-group 910 *lacp*
no shutdownKeepalives de pares para distribución
SW-DIST-A
interface port-channel920
description keep-alive: SW-DIST-A <> SW-DIST-B
no switchport
vrf member vpc-keepalive
ip address 10.199.199.13/30SW-DIST-B
interface port-channel920
description keep-alive: SW-DIST-B <> SW-DIST-A
no switchport
vrf member vpc-keepalive
ip address 10.199.199.12/30Miembros de Port-Channel para Keepalive
920 Po920(RU) Eth NONE Eth1/2(P) Eth1/4(P) Interfaz de miembros (igual para todos)
interface Ethernet#/#
no switchport
vrf member vpc-keepalive
channel-group 920 *lacp*
no shutdownEsto resume una instalación básica de un dominio VPC con cuatro conmutadores Nexus que ejecutan NX-OS.
vPC & HSRP with the Nexus 9K | StaticWiFi (wordpress.com)

0 Comentarios