You are on page 1of 8

copy a:/primary/boot.cfg 10.101.1.236:boot.

cfg

UBICARSE PRIMERO EN EL PRIMARY CON un comando CD

copy 10.0.0.1:z01rf022r2_10.101.22.251.cfg a:/primary/boot.cfg (COPIAR ARCHIVO DE


PC A GGM)
copy 10.0.0.1:z01rf022r2_10.101.22.251_acl.cfg a:/primary/acl.cfg (COPIAR ARCHIVO
DE PC A GGM)
copy 10.0.0.1:staticRP.cfg a:/primary/staticRP.cfg (COPIAR ARCHIVO DE PC A GGM)

copy a:/primary/boot.cfg 10.1.233.189:boot.cfg (COPIAR ARCHIVO DE GGM A PC)


copy a:/primary/acl.cfg 10.1.233.189:acl.cfg (COPIAR ARCHIVO DE GGM A PC)
copy a:/primary/staticRP.cfg 10.1.233.189:staticRP.cfg (COPIAR ARCHIVO DE GGM A PC)

copy a:/primary/* a:/secondary

copy a:/primary/boot.cfg 10.101.1.236:boot.cfg

copy 10.101.1.239:z001rfs021r2_10.101.21.253.cfg a:/primary/boot.cfg


copy 10.101.1.239:z001rfs021r2_10.101.21.253_acl.cfg a:/primary/acl.cfg
copy 10.101.1.239:staticRP.cfg a:/primary/staticRP.cfg

copy a:/primary/* a:/secondary

para repetir el ultimo comando tipear !!!

Backup a PC

copy a:/primary/* 10.1.233.186:/*

To subsequently restore the router configuration from the backup in the secondary
directory in the event that the
contents of the primary directory have become corrupted, follow these steps:
a) From the EnterpriseOS# prompt, enter SF 7 to open the SysconF command Boot
Sources menu.
b) Enter 3 to direct the router to boot from the secondary directory.
c) Reboot the router.

Pushing EOS Locally


===================
Push new EOS locally from a latop by using TFTP.
Procedure:
1 Log on to the router by using the console connection. Enter the username (root)
and appropriate password (usually
no password on a new gateway).
2 Point the TFTP server to the boot.ppc file.

3 Assign an IP address to the laptop with the appropriate subnet mask.


For example, assign 10.0.0.1 with 255.255.255.0.
Note: This IP address has to be in the same subnet as the router�s interface that
will be connected to the
laptop�s Ethernet card.

4 Connect the laptop�s Ethernet card to port 1 of the device (!1) by using a
crossover cable.

5 On the router (with the 10.0.0.2 IP address in this example), perform the
following actions:
a) Enter:
setd !1 -ip netaddr= 10.0.0.2 255.255.255.0
b) Enter: setd !1 -po cont=e
c) Enter: setd !1 -pa cont=e

6 To check if Port 1 status is up, enter: show �ip neta

7 Ping the laptop IP address to check connectivity.

8 Enter:
copy 10.0.0.1:/boot.ppc a:/primary/boot.ppc
Note: The boot.ppc file is copied from the TFTP directory into the router's primary
directory. The file
transfer takes about 1 to 3 minutes.

9 Reboot the router.

10 After the reboot, verify EOS by entering:


show -sys soi a:/primary/boot.ppc
This command displays the EOS software package and version number for the specified
boot file in the gateway�s
primary directory. Verify that the correct package and version are listed.

En la configuracion del router son 3 archivos que se deben pasar al equipo, el boot
el acl y el stactiRP(este es un unico archivo para cualquier router)

show interfaces brief

sh -ip netaddr
sh bfds (tunel)
sh bgp all
sh -bgp peer
sh -bgp rts

sh -nat

sh -ip alr (routes)


sh -ip ro (routes)
sh -nat am
sh -nat sess (show my nat)

ACL
===
Muestra si la ACL esta cargada
sh -fw control

Habilita el PING
SETD !all -fw cont = nofilter
Zone 1 NM/Dispatch Site 6 Router 2
[1]z001ds006r2# SETD !all -fw cont = nofilter
! 1: ...
! 2: ...
! 3: ...
! 4: ...
! V2: ...

>deshabilita el PING
[2]z001ds006r2# SETD !all -fw cont = filter
! 1: ...
! 2: ...
! 3: ...
Open !3 InFilter acl_ESL parsing ....OK
! 4: ...
! V2: ...
Open !V2 InFilter acl_in parsing ...........OK
Open !V2 OutFilter acl_out parsing ...........OK

Carga ACL
lc acl.cfg

AntiACL

lc antiACL.cfg ia (carga el antiacl e gnora errores)


lc acl.cfg (recarga el acl.cfg e ignora errores)

El archivo antiacl.cfg es uno solo para todos los routers del sistema y es el mismo
para sistemas en la misma versi�n.
El antiacl.cfg se introdujo en version 7.15.
El ACL no debe cararse en los border routers o debe sedr configurado a mano antes
de cargarlo debido a las redes del cliente.

copy 10.1.6.41:boot.ppc a:/primary/boot.ppc


copy 10.1.6.41:z001ds006r1_10.1.6.254.cfg a:/primary/boot.cfg
copy 10.1.6.41:z001ds006r1_10.1.6.254_acl.cfg a:/primary/acl.cfg
copy 10.1.6.41:staticRP.cfg a:/primary/staticRP.cfg

copy a:/secondary/boot.ppc a:/primary/

SYNTAX
BS
DESCRIPTION
Use the BS command to display a menu that allows you to display or change boot
source information and to boot the GGM 8000.
SOURCE Boot Source Selection
SRC1 Source 1 Configuration
SRC2 Source 2 Configuration
SRC3 Source 3 Configuration
SOURCE (BOOT SOURCE SELECTION)
SYNTAX
SOURCE sel=<0|1|2|3>

Router GGM 8000 sin placa de expansion


sh -pa la
[10]z01nmd002r1# sh -pa la
+-----------------------------------GGM8000------------------------------------+
| |
| |
| |
| |
| |
| |
| |
| T1/E1 ETHERNET Console |
| +-+ +-+ +-+-+-+-+ _____ |
| |"| |"| |"|"|"|"| \:::/ |
| +-+ +-+ +-+-+-+-+ |
| 5B-5A 4 3 2 1 |
| |
+--------------------------------Motorola, Inc.--------------------------------+
Router GGM 8000 CCGW HD8
sh -pa la
+-----------------------------------GGM8000------------------------------------+
| |
| ANALOG-AUX ANALOG-E&M V.24 V.24 |
| +-+-+-+-+ +-+-+-+-+ +-+ +-+ +-+ +-+ |
| |"|"|"|"| |"|"|"|"| |"| |"| |"| |"| |
| +-+-+-+-+ +-+-+-+-+ +-+ +-+ +-+ +-+ |
| 13D - 13A 12D - 12A 11B-11A 10B-10A |
| |
| ANALOG-AUX ANALOG-E&M V.24 V.24 T1/E1 ETHERNET Console |
| +-+-+-+-+ +-+-+-+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+-+-+-+ _____ |
| |"|"|"|"| |"|"|"|"| |"| |"| |"| |"| |"| |"| |"|"|"|"| \:::/ |
| +-+-+-+-+ +-+-+-+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+-+-+-+ |
| 9D - 9A 8D - 8A 7B-7A 6B-6A 5B-5A 4 3 2 1 |
| |
+--------------------------------Motorola, Inc.--------------------------------+

sh -po virtualport
Port !V1 VirtualPort = IPIP 192.168.24.105 192.168.24.100
Port !V2 VirtualPort = IPIP 192.168.24.105 192.168.24.101
Port !V20 VirtualPort = 3 VLan 765

z01nmd002r1# sh -po name


Port !1 NAme = PO_1
Port !2 NAme = PO_2
Port !3 NAme = PO_3
Port !4 NAme = PO_4
Port !V1 NAme = PO_C002A
Port !V2 NAme = PO_C002B
Port !V20 NAme = Backhaul

sh -po paths
Port !1 PAths = 1
Port !2 PAths = 2
Port !3 PAths = 3
Port !4 PAths = 4
Port !V1 PAths = IPIP 192.168.24.105 192.168.24.100
Port !V2 PAths = IPIP 192.168.24.105 192.168.24.101
Port !V20 PAths = 3 VLan 765

sh -po control
Port !1 CONTrol = Enabled
Port !2 CONTrol = Disabled
Port !3 CONTrol = Enabled
Port !4 CONTrol = Disabled
Port !V1 CONTrol = Enabled
Port !V2 CONTrol = Enabled
Port !V20 CONTrol = Enabled

En boot mode
FO : format flash (borra todo!!! factory default)

[21]z01nmd002r1# ?
----------------------------Configuration Commands-----------------------------
ADD [!<portlist>] [-<service>] <set-name> <set-member>
DELete [!<portlist>] [-<service>] <set-name> <set-member>
FLush [!<portlist>] [-<service>] <param-name>
MEnu [-<service>] [<param-name>]
SET [!<portlist>] [-<service>] <param-name> = <value> ...
SETDefault [!<portlist>] [-<service>] <param-name> = <value> ...
SHow [!<portlist>] [-<service>] <param-name> ...
SHowDefault [!<portlist>] [-<service>] <param-name> ...
SysconF [<number>]
SysInfo [<number>]

------------------------------AC Service Commands------------------------------


AddUser [<user name>]
DELeteUser <user name>
EXPire <user name>
PassWord
UserManage

---------------------------AuditLog Service Commands---------------------------


AuditLog AuditLog [<priorityLevel> is [LogEMerg | LogALert | LogCRitical |
LogERror | LogWArning | L"

-----------------------------BGP Service Commands------------------------------


--<CR> to continue, Q to quit--
SAVEbgp [All]

-----------------------------CCGW Service Commands-----------------------------


DevSysTone !<port> [ START Level <-20 .. 11> Timer <5 .. 480> | STOP ]

----------------------------CRYPTO Service Commands----------------------------


GenSshKey { [ <algorithm> <bits> ] }

<algorithm>: RSA | DSA


<bits>: 1024 | 2048

Note : DSA only allowed 1024 bits.


Default : RSA / 2048 bits
IkeRekey [<Version>] <Peer IP> <Port> <Dst IP>
KEKGenerate
KEKZeroize
ShowSshKey
SSH < user > @ < IP address | Target name >
ZEROize
-----------------------------CWR Service Commands------------------------------
SwitchRelays { ![ All | <slot> ] ( Give | Take ) }

----------------------------DVMRP Service Commands-----------------------------


MRInfo <target IP> [!<port>] [<timeout (0-120 seconds)>]
MTraceRoute <source> <destination> [G <group>] [H <reports>] [!<port>]
[T <timeout>] [W <gateway>] [R <Resp addr>] [L <Resp ttl>]

----------------------------FIlter Service Commands----------------------------


CHange StationGroup <oldstationgroupname> <newstationgroupname>
--<CR> to continue, Q to quit--

---------------------------FireWall Service Commands---------------------------


RESTart
TEst

------------------------------FR Service Commands------------------------------


AtmToFr <VPI.VCI address>
FrToAtm <DLCI address>

------------------------------IP Service Commands------------------------------


PING [!<source-port> | !<source-IP>] [C <Count>] [W <Wait>]
[T <TTL>] [L <Length>] [I <Increment>] [D <"Data">]
[R <Record>] [TOS <tos>] <target-IP | target-name>

(C)ount : Number of ping requests to send (1-1000000)


(W)ait : Time in millisec to wait for each reply (100-1000000 ms)
(T)TL : Time to live (1-255)
(L)ength : Size of the data in bytes (1-16000)
(I)ncrement: Data increment for multiple requests (1-1024)
(D)ata : Data string in quotes (1-80 characters)
(R)ecord : If present, turns on record route option in ping pkts

TraceRoute <IP Address | Target name> [<tos> [SourceRoute]]


SecCheck

-----------------------------IPV6 Service Commands-----------------------------


PING6 [!<port>|!<tunnel id>] <IPv6 address>
[W <Wait>] [L <Length>] [D <"Data">]

(W)ait : Time in seconds to wait for each reply (0-300sec)


(L)ength : Size of the data in bytes (1-16000)
(D)ata : Data string in quotes (1-80 characters)

TraceRoute6 <IPv6 address>

-----------------------------LDAP Service Commands-----------------------------


GetLdapConf [!<port>] <"user name"> <"service name">
ShowLdapConf <"user name"> <"service name">

-----------------------------MIP Service Commands------------------------------


--<CR> to continue, Q to quit--
IGMPSend !<source-port> [V1 | V2] <Type> [SubType]
<GroupAddr> [Count]

source-port: port no. through which you want IGMP packets out
source-IP : IP address to use when sending IGMP packets out
V1_V2 : IGMP Version to use
Type : IGMP packet type to sent; hex value
SubType : SubType field value in IGMP packet in hex
GroupAddr : GroupAddr in IGMP packet depending on Packet type
Count : No. of IGMP packets to be sent

-----------------------------NAT Service Commands------------------------------


NATReStart

-----------------------------PATH Service Commands-----------------------------


DIal !<port|path> -<POrt|PAth> ["<dial-string>"]
HangUp !<port|path> -<POrt|PAth>
DS3Lpbk !<path> -pa
[HSSIntrnl | HSSIPassive | HSSILclDte | HSSILclLine |
HSSIRemLine | T3Intrnl | T3Passive | T3Extrnl | E3Intrnl |
E3Passive | DS3LbkStop]
WANTrace !<path>
[ PPP_CTL | PPP_ALL | FR_CTL | FR_ALL | WAN_RAW | WAN_DECODE ]
[ TxCount <Count> ][ RxCount <Count> ][ Wait <seconds(1-1000)> ]
LPBCK !<path> -pa
[RmLnLpbck | RmPyldLpbck | RmATtPyld | RmATtLn |
RmANsiPyld | RmANsiLn | STOP | Status]
QrssTest !<path> -pa
[Status | SingleErrInj | ContErrInjBegin [<n>] | ContErrInjEnd |
QrssDisable | QrssEnable [FQRSS | UQRSS | F11ZN | U11ZN |
F15ZN | U15ZN | F23ZN | U23ZN |
F20N | U20N | F11N | U11N |
F15I | U15I | F23I | U23I]]

-----------------------------PKI Service Commands------------------------------


PkiCONFigure

-----------------------------PORT Service Commands-----------------------------


DIal !<port|path> -<POrt|PAth> ["<dial-string>"]
HangUp !<port|path> -<POrt|PAth>

-----------------------------RDP Service Commands------------------------------


DiscRouteRs [!<port> | <source IP>] [Broadcast] [<timeout (1 - 30 seconds)>]

--<CR> to continue, Q to quit--


-----------------------------SNMP Service Commands-----------------------------
SNMP SNMP <mib_object_id> <type> <value> [<mib_object_id> <type> <value>]
...
ResetV3

-----------------------------SYS Service Commands------------------------------


CAT [Start = <position>] [Mode = BInary | LineNumbers] [<device>:]
[<path>/]<filename>
ChangeDir [<device>:][<path>]
COpy [<device> | <domain_name> :]<src_filename> [<device> | <domain_name>
:][<dest_filename>]
DEFine <macro name> = (<text>)
DEFRag [<device>:]
DiskFiles [<device>:][<path>]
DLTest [ Abort|DestAddr|PArameters|PktCount|PktSize|RAte|RcvCheck|
SrcAddr|START|STATistics|StatUs|TestMode|TestDuration|ZeroStats ]
DO <macro name>[+<macro name>] [<params>]
Echo [-n] "<string>"
FORMAT [<device>:]
GET [<IP address> | <domain_name> :][<src_path>/]<src_filename>
[<device>:][<dest_path>/][<dest]
InStall Simple User Interface
Listen [!<port>]
LoadConfigs [-<service> ... -<service>] | [-<line number>] [IgnoreErrors]
[<device>:][<path>/]<file nam>
MacAddrConvert <MacAddress>
MakeDir [<device>:][<path>]<subdirectory name>
MONitor
PAuse [ <seconds> ]
--<CR> to continue, Q to quit--
PAuseMS [ <milli seconds(0..3600000)> ]
PUT [<device>:][<src_path>/]<src_filename> [<IP address> | <domain_name>
:][<dest_path>/][<dest]
ReBoot [slot] | Delay = [hh:mm[:ss] | Cancel | Show]
REMote [ <IP address> | [&<network>]%<host> ] [<command>]
RemoveDir [<device>:][<path>/]<subdirectory name>
RemoveFile [<device>:][<path>/]<file name>
ReName [<device>:][<path>/]<old name> <new name>
SAVECapture
SysPassWord
TELnet <IP address | Target name> | <NSAP address>
TELNET6 [!<port>|!<tunnel id>] <IPv6 address>
UNDefine <macro name>

You might also like