To configure a Layer 2 VPN on your network, you need to configure a Layer 2 VPN routing instance on the PE router by including the l2vpn statement:
-
l2vpn {
- (control-word | no-control-word);
-
encapsulation-type type;
-
-
traceoptions {
- file filename <files number> <size size> <world-readable |
no-world-readable>;
- flag flag <flag-modifier> <disable>;
- }
-
-
site site-name {
-
site-identifier identifier;
-
-
site-preference preference-value {
- backup;
- primary;
- }
-
- interface interface-name {
-
description text;
- remote-site-id remote-site-id;
- }
- }
- }
You can include this statement at the following hierarchy levels:
Instructions for how to configure the remaining statements are included in the sections that follow.