Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
ip cef
distributed
Device(config)# ip cef distributed
|
Enables
distributed Cisco Express Forwarding operation.
|
Step 4 |
interface
type
number
Device(config)# interface tunnel 0
|
Configures an
interface type and enters interface configuration mode.
|
Step 5 |
ip address
ip-address-mask
Device (config-if)# ip address 192.108.1.27 255.255.255.0
|
Sets a primary
or secondary IP address for the specified interface.
|
Step 6 |
no shutdown
Device (config-if)# no shutdown
|
Disables all
functions on the specified interface.
|
Step 7 |
exit
|
Exits
interface configuration mode and returns to privileged EXEC mode.
|
Step 8 |
interface type number
Device (config)# interface loopback 0
|
Enables
loopback interface and enters interface configuration mode.
|
Step 9 |
ospfv3 pid af
mpls traffic-eng autoroute announce area
aid
Device(config-if)# ospfv3 1 af mpls traffic-eng autoroute announce
area 1
|
Enable Open
Shortest Path First version 3 (OSPFv3) on an interface with the IP address
family (AF).
|
Step 10 |
ospfv3 pid
af
mpls traffic-eng autoroute metric
{metric | absolute metric
|
relative
delta}
Device(config-if)# ospfv3 1 af mpls traffic-eng autoroute metric
1
|
Specifies the MPLS traffic engineering auto route metric value
for the SPF calculation.
|
Step 11 |
ip ospf cost
cost
Device(config-if)# ip ospf cost 60
|
Explicitly specifies the cost of sending a packet on an OSPF
interface.
|
Step 12 |
exit
|
Exits interface configuration mode and returns to privileged EXEC
mode.
|
Step 13 |
interface type number
Device (config)# interface tunnel 1
|
Enables tunnel interface and enters interface configuration mode.
|
Step 14 |
ospfv3 pid af
mpls traffic-eng forwarding-adj area aid
Device(config-if)# ospfv3 1 af mpls traffic-eng forwarding-adj area
1
|
Configure an MPLS traffic engineering forwarding adjacency.
|
Step 15 |
ospfv3 [ pid
[af
]] mpls traffic-eng forwarding-adj
interface ID [ local ID
] [nbr
ID]
Device(config-if)# ospfv3 1 af mpls traffic-eng forwarding-adj
1
|
Specifies the MPLS traffic engineering forwarding adjacency for
the SPF calculation.
|
Step 16 |
ip ospf cost
cost
Device(config-if)# ip ospf cost 55
|
Explicitly specifies the cost of sending a packet on an OSPF
interface.
|
Step 17 |
exit
|
Exits interface configuration mode and returns to privileged EXEC
mode.
|
Step 18 |
router ospfv3
router-ID
Device(config)# router ospfv3 18
|
Enters OSPFv3 router configuration mode.
|
Step 19 |
address-family ipv4 unicast
[vrf
vrf-name
]
Device(config-router)# address-family ipv4 unicast
|
Configures the IPv4 address family in the OSPFv3 process and
enters IPv4 address family configuration mode.
|
Step 20 |
area
aid mpls traffic-engineering tunnel-tail
af
interface type
Device(config-router-af)# area 1 mpls traffic-engineering tunnel-tail
af loopback
|
Configures OSPFv3 on the tail end of the traffic engineering
tunnels.
|
Step 21 |
exit
Device(config-router-af)# exit
|
Exits address family configuration mode and returns to global
configuration mode.
|
Step 22 |
show ospfv3 database
Device(config)# show ospfv3 database
|
(Optional) Displays list of information related to the OSPFv3
database for a specific router.
|
Step 23 |
show ospfv3 mpls traffic-eng
Device(config)# show ospfv3 mpls traffic-eng
|
(Optional) Displays autoroute announce, forwarding adjacency, and
tunnel-tail information related to OSPFv3.
|