An example of an IPv6 over IPv4 tunnel configuration

The IPv6 address is the next-hop as it is received through BGP. The IPv4 address is the system address of the tunnel's endpoint.

The following example shows the configuration of a policy to export IPv6 routes into BGP:

- config>router
    - bgp
        - export policy-name [policy-name]
        - router-id ip-address
        - group name
            - family [ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4]
            - type {internal | external}
            - neighbor ip-address
                - local-as as-number [private]
                - peer-as as-number

The following example shows an IPv6 over IPv4 tunnel configuration:

A:ALA-49>config>router# info
----------------------------------------------
...
        policy-options
            policy-statement "ospf3"
                description "Plcy Stmnt For 'From ospf3 To bgp'"
                entry 10
                    description "Entry From Protocol ospf3 To bgp"
                    from
                        protocol ospf3
                    exit
                    to
                        protocol bgp
                    exit
                    action accept
                    exit
                exit
            exit
        exit
----------------------------------------------
A:ALA-49>config>router#