F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
331
Ping statistics for 1.1.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 1ms, Average = 1ms
2. Traceroute Host A on Host B:
C:\Documents and Settings\Administrator>tracert 1.1.2.2
Tracing route to 1.1.2.2 over a maximum of 30 hops
1 <1 ms <1 ms <1 ms 1.1.6.1
2 <1 ms <1 ms <1 ms 1.1.4.1
3 1 ms <1 ms <1 ms 1.1.2.2
Trace complete.
163B
Configuring a static route at the CLI
Before you configure a static route, complete the following tasks:
• Configure physical parameters for related interfaces.
• Configure link-layer attributes for related interfaces.
• Configure IP addresses for related interfaces.
Follow these guidelines when you configure a static route:
• The next hop address of a static route cannot be the IP address of a local interface. Otherwise, the
static route does not take effect.
• You can associate a track entry with a static route to monitor the reachability of the next hops. For
more information about track, see High Availability Configuration Guide.
• The device supports VPN instances.
To configure a static route:
Ste
p
Command
Remarks
59. Enter system view. system-view N/A
60. Configure a static
route.
• Approach 1:
ip route-static dest-address { mask | mask-length }
{ next-hop-address [ track track-entry-number ] |
interface-type interface-number
[ next-hop-address ] | vpn-instance
d-vpn-instance-name next-hop-address [ track
track-entry-number ] } [ preference
preference-value ] [ tag tag-value ] [ permanent ]
[ description description-text ]
• Approach 2:
ip route-static vpn-instance
s-vpn-instance-name&<1-6> dest-address { mask |
mask-length } { next-hop-address [ public ] [ track
track-entry-number ] | interface-type
interface-number [ next-hop-address ] ] }
[ preference preference-value ] [ tag tag-value ]
[ permanent ] [ description description-text ]
Use either approach.
By default, no static route
is configured.