E.5.7 routing commands and queries – Comtech EF Data CDM-570 User Manual
Page 411
CDM-570/570L Satellite Modem with Optional IP Module
Revision 12
Appendix E
MN/CDM570L.IOM
E–25
E.5.7 Routing Commands and Queries
Parameter
Type
Command
(Instruction
Code and
Qualifier)
Arguments for
Command or
Response to
Query
Description of Arguments
Response to
Command
Query
(Instruction Code
and Qualifier)
Response to
Query
Route Table
RTE
RTE[1..256]=
variable
Command or Query.
sssssssssssss|ddd.ddd.ddd.ddd/DD|i|nnn.nnn.nnn.nnn|hhhh|t|p|c|k|S
s = Route Name up to 13 characters. It should be unique. Reusing of route
names with different index, will end up modifying the existing route.
d = Destination IP Address in xxx.xxx.xxx.xxx/yy where
xxx.xxx.xxx.xxx is IP address and
yy – Subnet mask bits. To mean ‘Any IP Address’ indicate it by
***.***.***.***/** format.
D = Destination Subnet Mask Bits.
i = Interface 1 – Sat and 0 – Ethernet
n = Next Hop IP Address in xxx.xxx.xxx.xxx format.
To be valid the next hop should be on the same subnet
as the router IP Address. This field will be all ‘*’ for a ‘SAT’ directed route. It
means, for a route with valid HDLC address this field will be ‘***************’.
h = HDLC Addr in 4-digit hexadecimal number. Valid
range is 0x00 to 0xFE in Router-Small Network mode.
And 0x0000 to 0x7FFE for Router-Large Network
mode. This field will be all ‘*’ for ‘ETH’ directed route.
It means, if the route has a valid next-hop, then this field is ‘****’ [meaning HDLC
Address is not Used.]. HDLC Address is not used in point-to-point mode, may
default to ‘1’.
t = Header Compression 0 – No 1 – Yes.
p = Payload Compression 0 – No 1 – Yes.
c = DES Encryption 0 – No 1 – Yes.
k = DES Key to use 0 – Don’t use any key 1 – 8 use as
mentioned and 9 – Use Random key.
S = Multicast state 0-None 1=Eth-to-Sat 2=Sat-to-Eth
3=toBoth
When called using an existing index, the command is treated as a “modify”. Only
new routes can be added at the END of the list:
Example: RTN?
RTN=3
<1/rte[3]= rt3|239.111.102.222.32|0|192.168.001.022|00AB|0|0|1|5|3
Sat Directed Route:
>0001/RTE[1]=rt1|011.012.013.014/32|1|***.***.***.***|1111|0|0|0|0|0
Eth Directed Route:
>0001/RTE[4]=rt4|012.013.014.015/32|0|192.168.001.111|****|0|0|0|0|0
RTE =
RTE!
RTE[1..256]?
RTE[1..256] = xxx
(see description of
arguments)