Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with HPE FF 5700 and Vlans

bkeaver
Occasional Visitor

Need help with HPE FF 5700 and Vlans

Having issue and I'm not super familliar with the command format of this switch. I am trying to isolate port 1/0/17 to 1/0/19 to vlan 50 only. I do not want Vlan 1  or any other vlan to communicate to these ports at all other than VLan 50. 

How do I accomplish this. right now if I display the port trunk i get

[HPE-Ten-GigabitEthernet1/0/17]display port trunk
Interface                 PVID              VLAN Passing
XGE1/0/17                 1                          1, 50

 

3 REPLIES
johnk3r
Respected Contributor

Re: Need help with HPE FF 5700 and Vlans

 

port link-type access
port access vlan 50

 

Perform the above configuration in the mentioned interfaces .... and validate

 

**************************************
ATP FLEXNETWORK V3 | ACSA
sdide
Respected Contributor

Re: Need help with HPE FF 5700 and Vlans

Depending on if you need vlan 50 content tagged with vlan 50, or you need them as access ports (untagged).

If its tagged, you need (vlan 1 is default on, so you need to explicitly remove it):

port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 50

if its untagged (an access port), you need:

port access vlan 50

Regards

 

Søren Dideriksen, Network Administrator
Region Midtjylland
VoIP-Buddy
Trusted Contributor

Re: Need help with HPE FF 5700 and Vlans

Comware also has an Interface Range command so that you can do the same config on more than one port at the same time.   For example:

interface range ten 1/0/17 to ten 1/0/19

Then use any interface commands that you want duplicated on all of the range ports.  You can also name a range and I believe that they can stick around so you can reuse them.

David