To configure a VPN VRF routing instance, include the following statements:
-
interface interface-name;
-
instance-type vrf;
-
no-vrf-advertise;
-
route-distinguisher (as-number:number | ip-address:number);
-
vrf-import [ policy-names ];
-
vrf-export [ policy-names ];
-
vrf-table-label;
- protocols {
-
- bgp {
- ... bgp-configuration ...
- }
-
- isis {
- ... isis-configuration ...
- }
-
- l2vpn {
- ... l2vpn-configuration ...
- }
-
- ldp {
- ... ldp-configuration ...
- }
-
- msdp {
- ... msdp-configuration ...
- }
-
- ospf {
-
domain-id domain-id;
-
domain-vpn-tag number;
-
route-type-community (iana
| vendor);
- ... ospf-configuration ...
- }
-
- ospf3 {
-
domain-id domain-id;
-
domain-vpn-tag number;
-
route-type-community (iana
| vendor);
- ... ospf3-configuration ...
- }
-
- pim {
- ... pim-configuration ...
- }
-
- rip {
- ... rip-configuration ...
- }
-
- vpls {
- ... vpls-configuration ...
- }
- }
You can include the statements at the following hierarchy levels: