DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-73
DES-7200(config)# router ospf
ospf-id vrf vrf-name
Create OSPF instance and enter OSPF configuration
mode
DES-7200(config-router)#
capability vrf-lite
(Optional) Disable PE-CE OSPF feature of VRF OSPF
instance
DES-7200(config-router)# show
running-config
Display existing configurations
Note
This command is only applicable to OSPF instance associated with VRF.
In certain circumstances, you may expect to disable the loop check
function of VRF OSPF instance. For example: VPN user uses MCE
device to exchange VPN routes with PE. If MCE and PE exchanges VPN
routes via OSPF protocol, to allow the VPN site to learn the routes of
other VPN sites, you must execute "capability vrf-lite" command on
MCE device to disable the loop check function of VRF OSPF instance.
# Disable loop check function of VRF OSPF instance
DES-7200# configure terminal
DES-7200(config)# router ospf 10 vrf vrf1
DES-7200(config-router)# capability vrf-lite
2.3.5.7 Configure extcommunity-type (optional)
While form VPN route for BGP, OSPF route redistribution will also carry the Extended
Communities attribute of OSPF route, including router-id and route-type. By default, the type of
Extended Communities attribute of router-id is 0x0107, and that of route-type is 0x0306.
However, the user can manually configure the Extended Communities attribute of "rouer-id" and
"route-typ".
Command Function
DES-7200# configure terminal
Enter global configuration mode
DES-7200(config)# router ospf
ospf-id vrf vrf-name
Create OSPF instance and enter OSPF
configuration mode