05-20-2011 06:27 AM - edited 05-20-2011 06:29 AM
Hi,
I am new in Junos and I would like to configure my router.
Router : Juniper MX240
Switches : EX3200
JUNOS VERSION : 10.4
Here the topology :

I found the configuration for the EX but for the Router I don't how can I configure the VLAN and how can I tag them ?
Thanks for your help.
05-20-2011 07:45 AM
Hello,
First you'll have to configure your interfaces, if you use MPC cards it should look somenting like this:
interfaces {
ae0 {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 10 {
encapsulation vlan-bridge;
vlan-id 10;
}
unit 30 {
encapsulation vlan-bridge;
vlan-id 30;
}
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
}
interfaces {
ae1 {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 10 {
encapsulation vlan-bridge;
vlan-id 10;
}
unit 30 {
encapsulation vlan-bridge;
vlan-id 30;
}
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
}
Next you'll have to configure the bridge domain:
bridge-domains {
vlan10 {
domain-type bridge;
vlan-id 10;
interface ae0.10;
interface ae1.10;
}
vlan30 {
domain-type bridge;
vlan-id 30;
interface ae0.30;
interface ae1.30;
}
vlan100 {
domain-type bridge;
vlan-id 100;
interface ae0.100;
interface ae1.100;
}
}
In your topology you'll have to use some *STP protocols, otherwise you'll create a loop...
protocols {
mstp {
configuration-name Core_Network;
revision-level 1;
interface ae0;
interface ae1;
msti 1 {
vlan 10;
}
msti 2 {
vlan 30;
}
msti 3 {
vlan 100;
}
}
If you need IRB(alias Cisco SVI) you can configure the "routing-interface" under bridge domain.
It's may read the following:
05-24-2011 03:32 AM
Thanks.
I am gonna try.