ServerIron ADX Switch and Router Guide
12.0.00
June 10, 2009

Table of Contents Previous Next Print


Configuring Trunk Groups and Dynamic Link Aggregation > Configuring Trunk Groups

Configuring Trunk Groups
The Trunk Group feature allows you to manually configure multiple high-speed load-sharing links between two Brocade Layer 2 Switches or Layer 3 Switches or between a Brocade Layer 2 Switch and Layer 3 Switch and a server. You can configure up to 8 ports as a trunk group, supporting transfer rates of up to 8 Gbps of bi-directional traffic.
In addition to enabling load sharing of traffic, trunk groups provide redundant, alternate paths for traffic if any of the segments fail.
Figure 4.1 shows an example of a configuration that uses trunk groups.
Figure 4.1
Trunk Group application within a Brocade ServerIron ADX
NOTE: The ports in a trunk group make a single logical link. Therefore, all the ports in a trunk group must be connected to the same device at the other end.
Trunk Group Connectivity to a Server
To support termination of a trunk group, the server must have either multiple network interface cards (NICs) or either a dual or quad interface card installed. The trunk server is designated as a server with multiple adapters or a single adapter with multiple ports that share the same MAC and IP address. Figure 4.2 shows an example of a trunk group between a server and a ServerIron ADX.
Figure 4.2
Trunk group between a server and a Brocade ServerIron ADX Layer 2 Switch or Layer 3 Switch
Trunk Group Rules
To change port parameters, you must change them on the primary port. The software automatically applies the changes to the other ports in the trunk group.
Make sure the device on the other end of the trunk link can support the same number of ports in the link. For example, if you configure a five-port trunk group on the ServerIron ADX and the other end is a different type of switch, make sure the other switch can support a five-port trunk group .
Figure 4.3 shows some examples of valid 2-port trunk group links between devices. The trunk groups in this example are switch trunk groups, between two Brocade devices. Ports in a valid 2-port trunk group on one device are connected to two ports in a valid 2-port trunk group on another device.
Figure 4.3
Examples of 2-port trunk groups
Additional Trunk Group Rules for Multi-Slot Trunk Groups
When you specify the ports in the trunk group, you must specify them in ascending numerical order, beginning with the primary port. For example, to specify a group containing ports 1/1 – 1/4 and 3/1 – 3/4, you must specify them in the order shown. You cannot specify 3/1 – 3/4 first.
Port configuration for each trunk group is based on the configuration of the primary port. To change port parameters, you must change them on the primary port. The software automatically applies the changes to the other ports in the trunk group.
Trunk Group Load Sharing
When you configure a trunk group, you specify whether the trunk group is a “switch” trunk group or a “server” trunk group:
Switch trunk group – Use this type of trunk group to connect one Brocade Layer 2 Switch or Layer 3 Switch to another Brocade Layer 2 Switch or Layer 3 Switch.
Server trunk group – Use this type of trunk group to connect a Brocade Layer 2 Switch or Layer 3 Switch to a file server or single host device.
Configuring a Trunk Group
1.
NOTE: If you connect the cables before configuring the trunk groups and then rebooting, the traffic on the ports can create a spanning tree loop.
2.
Configure the trunk group on one of the two Layer 2 Switches or Layer 3 Switches involved in the configuration.
3.
4.
Dynamically place the new trunk configuration into effect by entering the trunk deploy command at the global CONFIG level of the CLI.
5.
If the device at the other end of the trunk group is another Layer 2 Switch or Layer 3 Switch, repeat Steps 2 – 4 for the other device.
6.
When the trunk groups on both devices are operational, reconnect the cables to those ports that are now configured as trunk groups, starting with the first port (lead port) of each trunk group.
7.
Example 1: Configuring the Trunk Groups Shown in Figure 4.1
To configure the trunk groups shown in Figure 4.1, enter the following commands.
To configure the trunk group link between ServerIron ADX switch routers:
NOTE: The text shown in italics in the CLI example below shows messages echoed to the screen in answer to the CLI commands entered.
ServerIronADX1(config)# trunk switch e 5 to 8
Trunk will be created in next trunk deploy.
ServerIronADX1(config)# write memory
Write startup-config in progress.
.Write startup-config done.
ServerIronADX1(config)# trunk deploy

