Comandos Routers
Comandos Routers
Comandos Routers
cfg
Backup a PC
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.
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
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.
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)
sh -ip netaddr
sh bfds (tunel)
sh bgp all
sh -bgp peer
sh -bgp rts
sh -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
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.
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>
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
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>]
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