PurposeCommand or Action
Example:
RP/0/RSP0/CPU0:router(config-ospf-vrf)# redistribute bgp 1
level-1
•
OSPF tags all routes learned through
redistribution as external.
•
The protocol and its process ID, if it has
one, indicate the protocol being
redistributed into OSPF.
•
The metric is the cost you assign to the
external route. The default is 20 for all
protocols except BGP, whose default
metric is 1.
•
The example shows the redistribution of
BGP autonomous system 1, Level 1 routes
into OSPF as Type 2 external routes.
Enters area configuration mode and configures
an area for the OSPF process.
area area-id
Example:
RP/0/RSP0/CPU0:router(config-ospf-vrf)# area 0
Step 6
•
The area-id argument can be entered in
dotted-decimal or IPv4 address notation,
such as area 1000 or area 0.0.3.232.
However, you must choose one form or
the other for an area.
Enters interface configuration mode and
associates one or more interfaces to the VRF.
interface type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config-ospf-vrf)# interface
GigabitEthernet 0/0/0/0
Step 7
Exits interface configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-if)# exit
Step 8
Specifies the OSPF VRF domain ID.
domain-id [ secondary ] type { 0005 | 0105 | 0205 | 8005 }
value value
Step 9
•
The value argument is a six-octet hex
number.
Example:
RP/0/RSP0/CPU0:router(config-ospf-vrf)# domain-id type 0105
value 1AF234
Specifies the OSPF VRF domain tag.
domain-tag tag
Step 10
Example:
RP/0/RSP0/CPU0:router(config-0spf-vrf)# domain-tag 234
•
The valid range for tag is 0 to
4294967295.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
475
Implementing OSPF
Configuring OSPF as a Provider Edge to Customer Edge (PE-CE) Protocol