Cisco UCS 6120 Management IP Change

A few days ago when I was in the process of replacing a 6120 switch in our UCS environment. At one point I had to boot the new switch with a different IP address and update the firmware. At the time I could not find the syntax to change the IP to its permanenet one via the CLI.

Instead, I just erased the configuration (needed to pull the permanent config from the cluster anyways) and rebooted the unit. This took ~15 minutes to reset and re-configure the management interface.

I was able to find the process in a Cisco document (Linked to PDF below) and tested it on another switch.

First, connect into the Command Line Interface (CLI) of the 6120.

Change the “scope” to match the 6120 that you want to modify. We will be working with 6120 / fabric-interconnect a.

New6120-A# scope fabric-interconnect a

IP information is changed using the “set” command. It is as easy as below

New6120-A /fabric-interconnect # set out-of-band ip 172.16.0.67 netmask 255.255.255.0 gw 172.16.0.1
Warning: When committed, this change may disconnect the current CLI session

Once you have made the changes, “commit-buffer” must be executed to activate the changes

New6120-A /fabric-interconnect* # commit-buffer

The following is from a continuous ping that was running from a local machine. Pings started completing immediately after the changes were committed.

Request timed out.
Request timed out.
Request timed out.
Request timed out.
Reply from 172.16.0.67: bytes=32 time=5ms TTL=63
Reply from 172.16.0.67: bytes=32 time=1ms TTL=63
Reply from 172.16.0.67: bytes=32 time<1ms TTL=63
Reply from 172.16.0.67: bytes=32 time=4ms TTL=63

This process can be referenced in Cisco’s official documentation (Large PDF) linked below.
Page 55 in UCS CLI Configuration Guide 1.3.1

Follow me on Twitter

Advertisement

~ by Kevin Goodman on August 2, 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

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 )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 1,031 other followers