HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 38
ip route-static default-preference, Syntax, Default level, Parameters, Description, Examples
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 38 highlights
system-view [Sysname] ip route-static vpn-instance vpn1 1.1.1.1 16 vpn-instance vpn1 1.1.1.2 # Configure a static route: the destination address is 1.1.1.1/24, the output interface is Vlan-interface11, and the next hop address is 2.2.2.2, and enable BFD with the echo packet mode. system-view [Sysname] ip route-static 1.1.1.1 24 Vlan-interface 11 2.2.2.2 bfd echo-packet ip route-static default-preference Syntax ip route-static default-preference default-preference-value View undo ip route-static default-preference System view Default level 2: System level Parameters default-preference-value: Specifies the default preference for static routes, in the range of 1 to 255. Description Use ip route-static default-preference to configure the default preference for static routes. Use undo ip route-static default-preference to restore the default. By default, the default preference of static routes is 60. If no preference is specified when configuring a static route, the default preference is used. When the default preference is re-configured, it applies only to newly added static routes. Related commands: display ip routing-table and ip route-static. Examples # Set the default preference of static routes to 120. system-view [Sysname] ip route-static default-preference 120 27