On Wed, 13 Jun 2001, Dani Arbel wrote:
> 
> You are totaly wrong. The ADSL just act as a bridge for the PPP session,
> moving it from a pptp (or PPPoE in other setups) into an ADSL over ATM.
> This is a simple task (implementing a PPTP server), and the ADSL anyway
> have to implement lots of ATM stuff (login into the beast and take a
> look...).

BTW, all of this works with the "phone line" unplugged.  For your
amusement... ;)

Just wondering, does anyone know how to return to the "root" command tree?  
If you type 'ip' for example, IIRC you will get a prompt something like
 10.0.0.138 ip>
Doing a @atm, for example, will change you to the atm process, but I can't
figure out how to get back to "root".  Closing (@close) the connection and
connecting again brings you back to the same place.

-Cedar
------

10.0.0.138> help

Commands are:

atm            bppt           bridge         buffer         bun            
chips          config         edd            ethernet       event          
flashfs        ip             isfs           portcli        pptp           
r1483          restart        snmp           tftp           uptime         
version        wdog           

  '.'        repeats the last command
Type 'help all' or 'help <command>' for more details
10.0.0.138> flashfs help
FLASHFS commands are:
 help          - this text is displayed
 id <x>        - display chip ID for device x (0-1)
 ls [-l] [rdl] - list FLASHFS files [more detail]
 cat <file>    - show file contents
 trace [level] - show/set tracing level (0-4)
 fsck [rdl/dyn]- file system check, checks FLASH integrity
 update        - commit ISFS files to FLASH
 version       - displays version number and chip count

Tomer's additions:
 map           - shows flash map
 default       - saves default flag
 bad           - toggle bad flashfs flag
 force         - force ls
 dump <a1> <a2>- dump flashfs contents
 write <a> <v> - change flashfs contents
 empty         - emptys flashfs
 prog          - toggle flashfs programming tracing
 timing        - toggle flashfs timing display

 stuck <n>     - stuck process for n period
 mac [mac]     - view/change mac address
 wdog          - disable watchdog
10.0.0.138> flashfs ls -l
FLASHFS file area in 0x001efff0
rel. addr ffed4510  next ffffdb10   1217992 fix image
rel. addr ffffdb10  next fffffc10      8184 fix NPimage
rel. addr fffffc10  next        0        94 fix custom_cfg
   3 fixed files
rel. addr       10  next      110        96 dyn initpptp
rel. addr      110  next      210       176 dyn pptp_cfg
rel. addr      210  next      410       247 dyn accesslevels
rel. addr      410  next      510         0 dyn initvbr
rel. addr      510  next      910       888 dyn sw.cfg
rel. addr      910  next      a10       143 dyn resolve
rel. addr      a10  next      b10        88 dyn initsw
rel. addr      b10  next      c10         0 dyn hostfile
rel. addr      c10  next      d10         0 dyn portfile
rel. addr      d10  next      e10         0 dyn switchinit
rel. addr      e10  next      f10        20 dyn ipaddresses
rel. addr      f10  next     1010        41 dyn snmpinit
rel. addr     1010  next     1110        78 dyn services
rel. addr     1110  next     1210        16 dyn initbridge
rel. addr     1210  next     1310         0 dyn initr1483
rel. addr     1310  next     1410         0 dyn consoleinit
rel. addr     1410  next     1510         0 dyn consolenetinit
rel. addr     1510  next     1610        82 dyn oamseg
rel. addr     1610  next     1710       111 dyn connections
rel. addr     1710  next     1810        88 dyn initswitchcli
rel. addr     1810  next     1910         0 dyn initppp
rel. addr     1910  next        0        55 dyn cfg_list
  22 dynamic files
10.0.0.138> ip help all
? syntax:
  help             - list commands available
  help all         - list commands and their syntax
  help <command>   - list syntax for command

arp syntax:
  arp <cmd>        - execute arp subcommand
  arp help         - list subcommands available

config syntax:
  config [save]    - display config or save to flash

device syntax:
  device [list]    - list interface definitions
  device add <i/f> <type> <file> [mtu <size>] [<IPaddr>]
                   - create interface definition
  device delete <i/f>
                   - remove interface definition
  device flush     - remove all interface definitions

disable syntax:
  disable [<i/f>]  - prevent use of interfaces or just interface <i/f>

enable syntax:
  enable [<i/f> [mtu <size>] [<IPaddr>]]
                   - enable use of all interfaces or interface <i/f> if
given
                   - set <i/f> IP address to <IPaddr>
                   - set MTU for interface

help syntax:
  help             - list commands available
  help all         - list commands and their syntax
  help <command>   - list syntax for command

ipatm syntax:
  ipatm <cmd>       - execute ipatm subcommand
  ipatm help        - list subcommands available

nat syntax:
  nat add <i/f>    - install NAT on interface
  nat delete <i/f> - uninstall NAT from interface

norelay syntax:
  norelay [all | <i/f name> [<i/f name>] [forward]]
                   - disallow relaying between i/fs

ping syntax:
  ping <host> [<ttl> [<size>]]
                   - request echo from <host>

relay syntax:
  relay            - list existing relays in place
  relay all | <i/f name> [<i/f name>] [forward]
                   - allow relaying between i/fs

rip syntax:
  rip <sub cmd>    - execute rip subcommand
  rip help         - list subcommands available

route syntax:
  route add <dom name> a.b.c.d <relay> [am:bm:cm:dm [<cost> [<timeout
s>]]]
                   - define/edit an IP forwarding route
  route delete <dom name>
                   - delete a route
  route flush      - delete all routes

routes syntax:
  routes           - show IP forwarding routes

snmp syntax:
  snmp <sub cmd>   - execute snmp subcommand
  snmp help        - list subcommands available

stats syntax:
  stats <sub cmd>  - execute stats subcommand
  stats help       - list subcommands available

subnet syntax:
  subnet add <net name> <i/f name> a.b.c.d am:bm:cm:dm
                   - create subnet definition
  subnet delete <net name>
                   - remove subnet definition
  subnet flush     - remove all subnet definitions

version syntax:
  version          - display software version no.
10.0.0.138> ip config
device add bridge     ether  //bridge   mtu 1500  10.0.0.138       

subnet add bridge.home    . 10.0.0.0         ff:00:00:00 

rip send    bridge   none 
rip accept  bridge   none 


ipatm lifetime 60

# IP host table:
127.0.0.1       localhost

# Port table:
router     520/UDP
snmp       161/UDP
tftp       69/UDP
telnet     23/TCP
10.0.0.138> atm info
ATM Driver (BUN Emulation, version 5.00, 20/8/1999)
Compile time options: [ COMMAND ]
10.0.0.138> atm pool
Entry:   0  Size:    64  Prefix:   0  Count:    16  Name: MSNL
Entry:   1  Size:    64  Prefix:   0  Count:    64  Name: OAM
Entry:   2  Size:  1536  Prefix:  16  Count:    50  Name: Generic
Entry:   3  (free)
Entry:   4  (free)
Entry:   5  (free)
Entry:   6  (free)
Entry:   7  (free)
Entry:   8  (free)
Entry:   9  (free)
10.0.0.138> 



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to