arp¶
The following operations can be performed on "arp":
add arp¶
Adds a static ARP entry to the ARP table of the NetScaler appliance.
Synopsys¶
add arp -IPAddress <ip_addr> [-td <positive_integer>] -mac <mac_addr> (-ifnum <interface_name> | (-vxlan <positive_integer> -vtep <ip_addr>)) [-vlan <positive_integer>] [-ownerNode <positive_integer>]
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
rm arp¶
Removes a specified static ARP entry or all static ARP entries from the NetScaler appliance's ARP table.
Synopsys¶
rm arp (<IPAddress> | -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 NetScaler appliance.
ownerNode
The owner node for the Arp entry.
Default value: -1
Minimum value: 0
Maximum value: 31
send arp¶
Sends Gratuitous Address Resolution Protocol (GARP) messages for the specified NetScaler owned IP addresses.
Synopsys¶
send arp ((-IPAddress <ip_addr> [-td <positive_integer>]) | -all)
Arguments¶
IPAddress
NetScaler owned IP address for which the NetScaler appliance 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 NetScaler 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
show arp¶
Display all the entries in the system's ARP table.
Synopsys¶
show arp [<IPAddress> [-td <positive_integer>] [-ownerNode <positive_integer>]]
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
Outputs¶
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.
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 02) 10.11.0.254 00:30:19:c1:7e:f4 1/1 1 dynamic 500 03) 10.11.0.41 00:d0:a8:00:7c:e4 0/1 1 dynamic 500 04) 10.11.222.2 00:ee:ff:22:00:01 0/1 1 dynamic 500 05) 10.11.201.12 00:30:48:31:23:49 0/1 1 dynamic 500 0