Set Port Native VLAN on a Brocade Switch

As I find it a very unintuitive way to set the "Port Native VLAN" on a Brocade switch, I just want to share this with the world. And this is how to set the "Port Native VLAN" on an interface:

interface ethernet <your interface>
  dual-mode <native vlan>

If you don't specify <native vlan> then the default VLAN (usually 1) is chosen.

You've successfully subscribed to Tobias Brunner aka tobru
Great! Next, complete checkout to get full access to all premium content.
Error! Could not sign up. invalid link.
Welcome back! You've successfully signed in.
Error! Could not sign in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.