02-15-2017 05:03 AM - edited 03-01-2019 01:04 PM
hello,
I have 2 fabrics and i would like to know how I can configure a port via cli, change the state from down to up or add and IP.
Thanks.
Solved! Go to Solution.
02-15-2017 05:07 AM
Hello,
Here is the CLI Config Guide for UCS:
http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/cli/config/guide/2-2/b_UCSM_CLI_Configuration_Guide_2_2/b_UCSM_CLI_Configuration_Guide_2_2_chapter_0110.html#concept_0249934662D1439AA5E926A503AC8B4B
HTH,
Wes
02-15-2017 10:28 AM
#scope eth-server
#scope fabric a/b
#scope interface 1 31 (equivalent of eth 1/31, and note there is a space between 1 and 31)
#disable (or enable)
#commit-buffer
If the port is part of a port channel then you will need to first scope into the port channel:
#scope port-channel 50
#enter member-port 1 17
FI-A /eth-uplink/fabric/port-channel/member-port # enable/disable
FI-A /eth-uplink/fabric/port-channel/member-port #commit-buffer
Thanks,
Kirk
02-15-2017 05:07 AM
Hello,
Here is the CLI Config Guide for UCS:
http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/cli/config/guide/2-2/b_UCSM_CLI_Configuration_Guide_2_2/b_UCSM_CLI_Configuration_Guide_2_2_chapter_0110.html#concept_0249934662D1439AA5E926A503AC8B4B
HTH,
Wes
02-15-2017 07:05 AM
Hello Wesley,
Thanks for the link, but what I cant find is how from the CLI I can shutdown or enable a interface.
Thanks.
02-15-2017 10:28 AM
#scope eth-server
#scope fabric a/b
#scope interface 1 31 (equivalent of eth 1/31, and note there is a space between 1 and 31)
#disable (or enable)
#commit-buffer
If the port is part of a port channel then you will need to first scope into the port channel:
#scope port-channel 50
#enter member-port 1 17
FI-A /eth-uplink/fabric/port-channel/member-port # enable/disable
FI-A /eth-uplink/fabric/port-channel/member-port #commit-buffer
Thanks,
Kirk
02-15-2017 10:28 AM
You can also use:
#scope eth-uplink
#scope fabric a|b
#scope port-channel X
HTH,
Wes
02-15-2017 12:03 PM
Thanks to both!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide