Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM network protocols command-line interface reference guide.Ver 1.6.pdf
Скачиваний:
29
Добавлен:
23.08.2013
Размер:
1.61 Mб
Скачать

Protocol-specific Commands

4.6.7ripaddroute

The ripaddroute command adds a route to the RIP table.

Syntax

ripaddroute dest subnetmask gw iface metric ttl flags proxy

where:

 

 

dest

Is the destination IP address.

subnetmask

Is the subnet mask.

gw

Specifies the gateway.

iface

Specifies the interface number.

metric

Enters the number of hops.

ttl

Gives the time to live for this entry.

flags

Specifies the flags for this entry, where:

 

0

is the default.

 

1

is (RIP_PRIVATE), to be used for permanent entries.

proxy

Is the proxy IP address for RIP-2.

Example

INET> ripaddroute

usage:ripaddroute dest,subnetmask,gw,iface,metric,ttl,flags,proxy Eg:ripaddroute 192.9.200.54,255.255.255.0,10.0.0.1,1,1,180,0,0.0.0.0 INET> ripaddroute 192.9.200.54,255.0.0.0,10.0.0.1,0,1,180,0,0.0.0.0 INET> riproute

Destination..Gateway......Metric..Mask.......MainTimer..SecTimer..Iface 10.0.0.0 10.0.0.22 1 255.0.0.0 1 0 1 192.9.200.54 10.0.0.1 1 255.0.0.0 29627 0 0

Number of routes = 2 INET> _

Usage

It is helpful to type ripaddroute without any arguments first to get information about the arguments, before you edit any values.

4-38

Copyright © 2000-2001 ARM Limited. All rights reserved.

ARM DUI 0145B