Cisco ASR 9000 Series Routing Configuration Manual page 520

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Enabling OSPF Interaction with SRMS Server
SUMMARY STEPS
1. configure
2. router ospf instance-id
3. segment-routing mpls
4. segment-routing forwarding mpls
5. segment-routing prefix-sid-mapadvertise-local
6. segment-routing sr-preferprefix-list[acl-name]
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
router ospf instance-id
Example:
RP/0/RSP0/CPU0:router(config)# router ospf isp
Step 3
segment-routing mpls
Example:
RP/0/RSP0/CPU0:router(config-ospf)#
segment-routing mpls
Step 4
segment-routing forwarding mpls
Example:
RP/0/RSP0/CPU0:router(config-ospf)#
segment-routing forwarding mpls
Step 5
segment-routing prefix-sid-mapadvertise-local
Example:
RP/0/RSP0/CPU0:router(config-ospf)#
segment-routing
prefix-sid-map advertise local
Step 6
segment-routing sr-preferprefix-list[acl-name]
Example:
RP/0/RSP0/CPU0:router(config-ospf)#
segment-routing
sr-prefer prefix-list foo
The following example shows how OSPF advertises local mapping entries using area-flooding scope.
ipv4 prefix-list foo
permit 2.2.2.2/32
!
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
490
Purpose
Enables OSPF routing for the specified routing instance, and
places the router in router configuration mode.
Enables SR forwarding on all interfaces where this instance
OSPF is enabled.
Enables server functionality and allows OSPF to advertise the
local mapping entries using area-scope flooding. The flooding
is limited to areas where segment-routing is enabled. Disabled
by default.
Enables OSPF to communicate to the routing information base
(RIB) that SR labels are preferred to LDP labels. If ACL is
used, OSPF signals the preference of SR labels over LDP
labels for prefixes that match ACL. If ACL is not used, OSPF
signals the preference of SR labels for all prefixes.
Implementing OSPF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents