autoroute announce and forwarding adjacencies for … filehow to configure autoroute announce and...

8
Autoroute Announce and Forwarding Adjacencies For OSPFv3 The Autoroute Announce and Forwarding Adjacencies for OSPFv3 feature advertises IPv6 routes over MPLS/TE IPv4 tunnels. This module describes how to configure the Autoroute Announce and Forwarding Adjacencies for OSPFv3 feature. Finding Feature Information, on page 1 Prerequisites for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 1 Restrictions for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 2 Information About Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 2 How to Configure Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 2 Configuration Examples for Autoroute Announce and Forwarding Adjacencies For OSPFv3 , on page 6 Additional References for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 6 Feature Information for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 7 Finding Feature Information Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for Autoroute Announce and Forwarding Adjacencies For OSPFv3 • OSPFv3 must be configured in your network. • Cisco Express Forwarding (CEF) must be enabled. • MPLS/TE tunnels must be configured. Autoroute Announce and Forwarding Adjacencies For OSPFv3 1

Upload: phamnguyet

Post on 11-Sep-2018

243 views

Category:

Documents


0 download

TRANSCRIPT

Autoroute Announce and ForwardingAdjacencies For OSPFv3

The Autoroute Announce and Forwarding Adjacencies for OSPFv3 feature advertises IPv6 routes overMPLS/TE IPv4 tunnels. This module describes how to configure the Autoroute Announce and ForwardingAdjacencies for OSPFv3 feature.

• Finding Feature Information, on page 1• Prerequisites for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 1• Restrictions for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 2• Information About Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 2• How to Configure Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 2• Configuration Examples for Autoroute Announce and Forwarding Adjacencies For OSPFv3 , on page6

• Additional References for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 6• Feature Information for Autoroute Announce and Forwarding Adjacencies For OSPFv3, on page 7

Finding Feature InformationYour software release may not support all the features documented in this module. For the latest caveats andfeature information, see Bug Search Tool and the release notes for your platform and software release. Tofind information about the features documented in this module, and to see a list of the releases in which eachfeature is supported, see the feature information table.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support.To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Prerequisites for Autoroute Announce and ForwardingAdjacencies For OSPFv3

• OSPFv3 must be configured in your network.• Cisco Express Forwarding (CEF) must be enabled.• MPLS/TE tunnels must be configured.

Autoroute Announce and Forwarding Adjacencies For OSPFv31

Restrictions for Autoroute Announce and ForwardingAdjacencies For OSPFv3

• Autoroute announce and forwarding adjacency cannot be configured together in a same interface.

• When an autoroute announce is used, OSPFv3 does not advertise the tunnel.

• When forwarding adjacencies are used, OSPFv3 advertises the tunnel link in an LSA.

Information About Autoroute Announce and ForwardingAdjacencies For OSPFv3

Overview of Autoroute Announce and Forwarding Adjacencies For OSPFv3TheOSPFv3 support for ForwardingAdjacencies overMPLSTraffic Engineered Tunnels feature adds OSPFv3support to the Multiprotocol Label Switching (MPLS) Traffic Engineering (TE) tunnels feature, which allowsa network administrator to handle a traffic engineering, MPLS tunnel as a link in an Interior Gateway Protocol(IGP) network based on the shortest path first (SPF) algorithm. An OSPFv3 forwarding adjacency can becreated between routers in the same area.

OSPFv3 includes MPLS TE tunnels in the OSPFv3 router link-state advertisement (LSA) in the same waythat other links appear for purposes of routing and forwarding traffic. The user can assign an OSPFv3 cost tothe tunnel to give it precedence over other links. Other networking devices will see the tunnel as a link inaddition to the physical link.

OSPFv3 uses Autoroute Announce (AA) or Forwarding Adjacencies (FA) feature to install IPv6 routes overMPLS/TE IPv4 tunnels into the IPv6 routing table . The TE tunnels are created using IPv4, and requires theuse of a routing protocol other than OSPFv3. OSPFv2 is used as the IPv4 IGP and provides data which TEuses to create the tunnels.

OSPFv3 is configured on the TE tunnel interfaces for either autoroute-annouce or forwarding-adjacency. Itis also must be configured in router mode to advertise the address of the loopback interface which TE is usingfor the tunnels that terminate on the router. That address is advertised in the TE LSA .

How to Configure Autoroute Announce and ForwardingAdjacencies For OSPFv3

Configuring Autoroute Announce and Forwarding Adjacencies For OSPFv3

SUMMARY STEPS

1. enable2. configure terminal

Autoroute Announce and Forwarding Adjacencies For OSPFv32

