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-40G ports that can break out into 48-10G ports per LEM. The module can be either in 10G mode or in 40G 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 two types on 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 values are 1 to 8.

    port-range—valid values are 1 to 12.

    Note   

    You can enter groups of three beginning with 1-3, 4-6, 7-9, and 10-12. You can also enter a range that includes a group of three. For example, 1-6 or 4-12. You cannot enter a port-range of 2-4 or 8-10.

     
    Step 3 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.

     

    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)# 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.

      Note   

      You can enter groups of three beginning with 1-3, 4-6, 7-9, and 10-12. You can also enter a range that includes a group of three. For example, 1-6 or 4-12. You cannot enter a port-range of 2-4 or 8-10.

       
      Step 3 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.

       

      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 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.

         

        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.