T.R | Title | User | Personal Name | Date | Lines |
---|
827.1 | | NPSS::NEWTON | Thomas Newton | Mon Feb 17 1997 16:35 | 6 |
|
I just checked, and there is an internal function to do this, so it
should be simple to add it to the menu.
However, I don't know whether any new features will be permitted to
go into the current release, so you might have to wait for V2.5.
|
827.2 | when ? | PRSSOS::PEYRACHE | Jean-Yves Peyrache Country Support Group France | Tue Feb 18 1997 04:59 | 5 |
| Good news,
do you have timeframe for V2.5 avaibility ?
JYP
|
827.3 | | NPSS::NEWTON | Thomas Newton | Tue Feb 18 1997 17:48 | 4 |
|
> Do you have timeframe for V2.5 availability ?
No, although I'd guess summer at the earliest.
|
827.4 | | NPSS::NEWTON | Thomas Newton | Tue Feb 18 1997 17:49 | 3 |
|
Also, the menu and the current CLI will go away, to be replaced by a
new CLI. So I should have said "command" instead of "menu item".
|
827.5 | Some commands available now | NPSS::NEWTON | Thomas Newton | Tue Feb 18 1997 20:10 | 31 |
|
I found a few "hidden commands" in the current switch software that may help:
ATMswitch-> netHelp
...
routeAdd "destaddr","gateaddr" - add route to route table
routeDelete "destaddr","gateaddr" - delete route from route table
routeShow - print current route table
...
ATMswitch-> routeShow
ROUTE NET TABLE
destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
16.0.0.0 16.22.1.111 1 1 388 sn0
------------------------------------------------------------------------
ROUTE HOST TABLE
destination gateway flags Refcnt Use Interface
------------------------------------------------------------------------
127.0.0.1 127.0.0.1 5 1 19 lo0
------------------------------------------------------------------------
value = 73 = 0x49 = 'I'
The main drawback I can see to these commands is that they do not store the
information you enter in NVRAM. You'd need to reconfigure the gateway each
time you rebooted the switch.
|
827.6 | More help on "routeAdd" | NPSS::NEWTON | Thomas Newton | Tue Feb 18 1997 20:16 | 52 |
| /******************************************************************************\
*
*
* routeAdd - add a route
*
* This routine adds gateways to the network routing tables.
* It is called from a VxWorks machine that needs
* to establish a gateway to a destination network (or machine).
*
* Both <destination> and <gateway> can be specified
* in standard Internet address format (e.g., 90.0.0.2) or by their
* host names, as specified by hostAdd().
*
* EXAMPLE
* The call:
* .CS
* routeAdd ("90.0.0.0", "gate")
* .CE
* tells VxWorks that the machine with the host name "gate" is the gateway to
* network 90.0.0.0. The host "gate" must already have been created by
* hostAdd.
*
* The call:
* .CS
* routeAdd ("90.0.0.0", "91.0.0.3")
* .CE
* tells VxWorks that the machine with the Internet address 91.0.0.3 is the
* gateway to network 90.0.0.0.
*
* The call:
* .CS
* routeAdd ("destination", "gate")
* .CE
* tells VxWorks that the machine with the host name "gate" is the gateway to
* the machine named "destination". The host names "gate" and
* "destination" must have already been created by hostAdd().
*
* The call:
* .CS
* routeAdd ("0", "gate")
* .CE
* tells VxWorks that the machine with the host name "gate" is the default
* gateway. The host "gate" must already have been created by hostAdd().
* A default gateway is where IP datagrams are routed when there is no
* specific routing table entry available for the destination IP network or host\
.
*
* RETURNS: OK or ERROR.
*
* SEE ALSO:
* .pG "Network"
*/
|
827.7 | Hidden | PRSSOS::PEYRACHE | Jean-Yves Peyrache Country Support Group France | Wed Feb 19 1997 03:52 | 7 |
|
thanks
just to my mind, how to know all Hidden commands ?
JYP
|
827.8 | | NPSS::NEWTON | Thomas Newton | Wed Feb 19 1997 15:40 | 4 |
|
> how to know all Hidden commands ?
Become a developer, and read the source code.
|