To configure the trunk group link between a ServerIron ADX and the server:
ServerIronADX2(config)# trunk server e 2 to 4
Trunk will be created in next trunk deploy.
ServerIronADX2(config)# write memory
Write startup-config in progress.
.Write startup-config done.
ServerIronADX2(config)# trunk deploy
Trunk will be created in next trunk deploy.
ServerIronADX3(config)# trunk switch ethernet 17 to 18
ServerIronADX(config)# write memory
Write startup-config in progress.
.Write startup-config done.
ServerIronADX3(config)# trunk deploy
Example 2: Configuring a Trunk Group That Spans Multiple Gigabit Ethernet Modules in a Chassis Device
To configure a trunk group consisting of two groups of ports, 1/1 – 1/4 on module 1 and 4/5 – 4/8 on module 4, enter the following commands:
ServerIronADX(config)# trunk ethernet 1/1 to 1/4 ethernet 4/5 to 4/8
ServerIronADX(config-trunk-1/1-4/8)# write memory
ServerIronADX(config-trunk-1/1-4/8)# exit
ServerIronADX(config)# trunk deploy
NOTE: The trunk deploy command dynamically places trunk configuration changes into effect, without a software reload.
Syntax: [no] trunk [server | switch] ethernet | to <portnum> ethernet <portnum> to <portnum>
Syntax: trunk deploy
The server | switch parameter specifies whether the trunk ports will be connected to a server or to another Layer 2 Switch or Layer 3 Switch. This parameter affects the type of load balancing performed by the Brocade device. See “Trunk Group Load Sharing”. The default is switch. Note that this parameter is not supported on the FES X-Series.
Each ethernet parameter introduces a port group.
The <portnum> to <portnum> parameters specify a port group. After you enter this command, the first port of the first port group specified (which must be the group with the lower port numbers) becomes the primary port for the entire trunk group.
To configure a trunk group consisting of two groups of two ports each, enter commands such as the following:
ServerIronADX(config)# trunk ethernet 1/1 to 1/2 ethernet 3/3 to 3/4
ServerIronADX(config)# write memory
ServerIronADX(config)# trunk deploy
Figure 4.4
Additional Trunking Options
The CLI contains commands for doing the following:
Naming a Trunk Port
To name an individual port in a trunk group, enter a command such as the following at the trunk group configuration level:
ServerIronADX(config-trunk-4/1-4/4)# port-name customer1 ethernet 4/2
Syntax: [no] port-name <text> ethernet <portnum>
The <text> parameter specifies the port name.
This command assigns the name “customer1” to port 4/2 in the trunk group consisting of ports 4/1 – 4/4.
Disabling or Re-Enabling a Trunk Port
You can disable or re-enable individual ports in a trunk group. To disable an individual port in a trunk group, enter commands such as the following at the trunk group configuration level:
ServerIronADX(config-trunk-4/1-4/4)# config-trunk-ind
ServerIronADX(config-trunk-4/1-4/4)# disable ethernet 4/2
Syntax: [no] config-trunk-ind
Syntax: [no] disable ethernet | pos <portnum>
The config-trunk-ind command enables configuration of individual ports in the trunk group. If you do not use this command, the disable command will be valid only for the primary port in the trunk group and will disable all ports in the trunk group. You need to enter the config-trunk-ind command only once in a trunk group. After you enter the command, all applicable port configuration commands apply to individual ports only.
NOTE: If you enter no config-trunk-ind, all port configuration commands are removed from the individual ports and the configuration of the primary port is applied to all the ports. Also, once you enter the no config-trunk-ind command, the enable, disable, and monitor commands are valid only on the primary port and apply to the entire trunk group.
The disable command disables the port. The states of other ports in the trunk group are not affected.
If you have configured a name for the trunk port, you can specify the port name, as shown in the following example:
ServerIronADX(config-trunk-4/1-4/4)# config-trunk-ind
ServerIronADX(config-trunk-4/1-4/4)# disable customer1
Syntax: disable <portname>
To enable an individual port in a trunk group, enter commands such as the following at the trunk group configuration level:
ServerIronADX(config-trunk-4/1-4/4)# config-trunk-ind
ServerIronADX(config-trunk-4/1-4/4)# enable ethernet 4/2
Syntax: enable ethernet <portnum>
Syntax: enable <portname>
Disabling or Re-Enabling a Range or List of Trunk Ports
To disable a range of ports in a trunk group, enter commands such as the following:
ServerIronADX(config)# trunk switch ethernet 2/1 to 2/8
ServerIronADX(config-trunk-2/1-2/8)# config-trunk-ind
ServerIronADX(config-trunk-2/1-2/8)# disable ethernet 2/2 to 2/5
This command disables ports 2/2 – 2/5 in trunk group 2/1 – 2/8.
To disable a list of ports, enter a command such as the following:
ServerIronADX(config-trunk-2/1-2/8)# disable ethernet 2/2 ethernet 2/4 ethernet 2/7
This command disables ports 2/2, 2/4, and 2/7 in the trunk group.
You can specify a range and a list on the same command line. For example, to re-enable some trunk ports, enter a command such as the following:
ServerIronADX(config-trunk-2/1-2/8)# enable ethernet 2/2 to 2/5 ethernet 2/7
Syntax: [no] disable ethernet <portnum> [to <portnum> | ethernet <portnum>]
Syntax: [no] enable ethernet <portnum> [to <portnum> | ethernet <portnum>]
The to <portnum> parameter indicates that you are specifying a range. Specify the lower port number in the range first, then to, then the higher port number in the range.
The ethernet <portnum> parameter specifies an individual port. You can enter this parameter multiple times to specify a list, as shown in the examples above. You cannot specify Ethernet and POS ports on the same command line.
Deleting a Trunk Group
To delete a trunk group, use “no” in front of the command you used to create the trunk group. For example, to remove one of the trunk groups configured in the examples above, enter the following command:
ServerIronADX(config)# no trunk ethernet 1/1 to 1/2 ethernet 3/3 to 3/4
Syntax: no trunk ethernet <portnum> to <portnum>
Displaying Trunk Group Configuration Information
To display configuration information for the trunk groups configured on the Layer 3 Switch, use one of the following methods. Each method displays information for configured trunk groups and operational trunk groups. A configured trunk group is one that has been configured in the software but has not been placed into operation by a reset or reboot. An operational trunk group is one that has been placed into operation by a reset or reboot.
Enter the following command at any CLI level:
Syntax: show trunk [ethernet <portnum> to <portnum>]
The following table describes the information displayed by the show trunk command.
 
