Resetting the Broadcom IP switch to factory defaults
Before installing a new switch software version and RCFs, you must erase the Broadcom switch settings and perform basic configuration.
About this task
You must repeat these steps on each of the IP switches in the MetroCluster IP configuration.
You must be connected to the switch using the serial console.
This task resets the configuration of the management network.
- Change to the elevated command prompt (#): enable
Example
(Routing)> enable
(Routing) # - Erase the startup configuration: erase startup-config
Example
(Routing) #erase startup-config
Are you sure you want to clear the configuration? (y/n) y
(Routing) #This command does not erase the banner.
- Reboot the switch: reload
Example
(IP_switch_A_1) #reload
Are you sure you would like to reset the system? (y/n) yNoteIf the system asks whether to save the unsaved or changed configuration before reloading the switch, selectNo. - Wait for the switch to reload, and then log in to the switch.
The default user is
admin
, and no password is set. A prompt similar to the following is displayed:Example
(Routing)>
- Change to the elevated command prompt: enable
Example
Routing)> enable
(Routing) # - Set the serviceport protocol to none: serviceport protocol none
Example
(Routing) #serviceport protocol none
Changing protocol mode will reset ip configuration.
Are you sure you want to continue? (y/n) y
(Routing) # - Assign the IP address to the service port: serviceport ip ip-address netmask gateway
Example
The following example shows a service port assigned IP address 10.10.10.10 with subnet 255.255.255.0 and gateway 10.10.10.1:
(Routing) #serviceport ip 10.10.10.10 255.255.255.0 10.10.10.1
- Verify that the service port is correctly configured: show serviceport
Example
The following example shows that the port is up and the correct addresses have been assigned:
(Routing) #show serviceport
Interface Status............................... Up
IP Address..................................... 10.10.10.10
Subnet Mask.................................... 255.255.255.0
Default Gateway................................ 10.10.10.1
IPv6 Administrative Mode....................... Enabled
IPv6 Prefix is ................................ fe80::dac4:97ff:fe56:87d7/64
IPv6 Default Router............................ fe80::222:bdff:fef8:19ff
Configured IPv4 Protocol....................... None
Configured IPv6 Protocol....................... None
IPv6 AutoConfig Mode........................... Disabled
Burned In MAC Address.......................... D8:C4:97:56:87:D7
(Routing) # - If desired, configure the SSH server.NoteThe RCF file disables the Telnet protocol. If you do not configure the SSH server, you can only access the bridge using the serial port connection.
- Generate RSA keys.
(Routing) #configure
(Routing) (Config)#crypto key generate rsa - Generate DSA keys.
(Routing) #configure
(Routing) (Config)#crypto key generate dsa - Enable the SSH server.If necessary, exit the configuration context.
(Routing) (Config)#end
(Routing) #ip ssh server enableNoteIf keys already exist, then you might be asked to overwrite them.
- Generate RSA keys.
- If desired, configure the domain and name server: configure
Example
The following example shows the ip domain and ip name server commands:
(Routing) # configure
(Routing) (Config)#ip domain name labs.Lenovo.com
(Routing) (Config)#ip name server 10.99.99.1 10.99.99.2
(Routing) (Config)#exit
(Routing) (Config)# - If desired, configure the time zone and time synchronization (SNTP).
Example
The following example shows the sntp commands, specifying the IP address of the SNTP server and the relative timezone.
(Routing) #
(Routing) (Config)#sntp client mode unicast
(Routing) (Config)#sntp server 10.99.99.5
(Routing) (Config)#clock timezone -7
(Routing) (Config)#exit
(Routing) (Config)# - Configure the switch name: hostname IP_switch_A_1
Example
The switch prompt will display the new name:
(Routing) # hostname IP_switch_A_1
(IP_switch_A_1) # - Save the configuration: write memory
Example
You receive prompts and output similar to the following example:
(IP_switch_A_1) #write memory
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
Config file 'startup-config' created successfully .
Configuration Saved!
(IP_switch_A_1) # - Repeat the previous steps on the other three switches in the MetroCluster IP configuration.