R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

255
[Sysname-bgp] network 10.0.0.0 255.255.0.0 short-cut
# In BGP-VPN instance view, increase the preference of EBGP route 10.0.0.0/16. (The VPN has been
created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] network 10.0.0.0 255.255.0.0 short-cut
non-stop-routing
Use non-stop-routing to enable BGP NSR.
Use undo non-stop-routing to disable BGP NSR.
Syntax
non-stop-routing
undo non-stop-routing
Default
BGP NSR is disabled.
Views
BGP view
Default command level
2: System level
Usage guidelines
The NSR and GR features are mutually exclusive. Do not configure the graceful-restart and
non-stop-routing commands at the same time.
Examples
# Enable BGP NSR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] non-stop-routing
peer advertise-community (BGP/BGP-VPN instance 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.