Skip to end of metadata
Go to start of metadata
|
|
---|
| |
|
jcluser@vMX-0> show configuration routing-instances
sv1 {
instance-type virtual-switch;
bridge-domains {
sv1-bd1 {
domain-type bridge;
vlan-id 20;
interface ge-0/0/3.0;
interface ge-0/0/4.0;
routing-interface irb.0;
}
}
}
jcluser@vMX-0> show configuration interfaces
ge-0/0/3 {
encapsulation ethernet-bridge;
unit 0 {
family bridge {
vlan-id 20;
}
}
}
ge-0/0/4 {
encapsulation ethernet-bridge;
unit 0 {
family bridge {
vlan-id 20;
}
}
}
fxp0 {
unit 0 {
family inet {
address 100.123.1.0/16;
}
}
}
irb {
unit 0 {
family inet {
address 10.0.1.2/24;
}
}
}
#Interfaces
set interfaces ge-0/0/3 encapsulation ethernet-bridge
set interfaces ge-0/0/3 unit 0 family bridge vlan-id 20
set interfaces ge-0/0/4 encapsulation ethernet-bridge
set interfaces ge-0/0/4 unit 0 family bridge vlan-id 20
set interfaces irb unit 0 family inet address 10.0.1.2/24
#virtual-switch
set routing-instances sv1 instance-type virtual-switch
set routing-instances sv1 bridge-domains sv1-bd1 domain-type bridge
set routing-instances sv1 bridge-domains sv1-bd1 vlan-id 20
set routing-instances sv1 bridge-domains sv1-bd1 interface ge-0/0/3.0
set routing-instances sv1 bridge-domains sv1-bd1 interface ge-0/0/4.0
set routing-instances sv1 bridge-domains sv1-bd1 routing-interface irb.0
|
|
#interface
set interfaces ge-0/0/3 unit 0 family inet address 10.0.1.3/24
set interfaces ge-0/0/3 unit 0 family inet address 10.0.1.3/24 vrrp-group 120 virtual-address 10.0.1.1
#virtual-router
set routing-instances vr1 instance-type virtual-router
set routing-instances vr1 interface ge-0/0/3.0
|
|
#interface
set interfaces ge-0/0/4 unit 0 family inet address 10.0.1.4/24
set interfaces ge-0/0/4 unit 0 family inet address 10.0.1.4/24 vrrp-group 120 virtual-address 10.0.1.1
#virtual-router
set routing-instances vr1 instance-type virtual-router
set routing-instances vr1 interface ge-0/0/4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|