NetScaler and IPv6 Configuration Commands

NetScaler and IPv6 Configuration Commands

book

Article ID: CTX119961

calendar_today

Updated On:

Description

IPv6 Address Configuration

The following are some of the commands for IPv6 address configuration on NetScaler:

>enable/disable ns feature ipv6   
>show ns feature
>add ns ip6 2002::1 -scope (global | link-local)
>Set ns ip6 2002::1 -mgmtaccess  
>show ns ip6
>stat protocol ipv6
>add lb vserver <vservername> <type> <IPv6Address>
>set lb vserver <vserver> -insertVserverIPPort { ON | OFF }
>set ipv6 –ralearning {ENABLED | DISABLED}
>set ns ip6 <IPv6 address> -map <mapped ipv4>

The following are some of the features of IPv6 on NetScaler:

  • Support for one link-local and one global NSIP address.
    Note: There is no support for remove NSIP command.

  • Support for automatic link-local configuration.

  • SNIP/VIP support.

  • ping6, telnet (telnet -6), and SSH (ssh -6) support.

  • In IPv6 Offload Mode, NetScaler runs with a V6-V4 lookup table which translates an IPv6 VIP Req into a V4 Req to back end.

  • In IPv6 end to end, NetScaler passes IPv6 traffic from virtual server to Service – production traffic.

Neighbor Discovery Support

The following are some of the commands for IPv6 Neighbor Discovery on NetScaler:

>Stat icmpv6
>add nd6 <ipv6 address> <mac> <ifnum> [-vlan <id>]
>remove nd6 <ipv6 address>
>Show nd6
>Set ns ip6 2002::1  -nd disabled

The following are some of the features of IPv6 Neighbor Discovery on NetScaler:

  • Address resolution.

  • Duplicate address detection.

  • Neighbor unreachability detection.

  • Router discovery.

  • Parameter discovery.

Static Routing Support

The following are some of the features of Static Routing on NetScaler:

  • Configure static routes using IPv6 address to any destination.

  • Assign values for the distance and metric of static routes, this provides an option to configure backup routes.

  • Enable advertising of static routes to IPv6 dynamic routing protocols.

Static Route Configurations

To add a static route

add route6 <network> <gateway> [-vlan <positive_integer>] [-weight <positive_integer>] [-distance <positive_integer>] [-cost <positive_integer>] [-advertise ( DISABLED | ENABLED )]

where:
vlan – vlan ID in case the gateway is a link-local IPv6 address.
weight – weight of this route. This is used to perform a weighted hash-based traffic distribution, in case of ECMP routes.
distance – the distance value of the route.
cost – cost metric of the route.
advertise – the state of advertisement of the route to dynamic routing protocols.

Example:

> add route6 2001::/48 501::4 -distance 2 -advertise ENABLED
Done

To set route parameters

set route6 <network> <gateway> [-vlan <positive_integer>] [-weight <positive_integer>] [-distance <positive_integer>] [-cost <positive_integer>] [-advertise ( DISABLED | ENABLED )]

Example:

>set route6 2001::/48 501::4 -weight 7 -advertise DISABLED

To delete route

rm route6 <network> <gateway> [-vlan <positive_integer>]

Example:

> rm route6 2001::/48 501::4
Done

To clear the routes

clear route6 <route-type>

To display route

show route6 [<network> [<gateway>]]

Example:

>show route6

Flags: S - Static, C - Connected, R - RA Route, A - Active, O - OSPFV3, P – Permanent
Network               Gateway                 Vlan       Flags
-------                      -------                      ----       -----
::1/128                      ::1                          1          PA
2001::/48                    501::4                       0          SA
fe80::/64                    fe80::20a:5eff:fe57:7f5c     1          CA
Done

Basic Feature Support

VLAN support

The following are some of the commands for IPv6 vlan support on NetScaler:

add vlan <id>
Bind vlan <id> [-ipaddress <ipv4 / ipv6>] [-ifnum <interface>]
Unbind vlan <id> [-ipaddress <ipv4/ipv6>] [-ifnum <interface>]
remove vlan <id>
Show vlan [<id>]

ACL6 support

The following are some of the commands for ACL6 support on NetScaler:

Add ns acl6 <acl6name> <acl6action> <parameters…>
Remove ns acl6 <acl6name>
Show ns acl6 [<acl6name>]
Apply acl6

Additional Resources

For more information refer to Citrix NetScaler Command Reference eDocs.

Issue/Introduction

This article describes NetScaler and IPv6 configuration commands.