Jump to content
Welcome to our new Citrix community!

Does citrix ADC CPX support dynamic routing and RHI ?


sebastien langlois

Recommended Posts

When using Citrix ADC VPX or MPX, dynamic routing is configured using **vtysh** following the https://docs.citrix.com/en-us/netscaler/12/networking/ip-routing/configuring-dynamic-routes.html guidelines.

 

When using Citrix ADC CPX, the vtysh command does not seems to work.


 

root@6ffcd04deb33:/# vtysh
No entry for terminal type "xterm";
using dumb terminal settings.
No entry for terminal type "xterm";
using dumb terminal settings.
Aborted


root@6ffcd04deb33:/# vtysh -e 'show running-config'
No entry for terminal type "xterm";
using dumb terminal settings.
No entry for terminal type "xterm";
using dumb terminal settings.
Aborted

 

Does citrix ADC CPX include ZebraOs and support dynamic routing for RHI in a same way than Citrix ADC VPX / MPX or do we have to add an external routing container like frrouting to handle it ?

How can we use the vtysh command in Citrix ADC CPX ?

Link to comment
Share on other sites

CPX is a very greatly feature reduced Citrix ADC, and misses out MANY features

 

According to https://docs.citrix.com/en-us/citrix-adc-cpx/12-1/about.html:

 

Citrix ADC CPX supports the following features:

Application availability

L4 load balancing and L7 content switching

SSL Offloading

IPv6 protocol translation

Application security

L7 rewrite and responder

Simple manageability

Web logging

AppFlow

 

Not seeing any hint about fancy routing there! And to be honest, given the copncept thet Docker is all about fairly simple apps, I would have thought that the routing would all be handled by the docker host. 

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...

The https://www.astesj.com/publications/ASTESJ_040624.pdf research article describes third party routing stack integration with Citrix ADC CPX. The paper described integration with QUAGGA, https://github.com/virtualdesktopdevops/citrix-adc-frrouting-sync projet is emerging on Github to sync Citrix ADC CPX RHI enabled vip with FRR open-source routing stack.

 

@Akshay Budhauliya1709160745: Is it the right way to configure route health injection with Citrix ADC CPX or does CPX provides an embedded routing engine as MPX and VPX do ?

Link to comment
Share on other sites

For Nitro/REST API reference for dynamic routing, you can check out this link

https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/router/routerdynamicrouting/

 

As a simple example, for the following BGP configuration done via VTYSH, the Nitro configuration is shown:

VTYSH config: 

1. ns route-install bgp

2. router bgp 100

        redistribute kernel
       neighbour 1.1.1.2 remote-as 101 

3. show ip bgp summary

 

Nitro config:

1. curl -u <username>:<password> http://<NSIP>/nitro/v1/config/ --data 'object={"params":{"action":"apply"},"routerDynamicRouting": {"commandstring" : "ns route-install bgp"}}'

2. curl -u <username>:<password> http://<NSIP>/nitro/v1/config/ -X POST --data 'object={"routerDynamicRouting": {"bgpRouter" : {"localAS":100, "neighbor": [{ "address": "1.1.1.2", "remoteAS": 101}], "afParams":{"addressFamily": "ipv4", "redistribute": {"protocol": "kernel"}}}}}'

3. Verify the BGP session details

curl -u <username>:<password> http://<NSIP>/nitro/v1/config/routerDynamicRouting/bgpRouter

Output:
{ "errorcode": 0, "message": "Done", "severity": "NONE", "routerDynamicRouting":{"bgpRouter":[{ "localAS": 100, "routerId": "1.1.1.3", "afParams": [ { "addressFamily": "ipv4" }, { "addressFamily": "ipv6" } ], "neighbor": [ { "address": "1.1.1.2", "remoteAS": 101, "ASOriginationInterval": 15, "advertisementInterval": 30, "holdTimer": 90, "keepaliveTimer": 30, "state": "Established", "singlehopBfd": false, "multihopBfd": false, "afParams": [ { "addressFamily": "ipv4", "activate": true }, { "addressFamily": "ipv6", "activate": false } ]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...