Oracle® Fabric OS 1.0.2 Command Reference

Exit Print View

Updated: November 2016
 
 

lag

The lag commands adds, configures, displays, and removes a LAG.

Syntax

add lag name port port-number
remove lag {*|*.*|name}
set lag {*|*.*|name} [–descr=text]
show lag {*|*.*|name}

where:

  • *. * are wildcards that enable the command to be applied to all LAGs on the fabric.

  • name is a LAG name (which consists of slot and LAG ID separated by a dot) that enables the command to be applied to a specific LAG.

  • port-number is the port that will be added.

This hardware command has one subcommand. This table describes the subcommand and provides the syntax.

Subcommand
Description
port
Specifies an Ethernet port to add to a LAG.

Options

Option
Description
-descr
Specifies an alphanumeric character string that describes the LAG. Optional.

Example: Configure a Static LAG

This example shows how to configure a static LAG and specify the first port that you want in the LAG.

[OFOS] add lag 0.4 port 3,4,7,8
[OFOS] show lag
name   state    mac-addr            descr   mode      access-vlan   ports
-------------------------------------------------------------------------
0.4    up       00:13:97:5D:A0:01           access    1             4