cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13253
Views
0
Helpful
4
Replies

how to clear a trunk port

axfalk
Level 1
Level 1

I am trying to clear a trunk port on cat-6506, however the "clear trunk" command that I have put into the config is followed by the original "set trunk" command. As a result, the port is still a trunk port. Do I need to remove the original "set trunk" command from the config?

thanks.

4 Replies 4

nmackovski
Level 1
Level 1

To turn off trunking on a port, perform this task in privileged mode.

1) Turn off trunking on a port:

>set trunk mod/port off

2) Verify the trunking configuration:

>show trunk [mod/port]

To return a port to the default trunk type and mode for that port type, perform this task in privileged mode.

1) Return the port to the default trunking type and mode for that port type:

>clear trunk mod/port

2) Verify the trunking configuration:

>show trunk [mod/port]

I hope this helps.

cheers,

Nick

Nick,

Thanks for your help - it makes lots of sense. Unfortunately, I was focusing on getting the "clear trunk" command to work as opposed to "set trunk off". How do I now delete the "clear trunk" command from the Cat-6506 switch? Thanks again.

To delete the "clear trunk" command from your config, you need to restore the VLANs that were removed when you issued the "clear trunk" command.

Use the "set trunk mod/port vlans" command to restore the VLANs. Then, the "clear trunk" command will disappear from your config.

cheers,

Nick

Thanks for your response. Just one more question, please. I had a trunk port that I used the "clear trunk 2/34 1-1005,1025-4094" command to try to change it to a bridge port. I subsequently used the "set trunk off dot1q" command and it worked. The port now is a bridge port and has only one VLAN on it. If I use the "set trunk 2/34 1-1005,1025-4094" command on it again, would not it set the port back to the trunk mode? Thanks again.