HP UX Auto Port Aggregation (APA) Software manual Lanadmin -X -a 6 7 8 9

Models: UX Auto Port Aggregation (APA) Software

1 133
Download 133 pages 3.52 Kb
Page 58
Image 58

To manually configure ports with PPAs 6, 7, 8, and 9 into a link aggregate lan901, enter the following command:

lanadmin -X -a 6 7 8 9 901

CAUTION: Be careful when using the -asuboption. This might lead to an invalid link aggregate. This command gives you full control over forming any link aggregate that you want. This example configures ports with PPAs 6, 7, 8, and 9 into a single link aggregate, even if they are connected to different switches, which is an invalid configuration, and could lead to problems.

Before you can remove a port from an automatically formed link aggregate, you must turn off Cisco's Fast EtherChannel or LACP protocol on that port. If a port with a PPA number of 2 belongs to link aggregate lan900 (PPA number of 900), enter one of the following two commands:

lanadmin -X -d 2 900 or

lanadmin -X -p 2 MANUAL 900

To deconfigure FEC_AUTO (or LACP_AUTO) mode link aggregate 903, which has ports with PPAs 6, 7, 8, and 9, enter the following commands in succession:

#lanadmin -X -p 6 MANUAL 903

#lanadmin -X -p 7 MANUAL 903

#lanadmin -X -p 8 MANUAL 903

#lanadmin -X -p 9 MANUAL 903

Alternatively, the following single command achieves the same result:

lanadmin -X -d 6 7 8 9 903

To fully deconfigure a link aggregate, enter the following command: lanadmin -X -c 903

IMPORTANT: Failure to fully deconfigure a link aggregate can result in some properties being retained in the link aggregate. Subsequently, when you add new ports onto the link aggregate, they might not aggregate properly.

To delete a single port (for example, 8) from link aggregate 901, enter the following command: lanadmin -X -d 8 901

To delete ports 6 and 9, enter: lanadmin -X -d 6 9 901

To deconfigure the link aggregate 901 completely, enter: lanadmin -X -c 901

This deletes the remaining port, 7, from link aggregate 901 and clears all the properties from the link aggregate; it becomes clean.

IMPORTANT: After you delete all the ports from link aggregate 901, (after using, for example, lanadmin -X-d 7 901), use the -csuboption. Otherwise, some properties are retained in link aggregate 901. Subsequently, when you add new ports to link aggregate 901, they inherit old properties of the link aggregate and might not aggregate properly.

Configuring an FEC_AUTO Mode Link Aggregation using lanadmin

The following example works for all versions of 11i (link aggregate begins at 900).

58 Using the lanadmin Command

Page 58
Image 58
HP UX Auto Port Aggregation (APA) Software manual Configuring an Fecauto Mode Link Aggregation using lanadmin