HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 181
peer as-number (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 181 highlights
Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. number: Specifies the number of times for which the local AS number can appear in routes from the peer/peer group, in the range of 1 to 10. The default number is 1. Description Use peer allow-as-loop to allow the local AS number to exist in the AS_PATH attribute of routes from a peer/peer group, and to configure the number of times the local AS number can appear. Use undo peer allow-as-loop to remove the configuration. By default, the local AS number is not allowed in routes from a peer/peer group. Related commands: display bgp routing-table peer. Examples # In BGP view, configure the number of times the local AS number can appear in AS_PATH attribute of routes from peer 1.1.1.1 as 2. system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 allow-as-loop 2 # In BGP-VPN instance view, configure the number of times for which the local AS number can appear in AS_PATH attribute of routes from peer 1.1.1.1 as 2. (The VPN has been created.) system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 allow-as-loop 2 peer as-number (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } as-number as-number undo peer group-name as-number undo peer ip-address 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. as-number: AS number of the peer or peer group, in the range of 1 to 4294967295. Description Use peer { group-name | ip-address } as-number as-number to specify a peer/peer group with an AS number. 170