![H3C VG Series Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/h3c/vg-series/vg-series_getting-started_3062504024.webp)
Command Manual – Getting Started
H3C VG Series Voice Gateways
Chapter 1 Fundamental Configuration Commands
1-23
View
System view
Parameter
ip-address
and
mask
: Destination IP address and mask, in dotted decimal notion. Since
the 1s in 32-bit mask must be consecutive, the mask in dotted decimal notion can be
replaced by
masklen
, whose length is the number of the consecutive 1s in the mask.
nexthop-address
: IP address of the next hop (in dotted decimal notion).
preference
value
: Routing precedence in the range from 1 to 255 and defaults to 60.
reject
: Means the route is not reachable.
blackhole
: Means this is a blackhole route.
Description
Use the
ip route-static
command to set a static route.
Use the
undo ip route-static
command to delete the static route.
By default, no static route is configured.
The IP address and mask of the default route both are 0. If the specified route is absent
in the routing table, the default route will be used in forwarding.
When configuring a default route, you can specify the send interface or the IP address
of the next hop. For point-to-point interfaces, you just assign the send interface. But for
the interfaces which require translation from network addresses to link-layer addresses,
for example Ethernet interfaces, you should configure the IP address of the next hop.
Note:
For PPPoE-supported VG 10-40 and VG 10-41 configured with the Dialer interface, the
ip route-static
0.0.0.0 { 0.0.0.0 | 0 } {
nexthop-address | dialer
0 ] } [
preference value
]
[
reject
] [
blackhole
] command can be used to configure the default route.
Only on the VG 10-40 and VG 10-41, you can configure the next hop as the Dialer
interface.
Example
# Configure the next hop of the default route as 129.102.0.2.
[VG] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2