5
IBGP/LDP/MPLS
Configuration
definition
vrf definition <vrf name>
rd 1:1
address-family ipv4
route-target export 1:1
route-target import 1:1
exit
configure ip vrf <vrf name>
configure vrf <vrf name> route-
distinguisher <rd>
configure vrf <vrf name> address-family
ipv4
configure vrf <vrf name> route-target
export <rt>
configure vrf <vrf name> route-target
import <rt>
associate with the VRF
vrf forwarding casalabs
ip address <ip address>
configure interface Ethernet 6/1.1 ip
address <ip address> <mask>
configure interface Ethernet 6/1.1 ip vrf
the trunk interface
mpls ip
configure interface Ethernet 6/2 mpls ip
configure mpls ldp shutdown no