Product Documentation

Configuring Network Interfaces

Nov 13, 2015

Network interfaces in the NetScaler appliance are numbered in <slot>/<port> notation. After configuring your interfaces, you should display the interfaces and their settings to verify the configuration. You can also display this information to troubleshoot a problem in the configuration.

To manage the network interfaces, you might have to enable some interfaces and disable others. You can reset an interface to renegotiate its settings. You can clear the accumulated statistics for an interface. To verify the configuration, you can display the interface settings. You can display the statistics for an interface to evaluate its health.

Setting the Network Interface Parameters

Updated: 2013-09-06

The network interface configuration is neither synchronized nor propagated. For an HA pair, you must perform the configuration on each unit independently.

Network interface parameters include Link Aggregate Control Protocol (LACP) settings. For more information about Link Aggregate Control Protocol (LACP), see "Configuring Link Aggregation Using the Link Aggregate Channel Protocol."

To set the network interface parameters by using the command line interface

At the command prompt, type:

  • set interface <id> [-speed <speed>] [-duplex <duplex>] [-flowControl <flowControl>] [-autoneg ( DISABLED | ENABLED )] [-haMonitor ( ON | OFF )] [ ( ON | OFF )] [-tagall ( ON | OFF )] [-lacpMode <lacpMode>] [-lacpKey<positive_integer>] [-lacpPriority <positive_integer>] [-lacpTimeout (LONG | SHORT )] [-ifAlias <string>] [-throughput <positive_integer>][-bandwidthHigh <positive_integer> [-bandwidthNormal <positive_integer>]]
  • show interface [<id>]

Example

 
> set interface 1/8 -duplex full 
 Done

To set the network interface parameters by using the configuration utility

Navigate to System > Network > Interfaces, select the network interface that you want to modify (for example, 1/8), click Edit, and then set the parameters.

Enabling and Disabling Network Interfaces

Updated: 2013-08-29

By default, the network interfaces are enabled. You must disable any network interface that is not connected to the network, so that it cannot send or receive packets. Disabling a network interface that is connected to the network in a high availability setup can cause failover.

For more information about high availability, see "."

To enable or disable a network interface by using the command line interface

At the command prompt, type one of the following pairs of commands to enable or disable an interface and verify the setting:

  • enable interface <interface_num>
  • show interface <interface_num>
  • disable interface <interface_num>
  • show interface <interface_num>

Example

 
> enable interface 1/8 
 Done 
> show interface 1/8 
        Interface 1/8 (Gig Ethernet 10/100/1000 MBits) #2 
        flags=0x4004000 <ENABLED, DOWN, BOUND to LA/1, down, autoneg, 802.1q> 
        MTU=1514, MAC=00:d0:68:15:fd:3d, downtime 906h58m40s 
        Requested: media UTP, speed AUTO, duplex FULL, fctl OFF, throughput 0 
        RX: Pkts(0) Bytes(0) Errs(0) Drops(0) Stalls(0) 
        TX: Pkts(0) Bytes(0) Errs(0) Drops(0) Stalls(0) 
        NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0) 
        Bandwidth thresholds are not set. 
Done

To enable or disable a network interface by using the configuration utility

  1. Navigate to System > Network > Interfaces.
  2. Select the network interface and, in the Action list, select Enable or Disable.

Resetting Network Interfaces

Updated: 2013-09-30

Network interface settings control properties such as duplex and speed. To renegotiate the settings of a network interface, you must reset it.

To reset a network interface by using the command line interface

At the command prompt, type the following commands to reset an interface and verify the setting:

  • reset interface <interface_num>
  • show interface <interface_num>

Example

 
> reset interface 1/8 
 Done

To reset a network interface by using the configuration utility

  1. Navigate to System > Network > Interfaces.
  2. Select the network interface and, in the Action list, select Reset Interface.

Monitoring a Network Interface

Updated: 2013-08-29

You can display network interface statistics to monitor parameters such as packets sent and packets received, throughput, Link Aggregate Control Protocol (LACP) data units, and errors, and use the information to check the health of the network interface. You can clear the statistics of a network interface to monitor its statistics from the time the statistics are cleared.

To display the statistics of the network interfaces by using the command line interface

At the command prompt, type:

stat interface <interface_num>

To display the statistics of an Interface by using the configuration utility

Navigate to System > Network > Interfaces, select the network interface, and click Interface Statistics.

To clear a network interface's statistics by using the command line interface

At the command prompt, type:

clear interface <interface_num>

Example

 
> clear interface 1/8 
 Done 

To clear a network interface's statistics by using the configuration utility

  1. Navigate to System > Network > Interfaces.
  2. Select the network interface and, in the Action list, select Clear Statistics.