F3215-HP Load Balancing Module Network Management Command Reference-6PW101
280
Views
BGP view
Default command level
2: System level
Parameters
ip-address: Specifies a destination IP address.
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.
Usage guidelines
The preference of an EBGP route is lower than a local route. The network short-cut command allows you
configure an EBGP route as a shortcut route that has the same preference as a local route and is more
likely to become the optimal route.
Examples
# In BGP view, increase the preference of EBGP route 10.0.0.0/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] network 10.0.0.0 255.255.0.0 short-cut
[Sysname-bgp-ipv4-vpn1] network 10.0.0.0 255.255.0.0 short-cut
peer advertise-community (BGP view)
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.
Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
Default
No community attribute is advertised to any peer group/peer.
Views
BGP view
Default command 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.
Examples
# In BGP view, advertise the community attribute to peer group test.
<Sysname> system-view
[Sysname] bgp 100