Autoroute Announce and Forwarding Adjacencies For OSPFv3Restrictions for Autoroute Announce and Forwarding Adjacencies For OSPFv3

3. ip cef distributed4. interface type number5. ip address ip-address-mask6. no shutdown7. exit8. interface type number9. ospfv3 pid af mpls traffic-eng autoroute announce area aid10. ospfv3 pid af mpls traffic-eng autoroute metric {metric | absolute metric | relative delta}11. ip ospf cost cost12. exit13. interface type number14. ospfv3 pid af mpls traffic-eng forwarding-adj areaaid15. ospfv3[ pid [af ]] mpls traffic-eng forwarding-adj interface ID [ local ID ] [nbr ID]16. ip ospf cost cost17. exit18. router ospfv3 router-ID19. address-family ipv4 unicast [vrf vrf-name ]20. area aid mpls traffic-engineering tunnel-tail af interface type21. exit22. show ospfv3 database23. show ospfv3 mpls traffic-eng

DETAILED STEPS

PurposeCommand or Action

Enables privileged EXEC mode.enableStep 1

Example: • Enter your password if prompted.Device> enable

Enters global configuration mode.configure terminal

Example:

Step 2

Device# configure terminal

Enables distributed Cisco Express Forwarding operation.ip cef distributed

Example:

Step 3

Device(config)# ip cef distributed

Configures an interface type and enters interfaceconfiguration mode.

interface type number

Example:

Step 4

Device(config)# interface tunnel 0

Sets a primary or secondary IP address for the specifiedinterface.

ip address ip-address-mask

Example:

Step 5

Device (config-if)# ip address 192.108.1.27255.255.255.0

Autoroute Announce and Forwarding Adjacencies For OSPFv33

Autoroute Announce and Forwarding Adjacencies For OSPFv3Configuring Autoroute Announce and Forwarding Adjacencies For OSPFv3

PurposeCommand or Action

Disables all functions on the specified interface.no shutdown

Example:

Step 6

Device (config-if)# no shutdown

Exits interface configurationmode and returns to privilegedEXEC mode.

exit

Example:

Step 7

Device (config-if)# exit

Enables loopback interface and enters interfaceconfiguration mode.

interface type number

Example:

Step 8

Device (config)# interface loopback 0

Enable Open Shortest Path First version 3 (OSPFv3) onan interface with the IP address family (AF).

ospfv3 pid afmpls traffic-eng autoroute announce areaaid

Example:

Step 9

Device(config-if)# ospfv3 1 af mpls traffic-engautoroute announcearea 1

Specifies the MPLS traffic engineering auto route metricvalue for the SPF calculation.

ospfv3 pid afmpls traffic-eng autoroute metric {metric| absolute metric | relative delta}

Example:

Step 10

Device(config-if)# ospfv3 1 af mpls traffic-engautoroute metric1

Explicitly specifies the cost of sending a packet on anOSPF interface.

ip ospf cost cost

Example:

Step 11

Device(config-if)# ip ospf cost 60

Exits interface configurationmode and returns to privilegedEXEC mode.

exit

Example:

Step 12

Device(config-if)# exit

Enables tunnel interface and enters interface configurationmode.

interface type number

Example:

Step 13

Device (config)# interface tunnel 1

Configure an MPLS traffic engineering forwardingadjacency.

ospfv3 pid af mpls traffic-eng forwarding-adj areaaid

Example:

Step 14

Device(config-if)# ospfv3 1 af mpls traffic-engforwarding-adj area1

Autoroute Announce and Forwarding Adjacencies For OSPFv34

Autoroute Announce and Forwarding Adjacencies For OSPFv3Configuring Autoroute Announce and Forwarding Adjacencies For OSPFv3

PurposeCommand or Action

Specifies the MPLS traffic engineering forwardingadjacency for the SPF calculation.

ospfv3[ pid [af ]] mpls traffic-eng forwarding-adjinterface ID [ local ID ] [nbr ID]

Example:

Step 15

Device(config-if)# ospfv3 1 af mpls traffic-engforwarding-adj1

Explicitly specifies the cost of sending a packet on anOSPF interface.

ip ospf cost cost

Example:

Step 16

Device(config-if)# ip ospf cost 55

Exits interface configurationmode and returns to privilegedEXEC mode.

exit

Example:

Step 17

Device(config-if)# exit

Enters OSPFv3 router configuration mode.router ospfv3 router-ID

Example:

Step 18

Device(config)# router ospfv3 18

Configures the IPv4 address family in the OSPFv3 processand enters IPv4 address family configuration mode.

