Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring Ethernet Autoswitch From the CLI

 

AAS (AcornAutoSwitch, which controls Ethernet failover) is controlled by the syscfg utility. The best first command to execute for Ethernet AAS is the syscfg command that dumps "all", so that you can see how many Ethernet interfaces are supported on the CTP. For example, for a CTP150:

Looking in the "start_block AAS_ETH_FAILOVER" section, you can see that there are 2 Ethernets available. For comparision, here is a CTP2000 with a PMC Ethernet:

So you can see that the number of Ethernets available will vary based on the platform and options. But based on this information, configuration decisions can be made. The basic information shown in the AAS_ETH_FAILOVER output is relatively self explanatory. It is possible to determine if a particular Ethernet interface is available for use in AAS on the CTP, and also whether or not it is currently participating in AAS Ethernet failover. For example, looking at the CTP150 query, eth0 is available and in use, but eth1 is not. But since it is available, we can add it to the list of AAS participating interfaces. To do this, we use the syscfg utility-specific commands are used:

Sets the AcornAutoSwitch parameters for <bndl#>.

cfg_string is of the form:

For route redundancy support:

For check period only:

Lots of stuff there. For the purposes of this subject, the command we are interested in is:

To add this interface to AAS failover, all we need to do is run the set command on this string with "USE0" changed to "USE1":