IP Management on Management Port
  • 10 Jul 2024
  • 2 Minutes to read
  • Contributors
  • PDF

IP Management on Management Port

  • PDF

Article summary

Configuring the Default IP Address


Configuring the Default IP Address will result in the IP address to be written to the NVRAM and this will be used as the IP address of the default interface when the switch is restarted.


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

  1. Execute the following commands to configure the Default IP Address. Enter the Global Configuration mode:
Your Product# configure terminal

Configure the default IP address and subnet mask as 10.0.0.100 and 255.255.0.0, respectively.

Your Product(config)# default ip address 10.0.0.100 subnet-mask 255.255.0.0

Exit from the Global Configuration mode.

Your Product(config)#end
  1. View the default IP address and subnet mask by executing the following command.
Your Product# show nvram


Note: VLAN 1 (default VLAN) will have this IP address and subnet mask after the switch restart only if the allocation method is manual.

Setting the Default IP Allocation Mode for the Switch


Setting the default IP allocation mode for the Switch configures the mode by which the default interface acquires its IP address. The default IP allocation mode for a switch can be manual or dynamic. The default value is manual.

  1. Execute the following commands to change the default IP allocation mode of the default VLAN. Enter the Global Configuration mode:
Your Product# configure terminal

Configure the default mode to dynamic

Your Product(config)# default mode dynamic

Exit from the Global Configuration mode.

Your Product(config)#end
  1. View the default mode by executing the following command.
Your Product# show nvram


Note: Provider Connectivity Assurance Sensor F100 and F25 use the dynamic address allocation protocols - BOOTP or DHCP or RARP - to acquire the IP for management VLAN during switch restart.

Configuring Default IP Address Allocation Protocol


Configuring the default IP address allocation protocol configures the protocol by which the default interface dynamically acquires its IP address.

  1. Execute the following commands to configure the default dynamic address allocation protocol. Enter the Global Configuration mode:
Your Product# configure terminal

Configure the default allocation protocol.

Your Product(config)# default ip address allocation protocol dhcp

Exit from the Global Configuration mode.

Your Product(config)#end

View the default IP Address Allocation Protocol by executing the following command

Your Product# show nvram

© 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.