Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-239
Cisco IOS XR Routing Configuration Guide
OL-14356-01
2. router ospf process-name
3. vrf vrf-name
4. interface type instance
5. ipv4 address ip-address mask
6. ipv6 address ipv6-prefix/prefix-length [eui-64]
7. ipv4 mtu mtu
8. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router ospf process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
Enables OSPF routing for the specified routing process and
places the router in router configuration mode.
Note The process-name argument is any alphanumeric
string no longer than 40 characters.
Step 3
vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config-ospf)# vrf vrf1
Creates a VRF instance and enters VRF configuration
mode.
Step 4
interface type instance
Example:
RP/0/RP0/CPU0:router(config-ospf-vrf)#
interface POS 0/0/0/0
Enters interface configuration mode and associates one or
more interfaces to the VRF.
Step 5
ipv4 address ip-address mask
Example:
RP/0/RP0/CPU0:router(config-if)# ipv4 address
172.18.189.38 255.255.255.224
Assigns an IP address and subnet mask to the interface.
Step 6
ipv6 address ipv6-prefix/prefix-length [eui-64]
Example:
RP/0/RP0/CPU0:router(config-if)# ipv6 address
2001:0DB8:C18:1::64
Specifies the IPv6 address assigned to the interface and
enables IPV6 processing on the interface.
A slash-mark (/) must preceed the prefix-length
argument, and there is no space between the ipv6-prefix
argument and the slash.