ADC CLI Commands

arp

The following operations can be performed on “arp”:

show rm add send

show arp

Display all the entries in the system’s ARP table.

Synopsis

show arp [ [-td ] [-ownerNode ]]

Arguments

IPAddress The IP address corresponding to an ARP entry.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. Minimum value: 0 Maximum value: 4094

ownerNode The cluster node which owns the ARP entry. Default value: -1 Minimum value: 0 Maximum value: 31

Output

mac The MAC address corresponding to an ARP entry.

ifnum The interface on which this MAC address resides.

timeout The time, in seconds, after which the entry times out.

state The state of the ARP entry.

flags The flags for the entry.

type Indicates whether this ARP entry was added manually or dynamically. When you manually add an ARP entry, the value for this parameter is STATIC. Otherwise, it is DYNAMIC. For the NSIP and loopback IP addresses, the value is PERMANENT.

vlan The VLAN ID through which packets are to be sent after matching the ARP entry. This is a numeric value.

vxlan ID of the VXLAN on which the IP address of this ARP entry is reachable.

vtep IP address of the VXLAN tunnel endpoint (VTEP) through which the IP address of this ARP entry is reachable.

channel The tunnel, channel, or physical interface through which the ARP entry is identified.

flag Flags for the entry.

controlPlane This arp entry is populated by a control plane protocol

devno count stateflag

Example

The output of the sh arp command is as follows: 5 configured arps: IP MAC Inface VLAN Origin TTL Traffic Domain ——- ——- ——- —— ——- — ————– 1) 10.250.11.1 00:04:76:dc:f1:b9 1/2 2 dynamic 700 0 2) 10.11.0.254 00:30:19:c1:7e:f4 1/1 1 dynamic 500 0 3) 10.11.0.41 00:d0:a8:00:7c:e4 0/1 1 dynamic 500 0 4) 10.11.222.2 00:ee:ff:22:00:01 0/1 1 dynamic 500 0 5) 10.11.201.12 00:30:48:31:23:49 0/1 1 dynamic 500 0

rm arp

Removes a specified static ARP entry or all static ARP entries from the Citrix ADC’s ARP table.

Synopsis

rm arp ( | -all) \[-td <positive\_integer>] \[-ownerNode <positive\_integer>]

Arguments

IPAddress IP address of the network device in the ARP entry that you want to remove from the ARP table.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. Minimum value: 0 Maximum value: 4094

all Remove all ARP entries from the ARP table of the Citrix ADC.

ownerNode The owner node for the Arp entry. Default value: -1 Minimum value: 0 Maximum value: 31

add arp

Adds a static ARP entry to the ARP table of the Citrix ADC.

Synopsis

add arp -IPAddress [-td ] -mac (-ifnum -vxlan ) [-vtep ] [-vlan ] [-ownerNode ]

Arguments

IPAddress IP address of the network device that you want to add to the ARP table.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. Minimum value: 0 Maximum value: 4094

mac MAC address of the network device.

ifnum Interface through which the network device is accessible. Specify the interface in (slot/port) notation. For example, 1/3.

vxlan ID of the VXLAN on which the IP address of this ARP entry is reachable. Minimum value: 1 Maximum value: 16777215

vtep IP address of the VXLAN tunnel endpoint (VTEP) through which the IP address of this ARP entry is reachable.

vlan The VLAN ID through which packets are to be sent after matching the ARP entry. This is a numeric value. Minimum value: 0

ownerNode The owner node for the Arp entry. Default value: -1 Minimum value: 0 Maximum value: 31

Example

add arp -ip 10.100.0.48 -mac 00:a0:cc:5f:76:3a -ifnum 1/1

send arp

Sends Gratuitous Address Resolution Protocol (GARP) messages for the specified Citrix ADC owned IP addresses.

Synopsis

send arp ((-IPAddress [-td ]) -all)

Arguments

IPAddress Citrix ADC owned IP address for which the Citrix ADC sends Gratuitous Address Resolution Protocol (GARP) messages.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. Minimum value: 0 Maximum value: 4094

all Send GARP messages for all Citrix ADC owned IP addresses on which the ARP option is enabled. In a secondary node of an high availability configuration, this option sends GARP messages for the node’s NSIP address only.

Example

send arp 10.10.10.10

arp