Configuring Linecard Expansion Modules

This chapter contains the following sections:

Configuring Linecard Expansion Modules

Information About Linecard Expansion Modules

The Linecard Expansion Module (LEM) is a field replaceable module. Each LEM has 12 to 40 Gigabit Ethernet ports that can break out into 48 to10 Gigabit ports per LEM. The module can be either in 10 Gigabit Ethernet mode or in 40 Gigabit Ethernet mode. A power-off followed by a power-on of the module is required to change the mode. The LEM occupies slot 1 to slot 8 on the Cisco Nexus 6004 chassis.

The Cisco Nexus 6004 chassis supports the following types of LEMs:

  • Fixed LEMs: Slot 1 to Slot 4.

  • Hot-swappable LEMs: Slot 5 to Slot 8.

Configuring the LEM in 10G Mode

Procedure

  Command or Action Purpose

Step 1

switch# configure terminal

Enters global configuration mode.

Step 2

switch(config)# interface breakout slot slot port port-range map 10g-4x

Configures the breakout for an interface.

slot —valid slot values are from 1 to 8.

port-range —valid port-range values are from 1 to 12.

Note

 

You have to select either all the QSFP ports on a given line expansion module (LEM) card or all QSFP ports on a single ASIC of a LEM for breakout. You cannot create breakout group by mixing QSFP ports from different ASICs.

Step 3

switch(config)# poweroff module module-number

Power-off and power-on the module for the interface breakout to be effective. If the breakout feature is configured on the baseboard module, save the running configuration to startup configuration using the copy running-config startup-config command and then reload the switch.

Note

 

If the breakout feature is not configured on the baseboard module, then an additional reload is required.

Step 4

switch(config)# no poweroff module module-number

Brings the module up.

Step 5

switch(config)# copy running-config startup-config

Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration.

Example

This example shows how to configure a Linecard Expansion Module (LEM) in 10G mode.

switch# configure terminal
switch(config)# interface breakout slot 1 port 1-12 map 10g-4x
switch(config)# poweroff module 1
switch(config)# no poweroff module 1
switch(config)# copy running-config startup-config

Configuring the LEM in 40G Mode

Procedure

  Command or Action Purpose

Step 1

switch# configure terminal

Enters global configuration mode.

Step 2

switch(config)# no interface breakout slot slot port port-range map 10g-4x

Configures the breakout for an interface.

slot —valid values are 1 to 8.

port-range —valid values are 1 to 12.

Example

This example shows how to configure a Linecard Expansion Module (LEM) in 40G mode.

switch# configure terminal
switch(config)# no interface breakout slot 1 port 1-12 map 10g-4x
switch(config)# copy running-config startup-config

Selecting the Fabric Mode

Procedure

  Command or Action Purpose

Step 1

switch# configure terminal

Enters global configuration mode.

Step 2

switch(config)# fabric-mode {10g | 40g}

Selects the fabric mode.

10g —Runs the cross bar in 10G mode.

40g —Runs the cross bar in 40G mode.

Step 3

(Optional) switch(config)# copy running-config startup-config

(Optional)

Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration.

Example

This example shows how to select a fabric mode of 10G.

switch# configure terminal
switch(config)# fabric-mode 10g
switch(config)# copy running-config startup-config

This example shows how to select a fabric mode of 40G.

switch# configure terminal
switch(config)# fabric-mode 40g
switch(config)# copy running-config startup-config

What to do next

When changing the fabric mode, the system must be rebooted for the new mode to take effect.

Verifying the LEM Mode Configuration

Use one of the following commands to verify the configuration:

Command

Purpose

show interface eth1/2 capabilities

Displays information about the interface configuration.

show interface brief

Displays a brief summary of the interface configuration.