R211x-HP Flexfabric 11900 Layer 3 - IP Routing Command Reference

342
# In BGP-VPN IPv6 unicast address family view, inject local network 2002::/64 to the IPv6 BGP routing
table.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv6 unicast
[Sysname-bgp-ipv6-vpn1] network 2002:: 64
network short-cut
Use network short-cut to increase the preference for a received EBGP route. This EBGP route is called
shortcut route.
Use undo network short-cut to cancel the configuration.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view:
network ip-address [ mask | mask-length ] short-cut
undo network ip-address [ mask | mask-length ] short-cut
In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view:
network ipv6-address prefix-length short-cut
undo network ipv6-address prefix-length short-cut
Default
A received EBGP route has a preference of 255.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast
address family view, BGP-VPN IPv6 unicast address family view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address: Specifies an IPv4 network address. If the mask or mask-length is not specified, natural mask
is used.
mask: Specifies a mask of the network address in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
ipv6-address: Specifies an IPv6 network address.
prefix-length: Specifies a prefix length in the range of 0 to 128.
Usage guidelines
Different routing protocols might find different routes to the same destination. However, not all of those
routes are optimal. For route selection, routing protocols, direct routes, and static routes are assigned
different preferences. The route with the highest preference is preferred.