address-family ipv4 unicast [vrf vrf-name ]

Example:

Step 19

Device(config-router)# address-family ipv4 unicast

Configures OSPFv3 on the tail end of the trafficengineering tunnels.

area aidmpls traffic-engineering tunnel-tail af interfacetype

Example:

Step 20

Device(config-router-af)# area 1 mplstraffic-engineering tunnel-tailaf loopback

Exits address family configuration mode and returns toglobal configuration mode.

exit

Example:

Step 21

Device(config-router-af)# exit

(Optional) Displays list of information related to theOSPFv3 database for a specific router.

show ospfv3 database

Example:

Step 22

Device(config)# show ospfv3 database

(Optional) Displays autoroute announce, forwardingadjacency, and tunnel-tail information related to OSPFv3.

show ospfv3 mpls traffic-eng

Example:

Step 23

Device(config)# show ospfv3 mpls traffic-eng

Autoroute Announce and Forwarding Adjacencies For OSPFv35

Autoroute Announce and Forwarding Adjacencies For OSPFv3Configuring Autoroute Announce and Forwarding Adjacencies For OSPFv3

ConfigurationExamplesforAutorouteAnnounceandForwardingAdjacencies For OSPFv3

Example: Configuring Autoroute Announce and Forwarding Adjacencies ForOSPFv3

!ip cef distributedinterface tunnel 0ip address 192.108.1.27 255.255.255.0no shutdown

interface loopback 0ospfv3 1 af mpls traffic-eng autoroute announce area 1ospfv3 1 af mpls traffic-eng autoroute metric 1ip ospf cost 60

interface tunnel 1ospfv3 1 af mpls traffic-eng forwarding-adj area 1ospfv3 1 af mpls traffic-eng forwarding-adj nbr 1ip ospf cost 55

router ospfv3 18address-family ipv4 unicastarea 1 mpls traffic-engineering tunnel-tail af loopback

!!

!

Additional References for Autoroute Announce and ForwardingAdjacencies For OSPFv3

Related Documents

Document TitleRelated Topic

Cisco IOS Master Command List, All ReleasesCisco IOS commands

IP Routing: OSPF Configuration GuideConfiguring OSPF features

Autoroute Announce and Forwarding Adjacencies For OSPFv36

Autoroute Announce and Forwarding Adjacencies For OSPFv3Configuration Examples for Autoroute Announce and Forwarding Adjacencies For OSPFv3

Standards and RFCs

DocumentTitle

Related Topic

RFC5786Advertising a Router's Local Addresses in OSPF Traffic Engineering (TE) Extensions

RFC5329Traffic Engineering Extensions to OSPF Version 3

RFC3630Traffic Engineering (TE) Extensions to OSPF Version 2

Technical Assistance

LinkDescription

http://www.cisco.com/supportThe Cisco Support website provides extensive online resources, includingdocumentation and tools for troubleshooting and resolving technical issueswith Cisco products and technologies.

To receive security and technical information about your products, you cansubscribe to various services, such as the Product Alert Tool (accessed fromField Notices), the Cisco Technical Services Newsletter, and Really SimpleSyndication (RSS) Feeds.

Access to most tools on the Cisco Support website requires a Cisco.com userID and password.

Feature Information for Autoroute Announce and ForwardingAdjacencies For OSPFv3

The following table provides release information about the feature or features described in this module. Thistable lists only the software release that introduced support for a given feature in a given software releasetrain. Unless noted otherwise, subsequent releases of that software release train also support that feature.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support.To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Autoroute Announce and Forwarding Adjacencies For OSPFv37

Autoroute Announce and Forwarding Adjacencies For OSPFv3Feature Information for Autoroute Announce and Forwarding Adjacencies For OSPFv3

Table 1: Feature Information for Autoroute Announce and Forwarding Adjacencies For OSPFv3

Feature InformationReleasesFeature Name

The Autoroute Announce andForwarding Adjacencies ForOSPFv3 feature advertises IPv6routes overMPLS/TE IPv4 tunnels.

The following commands wereintroduced or modified: ospfv3 afmpls traffic-eng autorouteannounce area , ospfv3 mplstraffic-eng autoroute metric,ospfv3 mpls traffic-engforwarding-adj area .

Cisco IOS XE Release 3.12SAutoroute Announce andForwarding Adjacencies ForOSPFv3

Autoroute Announce and Forwarding Adjacencies For OSPFv38

Autoroute Announce and Forwarding Adjacencies For OSPFv3Feature Information for Autoroute Announce and Forwarding Adjacencies For OSPFv3