Ethernet Switching
Reply
Contributor
Niklas
Posts: 11
Registered: ‎10-21-2008
0

Need to merge different vlans to one

Hi,

Have an ex8202 with junos 10.3

Have three incoming trunk vlans at same interface, these should be merge and use another vlan-id.

Have tried with pvlan but could not use trunk mode.

 

Has anyone any ideas how I can solved this issue?

 

Thanks Niklas

Contributor
robert.juric
Posts: 62
Registered: ‎08-09-2010
0

Re: Need to merge different vlans to one

If you're using PVLANs, you should not need a trunk at the interface itself, but if you need to trunk the PVLANs to another switch you can use a PVLAN trunk port.

 

Pretty good explanation of PVLANs:

http://www.juniper.net/techpubs/en_US/junos10.4/topics/concept/private-vlans-ex-series.html

Visitor
shaneshort
Posts: 2
Registered: ‎03-30-2011
0

Re: Need to merge different vlans to one

[ Edited ]

I'm struggling with this one too:

 

interfaces {
ge-0/0/16 {
description dinky3
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members 2000-2099;
}
native-vlan-id 222;
}
}
}
vlan {
unit 3000 {
description "Virtual Machine";
family inet {
address x.x.x.x/30;
}
}
}
}
vlans {
Vlan2001 {
vlan-id 2001;
primary-vlan 3000;
}
Vlan3000 {
vlan-id 3000;
interface {
ge-0/0/16.0 {
pvlan-trunk;
}
}
no-local-switching;
}
}


cor1# commit check
error: Trunk port ge-0/0/16.0 cannot be made member of community vlan <Vlan2001>
error: configuration check-out failed

 

 

any ideas?

 

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.