IP Management for In-Band Management
  • 10 Jul 2024
  • 1 Minute to read
  • Contributors
  • PDF

IP Management for In-Band Management

  • PDF

Article summary

Configuring IP address for an Interface


Configuring IP address for an Interface configures the IP address which will be used for sending and receiving the packets.


Note: To log in, enter your username (default is root) and password (default is admin123).

  1. Execute the following commands to configure an IP address for a VLAN interface. Enter the Global Configuration mode:
Your Product# configure terminal

Enter the Interface Configuration mode.

Your Product(config)# interface vlan 1

Shut down the VLAN interface.

Your Product(config-if)# shutdown

Configure the IP address and subnet mask.

Your Product(config-if)# ip address 10.0.0.100 255.0.0.0

Bring up the VLAN interface.

Your Product(config-if)#no shutdown

Exit from the Interface Configuration mode.

Your Product(config)#end

Configuring the IP address for an Interface requires the interface to be shutdown prior to the configuration.

  1. View the configured interface IP address by executing the following show command:
Your Product# show ip interface

Configuring an Interface to Acquire Dynamic IP


An interface can be configured to acquire the dynamic IP address either from DHCP or from RARP. The default value is DHCP.

  1. Execute the following commands to acquire dynamic IP for VLAN 1 through DHCP. Enter the Global Configuration mode:
Your Product# configure terminal

Enter the Interface Configuration mode.

Your Product(config)# interface vlan 1

Configure the VLAN interface to dynamically acquire an IP address through the Dynamic Host Configuration Protocol

Your Product(config-if)#ip address dhcp

Exit from configuration mode.

Your Product(config)#end
  1. View the configured IP address by executing the following show command:
Your Product# show ip interface


Note: A DHCP server must exist in the network to allocate dynamic IP through DHCP mechanism.

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.