R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
800
network
Syntax
network ipv6-address prefix-length [ route-policy route-policy-name | short-cut ]
undo network ipv6-address prefix-length [ short-cut ]
View
IPv6 address family view, IPv6 BGP-VPN instance view
Default 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.
Description
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.
By default, no route is advertised.
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
peer advertise-community
Syntax
peer { group-name | ipv6-address } advertise-community
undo peer { group-name | ipv6-address } advertise-community
View
IPv6 address family view
Default level
2: System level