F3215-HP Load Balancing Module Network Management Command Reference-6PW101

485
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6]
# Enter IPv6 BGP-VPN instance view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance vpn1
[Sysname-bgp-ipv6-vpn1]
network (IPv6 address family view/IPv6 BGP-VPN instance
view)
Use network to advertise a network to the IPv6 BGP routing table.
Use undo network to remove an entry from the IPv6 BGP routing table.
Syntax
network ipv6-address prefix-length [ route-policy route-policy-name | short-cut ]
undo network ipv6-address prefix-length [ short-cut ]
Default
No route is advertised.
Views
IPv6 address family view, IPv6 BGP-VPN instance view
Default command level
2: System level
Parameters
ipv6-address: IPv6 address.
prefix-length: Prefix length of the address, in the range of 0 to 128.
route-policy-name: Name of a routing policy, a string of 1 to 63 characters.
short-cut: If the keyword is specified for an EBGP route, the route will use the local routing management
value rather than that of EBGP routes, so the preference of the route is reduced.
Usage guidelines
The route to be advertised must exist in the local IP routing table, and using a routing policy makes route
management more flexible.
The route advertised to the BGP routing table using the network command has the IGP origin attribute.
Examples
# Advertise the network 2002::/16 into the IPv6 BGP routing table.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] network 2002:: 16