Cisco UCS 6248 Unified Port Configuration

One of the exciting new updates from Cisco recently is the 2nd generation UCS hardware.

UCS gen 2 hardware included updated:

  1. Fabric Interconnect – 6248s
  2. Fabric Extender – 2208
  3. Mezzanine Adapter – VIC 1280

For details on the new hardware check out Sean McGee’s post – http://www.mseanmcgee.com/2011/07/ucs-2-0-cisco-stacks-the-deck-in-las-vegas/

This post will focus on configuration of Unified Ports that are part of the 6248 hardware. As with most hardware/software capabilities of the Fabric Interconnects, Unified Ports came from the Cisco Nexus 5500 line that has been around for about a year now.

Unified Ports, or UP, gives the ability to configure any of the 32 fixed ports or 16 ports on the expansion module as either 1G, 10G Ethernet or 4G, 8G Fiber Channel. All that it is required is that you have the correct SFP needed for the specific port type.

When I first heard about Unified Ports I thought that the port type was automatically configured based on the SFP that was inserted. After some research I realized that this is not the case.

When I first rebuilt our UCS lab with 6248s they were still on beta code as the new hardware and firmware 2.0 had not been release yet. The configuration guides were not available so it took me a while to figure out how to configure a port to be an uplink FC port.

I finally found the new Unified Ports wizard that is located on the Fabric Interconnect General tab. Here is a screen shot with the “Configure Unified Ports” action highlighted.

image

When you click the Configure Unified Ports action this message pops up

image

I guess this is why the ports are not automatically configured based on the type of SFP inserted. That would be dangerous.

When you click Yes the Configure Unified Ports window appears.

image

At first this interface was very confusing and it is hard to read the key at the bottom due to the light green color of the port type. I didn’t even see the slider bar so I was trying to right-click on the ports to configure them.

When I did finally see the slider I understood how to configure the ports.

The window has 2 buttons at the bottom for configuring the 32 fixed ports and another for configuring the 16 expansion ports.

By default the slider is in the right most position. In this position all of the ports are in the Unconfigured Ethernet mode.

In my environment I wanted ports 9-16 on the expansion module to be FC and the rest to be Ethernet.

To accomplish this I went to the expansion module page and dragged the slider to the middle.

image

WARNING****If there is a change to the port mode of any of the ports on the fixed module (first 32 ports) and you click finish the Fabric Interconnect will reboot. If there is a change to just the expansion module only that module is reset.

It is best if you can decide up front which ports you want as Ethernet and which ports you want as FC so that you do not have a disruption.

I recommend start Ethernet from left to right and FC from right to left. This usually means that you only need to change the expansion module configuration.

About these ads

10 thoughts on “Cisco UCS 6248 Unified Port Configuration

  1. Spot on. Nice Job. The feature is nice, but the slider screen lacks for intuitiveness for sure….

  2. http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/gui/config/guide/2.0/b_UCSM_GUI_Configuration_Guide_2_0_chapter_0101.html

    Configuring Port Modes for a 6296 Fabric Interconnect

    Caution

    Changing the port mode on either module can cause an interruption in data traffic because changes to the fixed module require a reboot of the fabric interconnect and changes on an expansion module require a reboot of that module.

    If the Cisco UCS domain has a cluster configuration that is set up for high availability and servers with service profiles that are configured for failover, traffic fails over to the other fabric interconnect and data traffic is not interrupted when the port mode is changed on the fixed module.
    Procedure

    Step 1 In the Navigation pane, click the Equipment tab.
    Step 2 On the Equipment tab, expand Equipment > Fabric Interconnects > Fabric_Interconnect_Name.
    Step 3 In the Work pane, click the General tab.
    Step 4 In the Actions area of the General tab, click Configure Unified Ports.
    Step 5 Review the confirmation message and click one of the following:

    Yes—To open the Configure Unified Ports wizard and continue with configuring the port mode.
    No—To exit without configuring the port mode and wait for an appropriate maintenance window.

    Step 6 On the Configure Fixed Module Ports page, do the following:

    Use your mouse to drag the slider along the bar until the displays shows the port mode configuration that you want for the fixed module.
    If you want to configure the port type for a port, right-click on any port in the module display above the slider and configure that port for an available port type.
    Do one of the following:
    Click Next to configure the port mode for ports in expansion module 1.
    If you do not wish to configure the port mode for ports on the expansion modules, continue with Step 9.

    If you change the port mode for a previously configured port, the port returns to an unconfigured state.
    Step 7 On the Configure Expansion Module 1 Ports page, do the following:

    Use your mouse to drag the slider along the bar until the displays shows the port mode configuration that you want for the expansion module.
    If you want to configure the port type for a port, right-click on any port in the module display above the slider and configure that port for an available port type.
    Do one of the following:
    Click Next to configure the port mode for ports in expansion module 2.
    If you do not wish to configure the port mode for ports on the remaining expansion modules, continue with Step 9.

    If you change the port mode for a previously configured port, the port returns to an unconfigured state.
    Step 8 If you need to configure port modes for expansion module 3, repeat Step 7.
    Step 9 Click Finish to save your port mode configuration.

    Depending upon the module for which you configured the port modes, data traffic for the Cisco UCS domain is interrupted as follows:

    Fixed module—The fabric interconnect reboots. All data traffic through that fabric interconnect is interrupted. In a cluster configuration that provides high availability and includes servers with vNICs that are configured for failover, traffic fails over to the other fabric interconnect and no interruption occurs. It takes about 8 minutes for the fixed module to reboot.
    Expansion module—The module reboots. All data traffic through ports in that module is interrupted. It takes about 1 minute for the expansion module to reboot.

  3. I am not aware of a way to do this with PowerShell. Keep in mind that if you change the port mode of a port on the fixed module the switch will reboot.

  4. Hmm, that’s going to make things a little painful for me. I have a script I’m using (based off of you original script) to automate the complete configuration, post initial console setup. It seems rather strange that they wouldn’t expose this configuration with the Ps interface.

  5. This works for me…just worked it out today, using the ConvertTo-UcsCmdlet while making the change.

    Start-UcsTransaction
    Get-UcsFiSanCloud -Id “B” | Add-UcsFcUplinkPort -ModifyPresent -AdminState “enabled” -PortId 9 -SlotId 2
    Complete-UcsTransaction

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s