FXO H.323 Gateway User Manual Document Ver.: 118a
Release Sep, 2004
89
4.2.18 [route]
This command is to set routing table for Gateway.
-------------------------------------------------------------------------------------------------
usr/config$ route
Routing table information and configuration
Usage:
route [-print]
[-add [prefix number][dst number][e164 number][min number]
[max number][hunt number]][-delete index]
[-modify [index][prefix number][dst number][e164 number]
[min number][max number][hunt number]
[-ip [dst number][e164 number]][-fxo [dst number][e164 number]]
route -print Display routing table information.
-add Add new routing table record.
prefix The prefix of dialed number.
dst Destination port(1=FXO, 2=IP).
e164 Destination e164 number(when destination is FXO).
max Max digits.(0 ~ 255)
hunt Hunt method for busy forward(0=NONE, 1=GROUP,
2=ALL).
-delete Delete routine table index record.
-modify Modify routing table record.
prefix The prefix of dialed number.
dst Destination port(1=FXO, 2=IP).
e164 Destination e164 number(when destination is FXO).
min Min digits.(0 ~ 255)
hunt Hunt method for busy forward(0=NONE, 1=GROUP,
2=ALL).
-ip Change the IP default rule.(1=FXO, 2=IP)
-fxo Change the FXO default rule.(1=FXO, 2=IP)
Example:
route -add prefix 100 dst 1 e164 1001 min 1 max 3 hunt 1
route -ip dst 1 e164 1001
route -fxo dst 2 e164 x
route -modify 1 prefix 100 dst 0 e164 1001 min 1 max 3 hunt 1