Configuring a Routing Policy for MPLS Layer 3 VPNs (CLI Procedure)
To configure a Layer 3 VPN routing policy on a CE router:
Configure the routing policy for the loopback interface.
[edit]user@host# edit policy-options policy-statement policy-nameDefine the term for accepting packets.
[edit policy-options policy-statement policy-name]user@host# set term term-name-accept from protocol direct route-filter local-loopback-address/netmask exactuser@host# set termterm-name-accept then acceptDefine the term for rejecting packets.
[edit policy-options policy-statement policy-name]user@host# set termterm-name-reject then rejectCommit the configuration if you are finished configuring the device.
[edit]user@host# commit
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- MPLS Layer 3 VPN Configuration Overview
Hide Navigation Pane
Show Navigation Pane
Download
SHA1