Link aggregation configuration example – Intel BLADE SERVER IXM5414E Manuale d'uso

Pagina 270

Advertising
background image

CLI Configuration Examples

247

The script in the following example shows you how to create and configure VLANs on your switch.

Create and name two VLANs (the names are optional).

config vlan create 1

config vlan name 1 vlan_one

config vlan create 2

config vlan name 2 vlan_two

Assign the ports that will belong to vlan_one. This will be a tagged VLAN – only tagged packets
will be accepted by member ports, and all packets transmitted from member ports will be
tagged.

config vlan participation include 1 bay.1,bay.2

config vlan port tagging enable 1 bay.1,bay.2

config vlan port acceptframe vlanonly 1 bay.1,bay.2

Assign the ports that will belong to vlan_two. Untagged packets will be accepted by member
ports bay.3 and bay.4 and assigned the default PVID of 2, and all packets transmitted from
member ports will be untagged. Note that bay.2 is a member of both vlan_one and vlan_two, and
that ext.1 and ext.2 will never be members.

config vlan participation include 2 bay.2,bay.3,bay.4

config vlan participation exclude 2 ext.1,ext.2

config vlan port acceptframe all 2 bay.3,bay.4

Assign the same default PVID to ports bay.3 and bay.4.

config vlan port pvid 2 bay.3,bay.4

Link aggregation configuration example

This section provides sample CLI commands showing how to configure the Intel® Blade Server
Ethernet Switch Module IXM5414E to support IEEE 802.3ad aggregated links. By defining a Link
Aggregation Group (LAG) you can treat multiple physical links between two end-points as one
logical link. The LAG will also be seen by management functions as a single link.

LAGs are used to increase both link bandwidth and reliability: they are often used for links to the
Internet or to shared servers. The script in the following example shows you how to configure and
enable two LAGs on the same switch.

Create and name two LAGs.

config lag create lag_internet

config lag create lag_server

When the switch creates the LAGs, it will assign logical interface IDs that you will use to
identify them in subsequent commands. Use the following command to find out what IDs have
been assigned:

show lag all

Add the physical ports to the LAGs. (Assume that lag_internet was assigned ID lag.1 and
lag_server was assigned ID lag.2.)

Advertising