Checking and completing the ELAN configuration

Procedure for checking the configuration

To check and complete the configuration, complete the following steps.

Step Action
1 Verify the communication link.
2 Check the configuration settings.
3 Check the other elements of the ELAN.
4 Modify the load balancing setting, if desired.
5 Save the configuration in the /etc/rc and /etc/hosts files.

Verifying the communication link using ping

After you add an ELAN to an adapter and configure the interface, check to ensure that the filer can communicate with other clients through the ELAN. The easiest way to do this is to ping another LEC on the ELAN to ensure that information is traveling out through the ATM adapter and back again.

To ping a LEC, or any other client, use the ping command.

Command syntax:

The ping command has the following syntax:

ping host

host is the IP address of the computer to which you want to send an ICMP ECHO_REQUEST datagram.

Example

The following command sends the datagram to host 204.125.14.45, and waits for a response:

ping 204.125.14.45

If the host responds, ping prints "host is alive." Otherwise, ping resends the ECHO_REQUEST once a second. If the host does not respond after 20 seconds, ping prints "no answer from host."


Note: From a diagnostics point of view, it's often useful to have a LEC configured on the switch.


Checking the configuration settings

Double-check the state of the adapters in the filer to ensure that the configuration is as you expect.

To check the configuration setting, use the elconfig show command.

Syntax

The elconfig show command has the following syntax:

elconfig show -all
Example

The abbreviated sample output (showing ELANs on Adapter 2 only) from this command is as follows:

ELANs on Adapter 2
==================
LECS (current): 47.0079.00.000000.0000.0000.0000.00a03e000001.00
   ELAN           LAN Type    LES ATM Address
   ====           ========    ===============
   eighteenKMTU   Ethernet 
47.0005.80.ffe100.0000.f21a.4d19.0020481a4d19.14
=> default        Unknown 
47.0005.80.ffe100.0000.f21a.4d19.0020481a4d19.f0
=> nineKMTU       Ethernet     
47.0005.80.ffe100.0000.f21a.4d19.0020481a4d19.11
Interpreting the output

Verify the following for newly configured ATM adapters:

Checking the other elements of the ELAN

You should also check to ensure that the other elements of the ELAN are configured and operating as expected. For example, you should verify that the LES, LECS, and BUS ATM addresses are all valid, and that the state of the ELAN is operational.

In addition, you should check the MTU of each ELAN to verify that the setting matches the configuration created on the switch, by using the elconfig show command.

Syntax

The elconfig show command has the following syntax:

elconfig show -configured
Example

The abbreviated sample output (showing information related to the eighteenKMTU ELAN on adapter 2 only) from this command is as follows:

ELAN Name                  : eighteenKMTU
Interface                  : el1
Configured Unit            : 2
MAC Address                : 00:20:48:40:1c:95
LEC Address                : 
47.0005.80.ffe100.0000.f21a.4d19.002048401c95.00
LECS Address               : 
47.0079.00.000000.0000.0000.0000.00a03e000001.00
  Configuration Direct VCC :   unit=1 vpi/vci=0/17
LES Address                : 
47.0079.00.000000.0000.0000.0000.00a03e000001.00
  Control Direct VCC       :   unit=- vpi/vci=-/-
  Control Distribute VCC   :   unit=- vpi/vci=-/-
LAN Type                   : Ethernet/IEEE 802.3
Maximum Frame Size         : 18190
State                      : operational
MPOA                       : disabled
LECID                      : 8

Modifying load balancing [optional]

To modify load balancing groups, use the uniconfig set failover command.

Syntax

The uniconfig set failover command has the following syntax:

uniconfig set failover [ -state off | static | dynamic ] [-group 
unit ... ]

-state static puts UNI load balancing in a static mode.

-group unit... specifies the load balancing group membership.

-state off disables load balancing and failover.

The option -state dynamic is the default.

Example

The following command disables load balancing and failover:

uniconfig set failover -state off 

The arguments to the -group parameter specify the ATM adapters (units) that should be logically assigned to a load balancing and failover group. If you specify a unit that has already been assigned to another group, the unit is automatically removed from the original group before being assigned to the new group.

Load balancing does not depend on any nonstandard extensions to the UNI. However, the switch must support the following:

If the switch does not support these features, load balancing and failover is automatically disabled.


Note: By default, all ATM adapters are dynamically assigned to load balancing groups. In this case, no configuration is necessary to activate the load balancing and failover features.


Saving the ATM configuration information

After you successfully configure each of the ATM adapters in the filer and verify their proper operation, you should do the following:

This saves you from having to reconfigure the adapters manually each time the filer is restarted.

Saving the configuration in the /etc/rc file

Save the commands in the /etc/rc file for automatic execution at boot time. To do this, mount the root file system and edit the file using a text editor such as vi.

Example

The following is a sample portion of an /etc/rc file containing configuration commands for three ATM adapters:

# unit 1
elconfig set -lecs -wellknown -unit 1
elconfig add default -if el0 -type ethernet -unit 1
ifconfig el0 172.20.12.19 netmask 255.255.252.0 up
# unit 2
elconfig set -lecs -wellknown -unit 2
elconfig add nineKMTU -if el1 -type ethernet -unit 2
ifconfig el1 201.201.201.219 netmask 255.255.255.0 up
# unit 3
elconfig set -lecs -wellknown -unit 3
elconfig add eighteenKMTU -if el2 -type ethernet -unit 3
ifconfig el2 201.201.210.219 netmask 255.255.255.0 up
elconfig add nineKMTU -if el3 -type ethernet -unit 3
ifconfig el3 201.201.210.220 netmask 255.255.255.0 up
elconfig wait

Note that in this example, both adapter 2 and adapter 3 are on the nineKMTU ELAN, and that adapter 3 is on two ELANs.

Configuring the /etc/hosts file

Save the host and IP address information of the ELAN configuration in the /etc/hosts files.

Example

The following is a sample portion of the /etc/hosts file containing the host and IP address information for the ATM adapters:

172.20.12.19	 myfiler-el0
201.201.201.219 myfiler-el1
201.201.210.219 myfiler-el2
201.201.210.220 myfiler-el3

If you have a filer that has only ATM adapters, the /etc/hosts file must contain an entry for the filer's host name. For example, the first line in the example might be as follows:

172.20.12.19	 myfiler myfiler-el0

The host name is not displayed as part of the command prompt until you add the host name in one IP entry and reboot the filer. On filers that include other types of network interfaces, the installation setup procedure automatically adds the host name entry to the /etc/hosts file.

Configuring additional ATM adapters

Repeat the complete instructions in this chapter to configure additional ATM adapters in the filer.


Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: atm7.htm
Last updated: 04/26/99 08:11:23