2

I have HP 5500 L3 switch. I wanted to delete the particular port configuration and wanted to reconfigure it.

Since the command set is different from Cisco, can anyone help me?

  • One more thing I want to add, currently that port is configured as trunk port. I want to change it into the access port. It is possible to convert trunk port to access port without restarting the switch.??? – Nishad Morey Mar 16 '16 at 8:37
  • use the help facility. the change you want to make is to the interface - you want to change the interface type. – Ron Royston May 14 '16 at 0:47
1

With later versions of ComWare you can use the default command on an interface.

interface GigabitEthernet1/0/1
[HP-GigabitEthernet1/0/1]default
This command will restore the default settings. Continue? [Y/N]:y

It should clear the port back to just port link-mode bridge.

If you have an older version of the OS you will need to use the undo command and negate the previous settings as the other guys mentioned.

Hope this helps you on your quest.

SleepyMan

  • Issue get resolved. undo port trunk this command work for me. – Nishad Morey Jun 15 '16 at 11:46
0

actually I've got HP switches 2600 series and after writing "erase" and clicking "tab" button I see choices which I can make: erase config, flash, or start-up config.

But to erase configuration for only one port what about deleting this port (if it's logical only) and write setting again?

And I don't understand why you cannot try specific commands which you would like to erase with "no" commands: like "no ip address" or "no auto-detect".

Last method is most common. Unfortunnatelly no L3 swtich is close to me.

  • no ip address and no auto detect command hardly work with Comos 5. I have search on net but didn't find anything. – Nishad Morey Mar 14 '16 at 15:59
  • 1
    I don't remember Comware (5500) commands just offhand, but you negate command with "undo". With Procurve (2600) it's "no"... so for example if you add a tagged port to VLAN with "vlan 10 tagged 12" you negate it with "no vlan 10 tagged 12". Comware works the same way - "command" vs "undo command". Check the CLI references for details. – Peregrino69 Mar 14 '16 at 16:03
  • I know that "no ip address" or "no auto-detect"." is not for this device, I only wanted to say that you can negate commands with "no" word guys – Paweł Borowski Mar 14 '16 at 17:07
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 7 '17 at 21:23
0

Try "Undo"

for example: while in the Gigabitethernet interface# Undo port access

-1

you can also change the port type to port link-mode route and back to port link-mode bridge and the port will be in its default state

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.