43-24
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 43 Configuring VRF-lite
Configuring VRF-lite for IPv6
This example shows how to populate VRF with a static route:
Switch(config)# ipv6 route vrf v6a 7000::/64 TenGigabitEthernet3/2 4000::2
Routing Protocols
OSPFv3
To configure the OSPFv3 router process and the IPv6 address family in OSPFv3, perform the following
steps:
This example shows how configure the OSPFv3 router process:
Switch(config-router)# router ospfv3 1
Switch(config-router)# router-id 1.1.1.1
Switch(config-router)# address-family ipv6 unicast
Switch(config-router-af)# exit-address-family
To enable OSPFv3 on an interface, do the following:
Command Purpose
Step 1
Switch> enable
Enters privileged EXEC mode.
Enter your password if prompted.
Step 2
Switch# configure terminal
Enters global configuration mode.
Step 3
Switch(config)# router ospfv3
process-id
Enables OSPFv3 router configuration mode for the IPv4
or IPv6 address family.
Step 4
Switch(config-router)# area area-ID
[default-cot | nssa | stub]
Configures the OSPFv3 area.
Step 5
Switch(config-router)# router-id
router-id
Use a fixed router ID.
Step 6
Switch(config-router)#
address-family ipv6 unicast vrf
vrf-name
Or
Switch(config-router)#
address-family ipv4 unicast
Enters IPv6 address family configuration mode for
OSPFv3 in VRF vrf-name
or
Enters IPv4 address family configuration mode for
OSPFv3.
Step 7
Switch(config-router)# redistribute
source-protocol [process-id] options
Redistributes IPv6 and IPv4 routes from one routing
domain into another routing domain.
Step 8
Switch(config-router)# end
Returns to privileged EXEC mode.
Command Purpose
Step 1
Switch> enable
Enters privileged EXEC mode.
Enter your password if prompted.
Step 2
Switch# configure terminal
Enters global configuration mode.
Step 3
Switch(config)# interface
type-number
Specifies an interface type and number, and places the
switch in interface configuration mode.