中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

6.7.1.3 Advertising Routes into IPv6 Multiprotocol BGP

This task explains how to advertise (inject) a prefix into IPv6 multiprotocol BGP. By default, networks that are defined in router configuration mode using the network command are injected into the IPv4 unicast database. To inject a network into another database, such as the IPv6 BGP database, you must define the network using the network command in address family ipv6 configuration.

Router(config-router-af)# network ipv6-address/prefix-length

The command advertises (injects) the specified prefix into the IPv6 BGP database. (The routes must
first be found in the IPv6 unicast routing table.)

Routes are tagged from the specified prefix as “local origin.”

Example

The following example injects the IPv6 network 2001:0DB8::/24 into the IPv6 unicast database of the local router. (BGP checks that a route for the network exists in the IPv6 unicast database of the local router before advertising the network.)

router bgp 65000
no bgp default ipv4-unicast
address-family ipv6 unicast
network 2001:0DB8::/24