HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.