- play_arrow Overview
- play_arrow Managing Group Membership
- play_arrow Configuring IGMP and MLD
- play_arrow Configuring IGMP Snooping
- IGMP Snooping Overview
- Overview of Multicast Forwarding with IGMP Snooping or MLD Snooping in an EVPN-VXLAN Environment
- Configuring IGMP Snooping on Switches
- Example: Configuring IGMP Snooping on Switches
- Example: Configuring IGMP Snooping on EX Series Switches
- Verifying IGMP Snooping on EX Series Switches
- Changing the IGMP Snooping Group Timeout Value on Switches
- Monitoring IGMP Snooping
- Example: Configuring IGMP Snooping
- Example: Configuring IGMP Snooping on SRX Series Devices
- Configuring Point-to-Multipoint LSP with IGMP Snooping
- play_arrow Configuring MLD Snooping
- Understanding MLD Snooping
- Configuring MLD Snooping on an EX Series Switch VLAN (CLI Procedure)
- Configuring MLD Snooping on a Switch VLAN with ELS Support (CLI Procedure)
- Example: Configuring MLD Snooping on EX Series Switches
- Example: Configuring MLD Snooping on SRX Series Devices
- Configuring MLD Snooping Tracing Operations on EX Series Switches (CLI Procedure)
- Configuring MLD Snooping Tracing Operations on EX Series Switch VLANs (CLI Procedure)
- Example: Configuring MLD Snooping on EX Series Switches
- Example: Configuring MLD Snooping on Switches with ELS Support
- Verifying MLD Snooping on EX Series Switches (CLI Procedure)
- Verifying MLD Snooping on Switches
- play_arrow Configuring Multicast VLAN Registration
-
- play_arrow Configuring Protocol Independent Multicast
- play_arrow Understanding PIM
- play_arrow Configuring PIM Basics
- Configuring Different PIM Modes
- Configuring Multiple Instances of PIM
- Changing the PIM Version
- Optimizing the Number of Multicast Flows on QFabric Systems
- Modifying the PIM Hello Interval
- Preserving Multicast Performance by Disabling Response to the ping Utility
- Configuring PIM Trace Options
- Configuring BFD for PIM
- Configuring BFD Authentication for PIM
- play_arrow Routing Content to Densely Clustered Receivers with PIM Dense Mode
- play_arrow Routing Content to Larger, Sparser Groups with PIM Sparse Mode
- Understanding PIM Sparse Mode
- Examples: Configuring PIM Sparse Mode
- Configuring Static RP
- Example: Configuring Anycast RP
- Configuring PIM Bootstrap Router
- Understanding PIM Auto-RP
- Configuring All PIM Anycast Non-RP Routers
- Configuring a PIM Anycast RP Router with MSDP
- Configuring Embedded RP
- Configuring PIM Filtering
- Examples: Configuring PIM RPT and SPT Cutover
- Disabling PIM
- play_arrow Configuring Designated Routers
- play_arrow Receiving Content Directly from the Source with SSM
- Understanding PIM Source-Specific Mode
- Example: Configuring Source-Specific Multicast
- Example: Configuring PIM SSM on a Network
- Example: Configuring an SSM-Only Domain
- Example: Configuring SSM Mapping
- Example: Configuring Source-Specific Multicast Groups with Any-Source Override
- Example: Configuring SSM Maps for Different Groups to Different Sources
- play_arrow Minimizing Routing State Information with Bidirectional PIM
- play_arrow Rapidly Detecting Communication Failures with PIM and the BFD Protocol
- play_arrow Configuring PIM Options
- play_arrow Verifying PIM Configurations
-
- play_arrow Configuring Multicast Routing Protocols
- play_arrow Connecting Routing Domains Using MSDP
- play_arrow Handling Session Announcements with SAP and SDP
- play_arrow Facilitating Multicast Delivery Across Unicast-Only Networks with AMT
- play_arrow Routing Content to Densely Clustered Receivers with DVMRP
-
- play_arrow General Multicast Options
- play_arrow Bit Index Explicit Replication (BIER)
- play_arrow Prevent Routing Loops with Reverse Path Forwarding
- play_arrow Use Multicast-Only Fast Reroute (MoFRR) to Minimize Packet Loss During Link Failures
- play_arrow Enable Multicast Between Layer 2 and Layer 3 Devices Using Snooping
- play_arrow Configure Multicast Routing Options
- play_arrow Controller-Based BGP Multicast Signaling
-
- play_arrow Troubleshooting
- play_arrow Knowledge Base
-
- play_arrow Configuration Statements and Operational Commands
Generating Next-Generation MVPN VRF Import and Export Policies Overview
In Junos OS, the policy module is responsible for VPN routing and forwarding (VRF) route import and export decisions. You can configure these policies explicitly, or Junos OS can generate them internally for you to reduce user-configured statements and simplify configuration. Junos OS generates all necessary policies for supporting next-generation multicast virtual private network (MVPN) import and export decisions. Some of these policies affect normal VPN unicast routes.
The system gives a name to each internal policy it creates.
The name of an internal policy starts and ends with a “__”
notation. Also the keyword internal
is added at the end
of each internal policy name. You can display these internal policies
using the show policy
command.
Policies That Support Unicast BGP-MPLS VPN Services
A Juniper Networks provider edge (PE) router requires a vrf-import
and a vrf-export policy to control unicast VPN route import and export
decisions for a VRF. You can configure these policies explicitly at
the [edit routing-instances routing-instance-name vrf-import import_policy_name]
and [edit routing-instances routing-instance-name vrf-export export_policy_name]
hierarchy
level. Alternately, you can configure only the route target for the
VRF at the [edit routing-instances routing-instance-name vrf-target]
hierarchy level, and Junos OS then generates these
policies automatically for you. Routers referenced in this topic are
shown in Understanding Next-Generation
MVPN Network Topology.
The following list identifies the automatically generated policy names and where they are applied:
Policy: vrf-import
Naming convention: __vrf-import-<routing-instance-name>-internal__
Applied to: VPN-IPv4 routes in the bgp.l3vpn.0 table
Policy: vrf-export
Naming convention: __vrf-export-<routing-instance-name>-internal__
Applied to: Local VPN routes in the <routing-instance-name>.inet.0 table
Use the show policy __vrf-import-vpna-internal__
command
to verify that Router PE1 has created the following vrf-import
and vrf-export
policies based on a vrf-target of target:10:1
. In this example, we see that the vrf-import
policy is constructed to accept a route if the route target of the
route matches target:10:1
. Similarly, a route is exported
with a route target of target:10:1
.
user@PE1> show policy __vrf-import-vpna-internal__ Policy __vrf-import-vpna-internal__: Term unnamed: from community __vrf-community-vpna-common-internal__ [target:10:1] then accept Term unnamed: then reject user@PE1> show policy __vrf-export-vpna-internal__ Policy __vrf-export-vpna-internal__: Term unnamed: then community + __vrf-community-vpna-common-internal__ [target:10:1] accept
The values in this example are as follows:
Internal import policy name: __vrf-import-vpna-internal__
Internal export policy name: __vrf-export-vpna-internal__
RT community used in both import and export policies: __vrf-community-vpna-common-internal__
RT value: target:10:1
Policies That Support Next-Generation MVPN Services
When you configure the mvpn
statement at the [edit routing-instances routing-instance-name protocols]
hierarchy level, Junos OS automatically creates
three new internal policies: one for export, one for import, and one
for handling Type 4 routes. Routers referenced in this topic are shown
in Understanding Next-Generation MVPN
Network Topology.
The following list identifies the automatically generated policy names and where they are applied:
Policy 1: This policy is used to attach rt-import
and src-as
extended communities to VPN-IPv4 routes.
Policy name: __vrf-mvpn-export-inet-<routing-instance-name>-internal__
Applied to: All routes in the <routing-instance-name>inet.0 table
Use the show policy __vrf-mvpn-export-inet-vpna-internal__
command to verify that the following export policy is created on
Router PE1. Router PE1 adds rt-import:10.1.1.1:64
and src-as:65000:0
communities to unicast VPN routes through this
policy.
user@PE1> show policy __vrf-mvpn-export-inet-vpna-internal__ Policy __vrf-mvpn-export-inet-vpna-internal__: Term unnamed: then community + __vrf-mvpn-community-rt_import-vpna-internal__ [rt-import:10.1.1.1:64 ] community + __vrf-mvpn-community-src_as-vpna-internal__ [src-as:65000:0 ] accept
The values in this example are as follows:
Policy name: __vrf-mvpn-export-inet-vpna-internal__
rt-import community name: __vrf-mvpn-community-rt_import-vpna-internal__
rt-import community value: rt-import:10.1.1.1:64
src-as community name: __vrf-mvpn-community-src_as-vpna-internal__
src-as community value: src-as:65000:0
Policy 2: This policy is used to import C-Mmulticast
routes from the bgp.mvpn.0
table to the <routing-instance-name>.mvpn.0
table.
Policy name: __vrf-mvpn-import-cmcast-<routing-instance-name>-internal__
Applied to: C-multicast (MVPN) routes in the bgp.mvpn.0 table
Use the show policy __vrf-mvpn-import-cmcast-vpna-internal__
command to verify that the following import policy is created on
Router PE1. The policy accepts those C-multicast MVPN routes carrying
a route target of target:10.1.1.1:64
and installs them
in the vpna.mvpn.0
table.
user@PE1> show policy __vrf-mvpn-import-cmcast-vpna-internal__ Policy __vrf-mvpn-import-cmcast-vpna-internal__: Term unnamed: from community __vrf-mvpn-community-rt_import-target-vpna-internal__ [target:10.1.1.1:64 ] then accept Term unnamed: then reject
The values in this example are as follows:
Policy name: __vrf-mvpn-import-cmcast-vpna-internal__
C-multicast import RT community: __vrf-mvpn-community-rt_import-target-vpna-internal__
Community value: target:10.1.1.1:64
Policy 3: This policy is used for importing Type 4 routes and is created by default even if a selective provider tunnel is not configured. The policy affects only Type 4 routes received from receiver PE routers.
Policy name: __vrf-mvpn-import-cmcast-leafAD-global-internal__
Applied to: Type 4 routes in the bgp.mvpn.0 table
Use the show policy __vrf-mvpn-import-cmcast-leafAD-global-internal__
command to verify that the following import policy is created on
Router PE1.
user@PE1> show policy __vrf-mvpn-import-cmcast-leafAD-global-internal__ Policy __vrf-mvpn-import-cmcast-leafAD-global-internal__: Term unnamed: from community __vrf-mvpn-community-rt_import-target-global-internal__ [target:10.1.1.1:0 ] then accept Term unnamed: then reject