Configuration Guide Vol. 3


27.2.7 Applying OSPFv3 in VRF

Points to note

The example below shows how to use the ipv6 ospf area command.

Command examples

This procedure uses the loopback address as the router ID and enables OSPFv3 for VRF 2.

  1. (config)# interface loopback 2

    Switches to interface mode and specifies information about loopback 2.

  2. (config-if)# vrf forwarding 2

    (config-if)# ip address 100.1.1.1

    (config-if)# exit

    Specifies VRF 2 and sets the IP address to 100.1.1.1.

  3. (config)# interface vlan 1

    Switches to interface mode and specifies information about VLAN 1.

  4. (config-if)# vrf forwarding 2

    (config-if)# ipv6 address 2001:db8:1:1::1/64

    (config-if)# ipv6 enable

    Specifies VRF 2 and sets the IPv6 address to 2001:db8:1:1::1/64.

  5. (config-if)# ipv6 ospf 1 area 0

    Specifies that OSPFv3 runs in area 0 of domain 1.