EasyManua.ls Logo

HP 6125XLG - Peer Advertise-Community

HP 6125XLG
466 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
265
You can use the preference command to modify the preferences for external and local BGP routes.
Examples
# In BGP IPv4 unicast instance view, increase the preference of EBGP route 10.0.0.0/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family unicast
[Sysname-bgp-ipv4] network 10.0.0.0 255.255.0.0 short-cut
# In BGP-VPN IPv6 unicast instance view, increase the preference of EBGP route 10::/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv6-family unicast
[Sysname-bgp-ipv6-vpn1] network 10:: 16 short-cut
Related commands
preference
peer advertise-community
Use peer advertise-community to advertise the COMMUNITY attribute to a peer or peer group.
Use undo peer advertise-community to disable the COMMUNITY attribute advertisement to a peer or
peer group.
Syntax
In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view:
peer { group-name | ip-address } advertise-community
undo peer { group-name } advertise-community
In BGP IPv6 unicast instance view:
peer { group-name | ipv6-address } advertise-community
undo peer { group-name | ipv6-address } advertise-community
Default
No COMMUNITY attribute is advertised to any peer or peer group.
Views
BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.

Table of Contents

Other manuals for HP 6125XLG

Related product manuals