Server – The trunk group is connected to a server.
Switch – The trunk group is connected to another Layer 2 Switch or Layer 3 Switch.
None – The link on the primary trunk port is down.
Full – The primary port is running in full-duplex.
Half – The primary port is running in half-duplex.
Note: This field and the following fields apply only to operational trunk groups.
None – The link on the primary trunk port is down.
10 – The port speed is 10 Mbps.
100 – The port speed is 100 Mbps.
IG – The port speed is 1000 Mbps.
 
To display trunk group information for specific ports, enter a command such as the following:
The display is divided into sections for configured trunks and operational trunks. A configured trunk group is one that has not been activated yet.
Table 4.2 describes the information displayed by the show trunk command.
 
Server – The trunk group is connected to a server.
Switch – The trunk group is connected to another Layer 2 Switch or Layer 3 Switch.
None – The link on the primary trunk port is down.
Full – The primary port is running in full-duplex.
Half – The primary port is running in half-duplex.
Note: This field and the following fields apply only to operational trunk groups.
None – The link on the primary trunk port is down.
10 – The port speed is 10 Mbps.
100 – The port speed is 100 Mbps.
IG – The port speed is 1000 Mbps.
Expired - The time has expired (as determined by timeout values) and the port has shut down because the port on the other side of the link has stopped transmitting packets.
The number of traffic flows currently being load balanced on the trunk ports. All traffic exchanged within the flow is forwarded on the same trunk port. For information about trunk load sharing, see “Trunk Group Load Sharing”.
 

Configuring Trunk Groups and Dynamic Link Aggregation > Configuring Trunk Groups

Table of Contents Previous Next Print
Copyright © 2009 Brocade Communications Systems, Inc.