R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
385
Default level
2: System level
Parameters
ip-address: Destination IP address.
mask: Mask of the network address, in dotted decimal notation.
mask-length: Mask length, in the range of 0 to 32.
Description
Use network short-cut to configure an eBGP route as a shortcut route.
Use undo network short-cut to restore the default.
By default, a received eBGP route has a priority of 255.
The network short-cut command allows you configure an eBGP route as a shortcut route that has the
same priority as a local route and is more likely to become the optimal route.
Examples
# In BGP view, configure route 10.0.0.0/16 as a shortcut route.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] network 10.0.0.0 255.255.0.0 short-cut
# In BGP-VPN instance view, configure route 10.0.0.0/16 as a shortcut route. (the VPN has been
created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] network 10.0.0.0 255.255.0.0 short-cut
peer advertise-community (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Description
Use peer advertise-community to advertise the community attribute to a peer/peer group.
Use undo peer advertise-community to disable the community attribute advertisement to a peer/peer
group.