EasyManuals Logo

HP 6125G User Manual

HP 6125G
410 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
Page #179 background imageLoading...
Page #179 background image
168
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-ipv4-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.
By default, no COMMUNITY attribute is advertised to any peer group/peer.
Related commands: ip community-list, if-match community, and apply community.
Examples
# In BGP view, advertise the COMMUNITY attribute to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test advertise-community
# In BGP-VPN instance view, advertise the COMMUNITY attribute to peer group test. (The VPN has been
created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test advertise-community

Table of Contents

Other manuals for HP 6125G

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 6125G and is the answer not in the manual?

HP 6125G Specifications

General IconGeneral
BrandHP
Model6125G
CategorySwitch
LanguageEnglish

Related product manuals