HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 306
peer public-as-only, Predefined user roles, Parameters, Usage guidelines, Examples, Related commands
![]() |
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 306 highlights
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 IPv4 address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters. ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters. export: Applies the filter to routes advertised to the specified peer/peer group. import: Applies the filter to routes received from the specified peer/peer group. Usage guidelines The specified IPv4 prefix list or IPv6 prefix list must have been created with the ip prefix-list or ipv6 prefix-list command in system view. Otherwise, all routes can pass the IPv4/IPv6 prefix list. Examples # In BGP IPv4 unicast instance view, use the IPv4 prefix list list1 to filter routes advertised to the peer group test. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] peer test prefix-list list1 export # In BGP-VPN IPv6 unicast instance view, use the IPv6 prefix list list1 to filter routes advertised to the peer group test. system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] peer test prefix-list list1 export Related commands • filter-policy export • filter-policy import • ip prefix-list • ipv6 prefix-list • peer as-path-acl • peer filter-policy • peer route-policy peer public-as-only Use peer public-as-only to remove private AS numbers in BGP updates sent to an EBGP peer or peer group. 295
![](/manual_guide/products/hewlettpackard-6125xlg-r2306hp-6125xlg-blade-switch-layer-3-ip-routing-command-reference-b62ee13/306.png)