Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Download Software
Research a Problem Login required
Case Management Login required
Contract & Product Management Login required
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Home > Support > Technical Documentation > Junos OS > Example: Configuring Ethernet CFM over VPLS
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • MX Series
  • Ethernet Operations, Administration, and Maintenance
  • Ethernet OAM Connectivity Fault Management
  • Example: Configuring Ethernet CFM on Bridge Connections
  • Example: Configuring Ethernet CFM on Physical Interfaces
  • Additional Information
  • Ethernet OAM
 

Example: Configuring Ethernet CFM over VPLS

In this example, both the customer and service provider are running Ethernet CFM over a VPLS and a multiprotocol label switching (MPLS) network. The network is shown in Figure 1. The customer has configured Ethernet CFM on MX Series routers L2-CE1 and L2-CE2. The service provider has configured Ethernet CFM on MX Series routers PE1, P, and PE2.

Note: The configurations in this example are only partial examples of complete and functional router configurations. Do not copy these configurations and use them directly on an actual system.

The service provider is using CFM level 5 and the customer is using CFM level 7. The boundaries are marked with “up mep” and “down mep” CFM terminology in the figure.

Figure 1: Ethernet OAM with VPLS

Ethernet OAM with VPLS

The following are the configurations of the VPLS and CFM on the service provider routers.

Configuration of PE1

[edit chassis]fpc 5 {pic 0 {tunnel-services {bandwidth 1g;}}}[edit interfaces]ge-1/0/7 {encapsulation flexible-ethernet-services;vlan-tagging;unit 1 {encapsulation vlan-vpls;vlan-id 2000;}}ge-0/0/0 {unit 0 {family inet {address 10.200.1.1/24;}family mpls;}}lo0 {unit 0 {family inet {address 10.255.168.231/32 {primary;}address 127.0.0.1/32;}}}[edit routing-instances]vpls-vlan2000 {instance-type vpls;vlan-id 2000;interface ge-1/0/7.1;route-distinguisher 10.255.168.231:2000;vrf-target target:1000:1;protocols {vpls {site-range 10;site vlan2000-PE1 {site-identifier 2;}}}}[edit protocols]rsvp {interface ge-0/0/0.0;}mpls {label-switched-path PE1-to-PE2 {to 10.100.1.1;}interface ge-0/0/0.0;}bgp {group PE1-to-PE2 {type internal;local-address 10.200.1.1;family l2vpn {signaling;}local-as 65000;neighbor 10.100.1.1;}}ospf {traffic-engineering;reference-bandwidth 4g;area 0.0.0.0 {interface all;interface fxp0.0 {disable;}interface ge-0/0/0.0;}}oam {ethernet {connectivity-fault-management {maintenance-domain customer-site1 {level 5;maintenance-association customer-site1 {continuity-check {interval 1s;}mep 100 {interface ge-1/0/7.1;direction up;auto-discovery;}}}}}}

Configuration of PE2

[edit chassis]fpc 5 {pic 0 {tunnel-services {bandwidth 1g;}}}[edit interfaces]ge-5/0/9 {vlan-tagging;encapsulation flexible-ethernet-services;unit 1 {encapsulation vlan-vpls;vlan-id 2000;}}ge-5/2/7 {unit 0 {family inet {address 10.100.1.1/24;}family mpls;}}lo0 {unit 0 {family inet {address 10.255.168.230/32 {primary;}address 127.0.0.1/32;}}}[edit routing-instances]vpls-vlan2000 {instance-type vpls;vlan-id 2000;interface ge-5/0/9.1;route-distinguisher 10.255.168.230:2000;vrf-target target:1000:1;protocols {vpls {site-range 10;site vlan2000-PE2 {site-identifier 1;}}}}[edit protocols]rsvp {interface ge-5/2/7.0;}mpls {label-switched-path PE2-to-PE1 {to 10.200.1.1;}interface ge-5/2/7.0;}bgp {group PE2-to-PE1 {type internal;local-address 10.100.1.1;family l2vpn {signaling;}local-as 65000;neighbor 10.200.1.1;}}ospf {traffic-engineering;reference-bandwidth 4g;area 0.0.0.0 {interface all;interface fxp0.0 {disable;}interface ge-5/2/7.0;}}oam {ethernet {connectivity-fault-management {maintenance-domain customer-site1 {level 5;maintenance-association customer-site1 {continuity-check {interval 1s;}mep 200 {interface ge-5/0/9.1;direction up;auto-discovery;}}}}}}

Configuration of P router

MPLS only, no CFM needed:

[edit]interfaces {ge-5/2/7 {# Connected to PE1unit 0 {family inet {address 10.200.1.10/24;}family mpls;}}ge-0/1/0 {# Connected to PE2unit 0 {family inet {address 10.100.1.10/24;}family mpls;}}lo0 {unit 0{family inet {address 10.255.168.240/32;}}}}[edit]protocols {rsvp {interface ge-0/1/0.0;interface ge-5/2/7.0;}mpls {interface ge-0/1/0.0;interface ge-5/2/7.0;}ospf {traffic-engineering;reference-bandwidth 4g;area 0.0.0.0 {interface all;interface fxp0.0 {disable;}interface ge-0/1/0.0;interface ge-5/2/7.0;}}}

CFM on L2-CE1

Here is the configuration of CFM on L2-E1:

[edit interfaces]ge-5/2/3 {vlan-tagging;unit 0 {vlan-id 2000;}}[edit protocols oam]ethernet {connectivity-fault-management {maintenance-domain customer {level 7;maintenance-association customer-site1 {continuity-check {interval 1s;}mep 800 {interface ge-5/2/3.0;direction down;auto-discovery;}}}}}

CFM on L2-CE2

Here is the configuration of CFM L2-CE2:

[edit interfaces]ge-0/2/9 {vlan-tagging;unit 0 {vlan-id 2000;}}[edit protocols oam]ethernet {connectivity-fault-management {maintenance-domain customer {level 7;maintenance-association customer-site1 {continuity-check {interval 1s;}mep 700 {interface ge-0/2/9.0;direction down;auto-discovery;}}}}}
 

Related Documentation

  • MX Series
  • Ethernet Operations, Administration, and Maintenance
  • Ethernet OAM Connectivity Fault Management
  • Example: Configuring Ethernet CFM on Bridge Connections
  • Example: Configuring Ethernet CFM on Physical Interfaces
  • Additional Information
  • Ethernet OAM
 

Published: 2011-11-03

 
  • About Juniper
  • The New Network
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out