vMX
vMX

vMX - VRF Configuration

‎11-07-2019 06:52 PM

Hi All,

 

Can someone post a basic VRF configuration?

 

I know vrf-lite well enough but i'm trying to learn more, so if someone could post a pair of VMX's with VRFs configuration so I can pick it apart, that would help a lot Smiley Very Happy 

2 REPLIES 2
vMX

Re: vMX - VRF Configuration

‎11-08-2019 07:09 AM

Very basic configuration from VRF below. But you would also need your IGP, MP-BGP, MPLS running to make it work 

 

labroot@planet> show configuration logical-systems r1 routing-instances
test {
instance-type vrf;
interface lo0.11;
interface ge-0/0/0.11;
route-distinguisher 1.1.1.1:1;
vrf-target target:1:1;
vrf-table-label;
routing-options {
static {
route 0.0.0.0/0 reject;
}
}
}


labroot@planet> show configuration logical-systems r5 routing-instances
test {
instance-type vrf;
interface lo0.55;
interface ge-0/0/0.55;
route-distinguisher 5.5.5.5:1;
vrf-export vrf-export-default;
vrf-table-label;
routing-options {
static {
route 0.0.0.0/0 reject;
}
}
}


Mengzhe Hu
JNCIE x 3 (SP DC ENT)
vMX

Re: vMX - VRF Configuration

‎11-08-2019 11:20 AM

hello