Configuring OSPF as a Provider Edge to Customer Edge (PE-CE) Protocol
SUMMARY STEPS
1.
configure
2.
router ospf process-name
3.
vrf vrf-name
4.
router-id { router-id }
5.
redistribute protocol [ process-id ] { level-1 | level-1-2 | level-2 } [ metric metric-value ] [ metric-type
type-value ] [ match { external [ 1 | 2 ] }] [ tag tag-value ] route-policy policy-name]
6.
area area-id
7.
interface type interface-path-id
8.
exit
9.
domain-id [ secondary ] type { 0005 | 0105 | 0205 | 8005 } value value
10.
domain-tag tag
11.
disable-dn-bit-check
12.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Enables OSPF routing for the specified routing
process and places the router in router
configuration mode.
router ospf process-name
Example:
RP/0/RSP0/CPU0:router(config)# router ospf 1
Step 2
The process-name argument is any
alphanumeric string no longer than 40
characters.
Note
Creates a VRF instance and enters VRF
configuration mode.
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-ospf)# vrf vrf1
Step 3
Configures a router ID for the OSPF process.
router-id { router-id }
Step 4
Example:
RP/0/RSP0/CPU0:router(config-ospf-vrf)# router-id 192.168.4.3
We recommend using a stable IPv4
address as the router ID.
Note
Redistributes OSPF routes from one routing
domain to another routing domain.
redistribute protocol [ process-id ] { level-1 | level-1-2 | level-2 }
[ metric metric-value ] [ metric-type type-value ] [ match { external
[ 1 | 2 ] }] [ tag tag-value ] route-policy policy-name]
Step 5
•
This command causes the router to become
an ASBR by definition.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
474
Implementing OSPF
Configuring OSPF as a Provider Edge to Customer Edge (PE-CE) Protocol