The Cisco UCS Command Line: Creating “Server” & “Uplink” Ports From Your Command Center

By August 12, 2011Cisco, How To

Using the command line on the UCS fabric interconnects is a bit different than your standard IOS or NXOS command line. I had the opportunity to configure a new UCS system from the console and wanted to share the experience with our subscribers. The configuration snippets below highlight the steps you would take to get through your initial configurations.

1. Create “Server Ports” on ports 5, 6, 7, 8 on Fabric Interconnect A:

[image size=”medium” align=”center”]http://www.integrateddatastorage.com/wp-content/uploads/2011/08/Paul-Just-Image-1.png[/image]

A couple of notes – You have to scope to “eth-server” in order to configure Server Ports. After each create command, the CLI puts an asterisk on the command line. That means there is a transaction that needs to be committed to the system configuration. The Server Port will not be created until you use the “commit-buffer” command.

2. Create “Uplink Ports” on ports 1 & 2 and set them to 1 Gbps on Fabric Interconnect A:

[image align=”center”]http://www.integrateddatastorage.com/wp-content/uploads/2011/08/Paul-Just-Image-2.png[/image]

Note – you need to scope into “eth-uplink”, to create the Uplink Ports.

3. Create “Uplink Ethernet Port Channel” named portchannel1 on Fabric Interconnect A:

[image align=”center”]http://www.integrateddatastorage.com/wp-content/uploads/2011/08/Paul-Just-Image-3.png[/image]

Note – still scoped into “eth-uplink”.

4. Add “Uplink Ports” to “Uplink Ethernet Port Channel” named portchannel1 on Fabric Interconnect A:

[image align=”center”]http://www.integrateddatastorage.com/wp-content/uploads/2011/08/Paul-Just-Image-4.png[/image]

Note – scoped into “port-channel 1” to add the Uplinks Ports.

5. Verify portchannel1 is operational on Fabric Interconnect A:

[image align=”center”]http://www.integrateddatastorage.com/wp-content/uploads/2011/08/Paul-Just-Image-5.png[/image]

And wah-lah: now you have successfully created “Server” and “Uplink” ports using the Cisco UCS Command Line from your own “command center”. If you have any further questions or want to learn more please email me: pjust@idstorage.com.

Photo Credit: soundman1024