cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
141
Views
0
Helpful
1
Replies

APIC CIMC IP Adresse change with cli possible ?

georg-seidl
Level 1
Level 1

Hi,

can i change the ip adress settings of an apic cimc in the cimc cli or apic cli?

At the moment i have only next hop access via ssh.

Best regards

Georg

 

1 Accepted Solution

Accepted Solutions

AshSe
Level 3
Level 3

Hi @georg-seidl 

Yes, you can change the IP address settings of a Cisco Application Policy Infrastructure Controller (APIC) CIMC (Cisco Integrated Management Controller) through the CIMC CLI. However, you cannot change these settings directly through the APIC CLI.

Here are the steps to change the IP address settings using the CIMC CLI:

  1. Access the CIMC CLI:

    1. Connect to the CIMC CLI via SSH or through the console port.
  2. Log in to the CIMC:

    1. Use your CIMC username and password to log in.
  3. Enter the required commands to change the IP address:

    • To configure the IP address, subnet mask, and gateway, you can use the following commands:

       
      scope eth0
      set ip <new-ip-address>
      set netmask <new-subnet-mask>
      set gateway <new-gateway> commit
       
    • For example, if you want to set the IP address to 192.168.1.100, the subnet mask to 255.255.255.0, and the gateway to 192.168.1.1, you would enter:

       
      scope eth0
      set ip 192.168.1.100
      set netmask 255.255.255.0
      set gateway 192.168.1.1 commit
       
  4. Verify the configuration:

    • You can verify the new settings by using the show command within the scope eth0context.

       
      show detail
       
  5. Exit the CIMC CLI:

    • After making the changes, you can exit the CIMC CLI by typing exit.

Remember to ensure that the new IP address settings do not conflict with any existing network configurations and that they are within the correct subnet range for your network.

View solution in original post

1 Reply 1

AshSe
Level 3
Level 3

Hi @georg-seidl 

Yes, you can change the IP address settings of a Cisco Application Policy Infrastructure Controller (APIC) CIMC (Cisco Integrated Management Controller) through the CIMC CLI. However, you cannot change these settings directly through the APIC CLI.

Here are the steps to change the IP address settings using the CIMC CLI:

  1. Access the CIMC CLI:

    1. Connect to the CIMC CLI via SSH or through the console port.
  2. Log in to the CIMC:

    1. Use your CIMC username and password to log in.
  3. Enter the required commands to change the IP address:

    • To configure the IP address, subnet mask, and gateway, you can use the following commands:

       
      scope eth0
      set ip <new-ip-address>
      set netmask <new-subnet-mask>
      set gateway <new-gateway> commit
       
    • For example, if you want to set the IP address to 192.168.1.100, the subnet mask to 255.255.255.0, and the gateway to 192.168.1.1, you would enter:

       
      scope eth0
      set ip 192.168.1.100
      set netmask 255.255.255.0
      set gateway 192.168.1.1 commit
       
  4. Verify the configuration:

    • You can verify the new settings by using the show command within the scope eth0context.

       
      show detail
       
  5. Exit the CIMC CLI:

    • After making the changes, you can exit the CIMC CLI by typing exit.

Remember to ensure that the new IP address settings do not conflict with any existing network configurations and that they are within the correct subnet range for your network.

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License