Comware Based
1753297 Members
6780 Online
108792 Solutions
New Discussion

Re: HP 5900 port trunk permit adds vlan 1

 
SOLVED
Go to solution
MikeFriberg
Visitor

HP 5900 port trunk permit adds vlan 1

I have an HP 5900 switch and i'm trying to create a trunk link and only want it to have vlans 5, 6 & 7, but whether I apply this via a config file or the cli, vlan 1 is always included. Is this expected behaviour?

 

Here is the config i'm using:

#

interface Ten-GigabitEthernet1/0/47
port link-mode bridge
port link-type trunk
port trunk permit vlan 5 to 7
port trunk pvid vlan 5
#

 

but this is what shows up in the running-config:

#

interface Ten-GigabitEthernet1/0/47
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 5 to 7
#

3 REPLIES 3
EricAtHP
Esteemed Contributor
Solution

Re: HP 5900 port trunk permit adds vlan 1

Yes that is normal / default. You can remove vlan 1 with: "undo port trunk permit vlan 1".

 

MikeFriberg
Visitor

Re: HP 5900 port trunk permit adds vlan 1

I tried that from the cli and that works - thank you.

 

I will test it out in a config, but I assume I simply need to add the same statement?

EricAtHP
Esteemed Contributor

Re: HP 5900 port trunk permit adds vlan 1

Yes. You can always do a "display current" after making the change to see what the config looks like. Another nice feature of comware is the "display this" command from an interesting context. For example, if you are in the interface config context and enter "dis this" you will see the config for that interface.