HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 178
network short-cut (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 178 highlights
mask-length: Mask length, in the range of 0 to 32. route-policy-name: Routing policy applied to the route. The name is a case-sensitive string of 1 to 63 characters. Description Use network to inject a network to the local BGP routing table. Use undo network to remove a network from the BGP routing table. By default, no network route is injected. The network route to be injected must exist in the local IP routing table, and using a routing policy makes route management more flexible. The ORIGIN attribute of the network route injected with the network command is IGP. Examples # In BGP view, inject the network segment 10.0.0.0/16. system-view [Sysname] bgp 100 [Sysname-bgp] network 10.0.0.0 255.255.0.0 # In BGP-VPN instance view, advertise the network segment 10.0.0.0/16. (The VPN has been created.) 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 network short-cut (BGP/BGP-VPN instance view) Syntax network ip-address [ mask | mask-length ] short-cut View undo network ip-address [ mask | mask-length ] short-cut BGP view, BGP-VPN instance view Default level 2: System level Parameters ip-address: Destination IP address. mask: Mask of the network address, in dotted decimal notation. mask-length: Mask length, in the range of 0 to 32. Description Use network short-cut to configure an EBGP route as a shortcut route. Use undo network short-cut to restore the default. By default, a received EBGP route has a priority of 255. The network short-cut command allows you configure an EBGP route as a shortcut route that has the same priority as a local route and is more likely to become the optimal route. 167