jueves, 27 de enero de 2011

Comandos Routers Riverstone

Router# configure   - para configurar

Router# show run   - ver configuración

Router(config)# save active - Salvar hasta el reinicio
Router(config)# save startup  - Salvar definitivo

Mostrar tiempo de encendido y versión
Router# show version  

Software Information
  Software Version   : 9.4.1.1-SZ11
  Copyright          : Riverstone Networks, Inc., Copyright (c) 2000-2006. All rights reserved.
  Image Information  : Version 9.4.1.1-SZ11, built on Thu Jan 26 18:57:13 2006
  Image Boot Location: file:/pc-flash0/boot/ros9411/
  Boot Prom Version  : prom-2.0.1.5
WARNING: This is "Controlled Release" software.  It is to be
         used in a controlled environment by customers with a
         *pre-arranged agreement* with Riverstone Networks.
         Support for this software expires when the "production"
         software is officially released.
System started 2009-06-08 17:17:32
System up 2 days, 1 hour, 41 minutes, 15 seconds.


Mostrar interfaces
>De forma resumida
Router# show ip interface brie

Interface    Status Oper. Status     Address            Broadcast       Vlan/Port
---------    ------ ---------------- -------            ---------       ---------
lo0          up     up              
IPNACIONAL   up     up               10.128.245.20/19   10.128.255.255  NACIONAL/et.2.16
IPMETRO      up     up               193.182.56.14/24   193.152.56.255  METRO/et.2.16
IPCLIENTE01  up     up               162.28.28.9/24     172.28.28.255   CLIENTE01/et.2.1
                                     172.28.5.8/24      172.28.5.255   
                                     172.28.200.8/24    172.28.200.255
  

>De forma extensa
Router# show ip interface

Interface lo0:
    Admin State:          up
    Operational State:    up
    Capabilities:         <LOOPBACK,MULTICAST>
    Configuration:
       MAC Encapsulation: Unknown
       MAC Address:       None/Unknown

Interface IPNACIONAL:
    Admin State:          up
    Operational State:    up
    Capabilities:         <BROADCAST,SIMPLEX,MULTICAST>
    Configuration:
       VLAN:              NACIONAL(Id: 519)
       Ports:             et.2.16
       MTU:               1500
       MAC Encapsulation: ETHERNET_II
       MAC Address:       00:02:85:2E:D7:E0
       IP Address:        10.128.225.20/19  (broadcast: 10.128.255.255)

Interface IPMETRO:
    Admin State:          up                                                
    Operational State:    up
    Capabilities:         <BROADCAST,SIMPLEX,MULTICAST>
    Configuration:
       VLAN:              METRO(Id: 1454)
       Ports:             et.2.16
       MTU:               1500
       MAC Encapsulation: ETHERNET_II
       MAC Address:       00:02:85:2E:D7:E0
       IP Address:        193.152.56.14/24  (broadcast: 193.152.56.255)

Interface IPCLIENTE01:
    Admin State:          up
    Operational State:    up
    Capabilities:         <BROADCAST,SIMPLEX,MULTICAST>
    Configuration:
       VLAN:              CLIENTE01(Id: 20)
       Ports:             et.2.1
       MTU:               1500
       MAC Encapsulation: ETHERNET_II
       MAC Address:       00:02:85:2E:D7:E0
       IP Address:        172.28.28.9/24  (broadcast: 172.28.28.255)
       IP Address:        172.28.5.8/24  (broadcast: 172.28.5.255)
       IP Address:        172.28.200.8/24  (broadcast: 172.28.200.255)
  


Hacer pines

Router# ping 172.28.130.10 source 172.28.200.8 repetitions 500


Mirar la hora
Router# show clock
Current time: 2009-06-10 18:40:14


Mostrar los errores y los descartes
Router# show interface atm0.1  

ATM0.1 is up, line protocol is up
  Hardware is DSLSAR (with Alcatel ADSL Module)
  Description: Conexion con  NMAMUVA1 VPI /VCI 188/198
  Internet address is 10.32.115.106/30
  Backup interface Dialer1, failure delay 3 sec, secondary disable delay 180 sec
  MTU 4470 bytes, BW 640 Kbit, DLY 800 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ATM
     61504 packets input, 20200365 bytes
     125380 packets output, 12588728 bytes
     67053 OAM cells input, 67056 OAM cells output
  AAL5 CRC errors : 0
  AAL5 SAR Timeouts : 0
  AAL5 Oversized SDUs : 0
  Last clearing of "show interface" counters never


Mirar el log
Router# show log

Ctrol + z = retroceder


Mostrar tabla arp (pc conectados)
Router# show arp

Total ARP entries: 69
----------------|--------------------------|------------------------|-----------
     IP Address |     MAC Address          |     Interface[~Port]   |     Flags
----------------|--------------------------|------------------------|-----------
10.128.225.20   | Riverstone 2E:D7:E0      | lo0                    | Static   
10.128.248.1    | 00:14:F6:BD:52:7D        | IPNACIONAL~et.2.16     |          
10.128.248.2    | 00:14:F6:BE:63:FC        | IPNACIONAL~et.2.16     |          
172.28.5.1      | 00:1B:78:39:AE:A9        | IPCLIENTE01~et.2.1     |          
172.28.5.8      | Riverstone 2E:D7:E0      | lo0                    | Static   
172.28.5.9      | Riverstone 2F:02:A0      | IPCLIENTE01~et.2.1     |          
172.28.5.14     | 00:1B:78:13:26:54        | IPCLIENTE01~et.2.1     |          


Mostrar la tabla de enrutado
Router# show ip route

Destination          Gateway              Owner     Netif       
-----------          -------              -----     -----       
10.33.0.0/16         193.152.56.5         RIP       IPMETRO     
10.39.6.115          193.152.56.25        RIP       IPMETRO     
10.128.224.0/19      directly connected   -         IPNACIONAL  
10.216.155.62        193.152.56.5         RIP       IPMETRO     
113.33.78.0/24       193.152.56.5         RIP       IPMETRO     
  

2 comentarios:

Carles dijo...

Me lo parece a mi, o los comandos son casi clavados a los del Cisco IOS???

GoDDeSS dijo...

Si exacto Carles, no te lo parece, son clavados practicamente jeje

Publicar un comentario