HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 200
peer preferred-value (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 200 highlights
Examples # In BGP view, perform MD5 authentication on the TCP connection set up between the local router 10.1.100.1 and the peer router 10.1.100.2. system-view [Sysname] bgp 100 [Sysname-bgp] peer 10.1.100.2 password simple aabbcc # Perform the similar configuration on the peer. system-view [Sysname] bgp 100 [Sysname-bgp] peer 10.1.100.1 password simple aabbcc # In BGP-VPN instance view, perform MD5 authentication on the TCP connection set up between the local router 10.1.100.1 and the peer router 10.1.100.2. (The VPN has been created.) system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 10.1.100.2 password simple aabbcc # Perform the similar configuration on the peer. system-view [Sysname] bgp 200 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 10.1.100.1 password simple aabbcc peer preferred-value (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } preferred-value value View undo peer { group-name | ip-address } preferred-value 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. value: Preferred value, in the range of 0 to 65535. Description Use peer preferred-value to assign a preferred value to routes received from a peer or peer group. Use undo peer preferred-value to restore the default value. The default preferred value is 0. Routes learned from a peer have an initial preferred value. Among multiple routes that have the same destination/mask and are learned from different peers, the one with the greatest preferred value is selected as the route to the destination. 189