This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
通过使用带有路由协议的 Cisco Nexus 7000 交换机配置群集 ECMP
通过群集设置 ECMP,Citrix ADC 设备能够通过路由协议处理流量。ECMP 机制有助于通过所有活动群集节点通告虚拟服务器 IP 地址。
要使用 ECMP,必须首先在群集 IP 地址上启用 BGP 协议。将接口和已发现的 IP 地址(启用动态路由)绑定到 VLAN。使用 VTYSH shell 配置选定的路由协议并在 ZeBOS 上重新分配内核路由。
用例:通过使用带有路由协议的 Cisco Nexus 7000 交换机设置 ECMP 群集
考虑使用 Cisco Nexus 7000 交换机进行群集部署的示例:
- 两个 Citrix ADC 设备(节点 1 和节点 2),连接到 Nexus 交换机(上游)。
- 两个 Cisco Nexus 7000 交换机。
- 客户端和服务器(通过 Nexus 交换机绘制 HTTP 流量)。在客户端启用热备用路由器协议 (HSRP) 的情况下。
必备条件
在 Citrix ADC 设备上配置群集节点之前,请考虑以下几点。
- 所有设备必须具有相同的平台类型。
- 必须在群集节点上启用边界网关协议 (BGP)。
通过在 Citrix ADC 设备上使用 CLI 进行配置
-
登录到设备(例如,具有 NSIP 地址 1.1.1.1 的设备)
-
添加群集节点。
添加群集节点 0 1.1.1.2 — 状态为活动 — 底板 0/10/8
-
添加群集 IP 地址
add ns ip 1.1.1.10 255.255.255.254 –type clip
-
保存配置
save ns config
-
热重新启动设备
reboot -warm
-
使用剪辑添加节点 1
添加群集节点 1 2.2.2.2 — 状态为活动 — 底板 1/10/8
-
将节点加入群集
加入群集 — 剪辑 1.1.1.10 — 密码
-
在 CLIP 上执行以下配置
-
enable ns feature bgp ospf DYNAMICROUTING
-
add ns ip 11.1.1.3 255.255.255.254 –dynamicRouting ENABLED –ownerNode 0
-
add ns ip 11.1.1.7 255.255.255.254 –dynamicRouting ENABLED –ownerNode 0
-
add ns ip 11.1.1.5 255.255.255.254 –dynamicRouting ENABLED –ownerNode 1
-
add ns ip 11.1.1.9 255.255.255.254 –dynamicRouting ENABLED –ownerNode 1
-
在 Cisco Nexus 路由器(11.1.1.2/31 和 11.1.1.4/31)上,必须使用命令行执行以下配置:
feature ospf
feature bgp
feature interface-vlan
-
feature hsrp
> interface vlan100 no shutdown ip address 50.1.1.1/8 Hsrp 50 ip 50.50.50.50 > interface Ethernet 4/15 ip address 11.1.1.2/31 no shutdown > interface Ethernet 4/19 ip address 11.1.1.4/31 no shutdown > interface Ethernet 4/22 switchport switchport access vlan 100
在 Cisco Nexus 路由器(11.1.1.6/31 和 11.1.1.8/31)上,必须使用命令行执行以下配置:
feature ospf
feature bgp
feature interface-vlan
-
feature hsrp
> interface vlan100 no shutdown 没有 IP 重定向 ip address 50.1.1.2/8 Hsrp 50 ip 50.50.50.50 > interface Ethernet 4/13 ip address 11.1.1.6/31 no shutdown > interface Ethernet 4/15 ip address 11.1.1.8/31 no shutdown > interface Ethernet 4/22 switchport switchport access vlan 100
对于 BGP 协议,必须在 Citrix ADC 设备的 CLIP 上执行以下配置:
> vtysh
ns# 路由器 bgp 1
redistribute kernel
owner-node 0
neighbor 11.1.1.2 remote-as 2
neighbor 11.1.1.2 as-origination-interval 1
neighbor 11.1.1.2 advertisement-interval 0
neighbor 11.1.1.6 remote-as 2
neighbor 11.1.1.6 as-origination-interval 1
neighbor 11.1.1.6 advertisement-interval 0
owner-node 1
neighbor 11.1.1.4 remote-as 2
neighbor 11.1.1.4 as-origination-interval 1
neighbor 11.1.1.4 advertisement-interval 0
neighbor 11.1.1.8 remote-as 2
neighbor 11.1.1.8 as-origination-interval 1
neighbor 11.1.1.8 advertisement-interval 0
exit-owner-node
在 Cisco Nexus 路由器上执行以下配置(11.1.1.3 和 11.1.1.5)
> ip access-list acl1
10 permit ip 50.0.0.0/8 any
route-map test permit
match ip address acl1
路由器 bgp 2
address-family ipv4 unicast
redistribute direct route-map test
maximum-paths 2
neighbor 11.1.1.3 remote-as 1
address-family ipv4 unicast
neighbor 11.1.1.5 remote-as 1
address-family ipv4 unicast
在 Cisco Nexus 路由器上执行以下配置(11.1.1.7 和 11.1.1.9)
> ip access-list acl1
10 permit ip 50.0.0.0/8 any
route-map test permit 1
match ip address acl1
路由器 bgp 2
address-family ipv4 unicast
redistribute direct route-map test
maximum-paths 2
neighbor 11.1.1.7 remote-as 1
address-family ipv4 unicast
neighbor 11.1.1.9 remote-as 1
address-family ipv4 unicast
对于 OSPF 协议,必须在 Citrix ADC 设备的 CLIP 上执行以下配置:
> vtysh
ns# 路由器 OSFP 1
redistribute kernel
owner-node 0
network 15.1.1.2/31 area 0
network 15.1.1.6/31 area 0
exit-owner-node
owner-node 1
network 15.1.1.4/31 area 0
network 15.1.1.8/31 area 0
exit-owner-node
route-map map2 permit 1
set metric 10
在 Cisco Nexus 路由器(11.1.1.2/31 和 11.1.1.4/31)上,必须使用命令行执行以下配置:
> route-map- map2 permit 1
set metric 10
interface Ethernet4/15
ip address 15.1.1.2/31
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet4/19
ip address 15.1.1.4/31
ip router ospf 1 area 0.0.0.0
no shutdown
router ospf 1
路由器编号 1.1.1.1
redistribute direct route-map map2
在 Cisco Nexus 路由器(11.1.1.7/31 和 11.1.1.9/31)上,必须使用命令行执行以下配置:
> route-map- map2 permit 1
set metric 10
interface Ethernet4/13
ip address 15.1.1.6/31
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet4/15
ip address 15.1.1.8/31
ip router ospf 1 area 0.0.0.0
no shutdown
router ospf 1
路由器编号 1.1.1.2
redistribute direct route-map map2
分享:
分享:
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.