ADC CLI Commands

ns-trafficDomain

The following operations can be performed on “ns-trafficDomain”:

show disable rm add unbind clear bind enable stat

show ns trafficDomain

Display Traffic Domain configuration.

Synopsis

show ns trafficDomain [<td>]

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

Output

aliasName Name of traffic domain being added.

vmac Associate the traffic domain with a VMAC address instead of with VLANs. The Citrix ADC then sends the VMAC address of the traffic domain in all responses to ARP queries for network entities in that domain. As a result, the ADC can segregate subsequent incoming traffic for this traffic domain on the basis of the destination MAC address, because the destination MAC address is the VMAC address of the traffic domain. After creating entities on a traffic domain, you can easily manage and monitor them by performing traffic domain level operations.

stateflag Used internally for display.

vlan ID of the VLAN to bind to this traffic domain. More than one VLAN can be bound to a traffic domain, but the same VLAN cannot be a part of multiple traffic domains.

vxlan ID of the VXLAN to bind to this traffic domain. More than one VXLAN can be bound to a traffic domain, but the same VXLAN cannot be a part of multiple traffic domains.

bridgegroup ID of the configured bridge to bind to this traffic domain. More than one bridge group can be bound to a traffic domain, but the same bridge group cannot be a part of multiple traffic domains.

state The state of TrafficDmain.

devno count

Example

An example of the output of the show trafficDomain command is as follows:

1) Traffic Domain: 1 Alias Name: State: ENABLED Vlans : 50

2) Traffic Domain: 2 Alias Name: State: ENABLED Vlans : 2 Bridge Group : 1 Done

disable ns trafficDomain

Disable TrafficDomain.

Synopsis

disable ns trafficDomain <td>

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

Example

disable ns trafficdomain 1

rm ns trafficDomain

Remove Traffic Domain configured.

Synopsis

rm ns trafficDomain <td>

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

Example

rm ns trafficDomain 1

add ns trafficDomain

Configure Traffic Domain on the system.

Synopsis

add ns trafficDomain <td> [-aliasName ] [-vmac ( ENABLED | DISABLED )]

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

aliasName Name of traffic domain being added.

vmac Associate the traffic domain with a VMAC address instead of with VLANs. The Citrix ADC then sends the VMAC address of the traffic domain in all responses to ARP queries for network entities in that domain. As a result, the ADC can segregate subsequent incoming traffic for this traffic domain on the basis of the destination MAC address, because the destination MAC address is the VMAC address of the traffic domain. After creating entities on a traffic domain, you can easily manage and monitor them by performing traffic domain level operations.

Possible values: ENABLED, DISABLED Default value: DISABLED

Example

add ns trafficDomain 1 -aliasName td1

unbind ns trafficDomain

Unbind vlan or bridgegroup entities from traffic domain

Synopsis

unbind ns trafficDomain <td> (-vlan | -bridgegroup | -vxlan )

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

vlan ID of the VLAN to bind to this traffic domain. More than one VLAN can be bound to a traffic domain, but the same VLAN cannot be a part of multiple traffic domains. Minimum value: 1 Maximum value: 4094

bridgegroup ID of the configured bridge to bind to this traffic domain. More than one bridge group can be bound to a traffic domain, but the same bridge group cannot be a part of multiple traffic domains. Minimum value: 1 Maximum value: 1000

vxlan ID of the VXLAN to bind to this traffic domain. More than one VXLAN can be bound to a traffic domain, but the same VXLAN cannot be a part of multiple traffic domains. Minimum value: 1 Maximum value: 16777215

Example

unbind ns trafficDomain 1 -vlan 2

clear ns trafficDomain

Remove Traffic Domain configuration. NOTE: This command is deprecated.This is deprecated as it is similar to rm traffidomain

Synopsis

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

bind ns trafficDomain

bind vlan or bridgegroup entities with traffic domain.

Synopsis

bind ns trafficDomain <td> (-vlan | -bridgegroup | -vxlan )

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

vlan ID of the VLAN to bind to this traffic domain. More than one VLAN can be bound to a traffic domain, but the same VLAN cannot be a part of multiple traffic domains. Minimum value: 1 Maximum value: 4094

bridgegroup ID of the configured bridge to bind to this traffic domain. More than one bridge group can be bound to a traffic domain, but the same bridge group cannot be a part of multiple traffic domains. Minimum value: 1 Maximum value: 1000

vxlan ID of the VXLAN to bind to this traffic domain. More than one VXLAN can be bound to a traffic domain, but the same VXLAN cannot be a part of multiple traffic domains. Minimum value: 1 Maximum value: 16777215

Example

bind ns trafficDomain 1 -vlan 2

enable ns trafficDomain

Enable TrafficDomain.

Synopsis

enable ns trafficDomain <td>

Arguments

td Integer value that uniquely identifies a traffic domain. Minimum value: 1 Maximum value: 4094

Example

enable ns trafficdomain 1

stat ns trafficDomain

Display statistics for Traffic Domains(s).

Synopsis

stat ns trafficDomain [<td>] [-detail] [-fullValues] [-ntimes ] [-logFile ] [-clearstats ( basic | full )]

Arguments

td An integer specifying the Traffic Domain ID. Possible values: 1 through 4094. Minimum value: 1 Maximum value: 4094

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

count devno stateflag

Counters

Packets received (TdRxPkts) Packets received on this TD.

Packets sent (TdTxPkts) Packets transmitted from this TD.

Packets dropped (TdDropPkts) Inbound packets dropped on this TD by reception.

Example

stat ns trafficdomain 1

ns-trafficDomain