For system management, you must assign an IP address on the active management port. If the active management module becomes unavailable and the redundant module becomes the active module, the IP address is automatically assigned to the new active management module.
For example, to assign the IP address 10.0.1.1 to the management module, use these steps.
device# enable
device# erase startup-config
After entering this command, perform a reload on the system.
Caution
Use the erase startup-config command only for new systems. If you enter this command on a system you have already configured, the command erases the configuration. If you accidentally do erase the configuration on a configured system, enter the write memory command to save the running configuration to the startup-config file.device# configure terminal device(config)#
device(config)# interface management 1 device(config-if-mgmt-1)# ip address 10.0.1.1/24
device(config)# enable strict-password-enforcement
device(config)# crypto key generate
device(config)# aaa authentication login default method-list device(config)# aaa authentication login privilege-mode
device(config)# username id password
(Enter new password:)********