##Verificación de servicio PE##
»»Verificación de interfaz
»»Ping a nivel wan
»»Sap, QoS y Ancho de banda
»»Descripción del puerto
#show service id 500100721 interface _ip wan plantilla +1
2. Ping Router
#ping a+1 router 500100721
3. Verificación BW
#show service id 500100721 sap qos cx/x/x:y
4. Verificación Puerto
#show port cx/x/x:y description
#show port cx/x/x:y detail
###################### BUSCAR NUEVA RUTA PUERTO ###########################
A:BQA-EST# show router 500100721 route-table 10.254.24.105
===============================================================================
Route Table (Service: 500100721)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.254.24.104/30 Remote BGP VPN 02h50m38s 170
10.251.3.34 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: L = LFA nexthop available B = BGP backup route available
n = Number of times nexthop is repeated
===============================================================================
*A:BQA-EST# logout
Connection to 10.250.3.33 closed.
opkstep1@secradbogsrv01:/$ ssh
You have to specify host.
Usage: ssh [options] host [command]
Options:
-l user Log in using this user name.
-n Redirect input from /dev/null.
-F config Config file (default: ~/.ssh/config).
-A Enable authentication agent forwarding.
-a Disable authentication agent forwarding (default).
-X Enable X11 connection forwarding.
-x Disable X11 connection forwarding (default).
-i file Identity for public key authentication (default: ~/.ssh/identity)
-t Tty; allocate a tty even if command is given.
-T Do not allocate a tty.
-v Verbose; display verbose debugging messages.
Multiple -v increases verbosity.
-V Display version number only.
-q Quiet; don't display any warning messages.
-f Fork into background after authentication.
-e char Set escape character; ``none'' = disable (default: ~).
-c cipher Select encryption algorithm
-m macs Specify MAC algorithms for protocol version 2.
-p port Connect to this port. Server must be on the same port.
-L listen-port:host:port Forward local port to remote address
-R listen-port:host:port Forward remote port to local address
These cause ssh to listen for connections on a port, and
forward them to the other side by connecting to host:port.
-D port Enable dynamic application-level port forwarding.
-C Enable compression.
-N Do not execute a shell or command.
-g Allow remote hosts to connect to forwarded ports.
-1 Force protocol version 1.
-2 Force protocol version 2.
-4 Use IPv4 only.
-6 Use IPv6 only.
-o 'option' Process the option as if it was read from a configuration file.
-s Invoke command (mandatory) as SSH2 subsystem.
-b addr Local IP address.
opkstep1@secradbogsrv01:/$ ssh 10.251.3.34
Could not create directory '/home/opkstep1/.ssh'.
The authenticity of host '10.251.3.34 (10.251.3.34)' can't be established.
RSA key fingerprint is b3:1f:86:b4:a2:ca:98:e9:44:4b:ab:1b:1c:95:57:41.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Failed to add the host to the list of known hosts (/home/opkstep1/.ssh/known_hosts).
User AuthenticationPassword:
Info: The max number of VTY users is 10, and the number
of current VTY users on line is 1.
The current login time is 2018-12-04 15:27:24-05:00.
########################## COMANDOS HUWAEI ####################
telnet vpn-instance 500100721 172.16.10.42
<IBA-MAR-H>display ip vpn-instance verbose 500100721
VPN-Instance Name and ID : 500164720, 24
Description : FEDEARROZ
Interfaces : GigabitEthernet1/1/4.1526
Address family ipv4
Create date : 2016-09-22 17:04:30-05:00
Up time : 61 days, 16 hours, 20 minutes and 11 seconds
Route Distinguisher : 3816:164721001
Export VPN Targets : 3816:164720000
Import VPN Targets : 3816:164720000
Label Policy : label per route
The diffserv-mode Information is : uniform
The ttl-mode Information is : pipe
Log Interval : 5
<SMT-C13-H>display interface GigabitEthernet5/1/1.1517
GigabitEthernet5/1/1.1517 current state : UP
Line protocol current state : UP
Last line protocol up time : 2014-01-17 19:10:28 UTC-05:00
Description:GASES__FUNDACION
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.2.145/30
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 781d-baa5-ee2a
Current system time: 2014-05-16 07:58:02-05:00
Last 30 seconds input rate 32 bits/sec, 0 packets/sec
Last 30 seconds output rate 32 bits/sec, 0 packets/sec
Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec
Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec
Input: 418047 packets,30759956 bytes,
394166 unicast,23881 broadcast,0 multicast
0 errors,0 drops,
Output:407556 packets,31273887 bytes,
399542 unicast,8014 broadcast,0 multicast
0 errors,9 drops
Input bandwidth utilization : 0%
Output bandwidth utilization : 0%
<SMT-C13-H>ping -vpn-instance 500104302 10.1.2.146
PING 10.1.2.146: 56 data bytes, press CTRL_C to break
Reply from 10.1.2.146: bytes=56 Sequence=1 ttl=255 time=10 ms
--- 10.1.2.146 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 8/12/27 ms
<IBA-MAR-H>display traffic policy interface BRIEF GigabitEthernet1/1/4.1526
Interface InboundPolicy OutboundPolicy
GigabitEthernet1/1/4.1526 FEDEARROZ_2048_in FEDEARROZ_2048_out
<IBA-MAR-H>display traffic policy user-defined FEDEARROZ_2048_out
<SMT-C13-H>display interface GigabitEthernet5/1/1
GigabitEthernet5/1/1 current state : UP
Line protocol current state : DOWN
Description:to_CIENAGA_CENTRO_3/FUNDACION_CENTRO_2
Route Port,The Maximum Transmit Unit is 1522
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 781d-baa5-ee2a
The Vendor PN is MXPD-243S
The Vendor Name is HG GENUINE
Port BW: 1G, Transceiver max BW: 1G, Transceiver Mode: SingleMode
WaveLength: 1310nm, Transmission Distance: 10km
Rx Power: -6.58dBm, Warning range: [-19.00, -3.00]dBm
Tx Power: -6.60dBm, Warning range: [-8.62, -4.62]dBm
Loopback:none, full-duplex mode, negotiation: disable, Pause Flowcontrol:Receive Enable and
Send Enable
Last physical up time : 2013-11-24 12:21:09
Last physical down time : 2013-11-24 12:20:44
Current system time: 2014-05-16 07:58:43-05:00
Statistics last cleared:2013-10-23 23:55:27
Last 30 seconds input rate: 7502616 bits/sec, 5673 packets/sec
Last 30 seconds output rate: 74026752 bits/sec, 7803 packets/sec
Input: 24440310388379 bytes, 114982954339 packets
Output: 181840674030101 bytes, 162317717517 packets
Input:
Unicast: 114961314978 packets, Multicast: 8753111 packets
Broadcast: 12886250 packets, JumboOctets: 77842131 packets
CRC: 10 packets, Symbol: 0 packets
Overrun: 0 packets, InRangeLength: 0 packets
LongPacket: 0 packets, Jabber: 0 packets, Alignment: 0 packets
Fragment: 0 packets, Undersized Frame: 0 packets
RxPause: 0 packets
Output:
<IBA-MAR-H>display bgp vpnv4 vpn-instance 500102210 peer
BGP local router ID : 10.251.5.100
Local AS number : 3816
VPN-Instance 500102210, Router ID 10.251.5.100:
Total number of peers : 1 Peers in established state : 0
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
10.21.0.178 4 65500 0 0 0 04:39:34 Connect 0
<SMT-C13-H>ping -vpn-instance 500104302 -c 20 10.1.2.146
PING 10.1.2.146: 56 data bytes, press CTRL_C to break
Reply from 10.1.2.146: bytes=56 Sequence=1 ttl=255 time=8 ms
Reply from 10.1.2.146: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 10.1.2.146: bytes=56 Sequence=19 ttl=255 time=11 ms
Reply from 10.1.2.146: bytes=56 Sequence=20 ttl=255 time=9 ms
--- 10.1.2.146 ping statistics ---
20 packet(s) transmitted
20 packet(s) received
0.00% packet loss
round-trip min/avg/max = 7/9/11 ms
<SMT-C13-H>ping -vpn-instance 500104302 -c 20 -m 30 10.1.2.146
<BOG-31000-H-1>telnet vpn-instance 500003011 10.7.78.114
##############Configuración Básica de Router HP H3C con Comware##############
#Comandos Basicos
<HP>system-view ;Entrar en modo enable para configurar cualquier servicio
<HP>reset saved-configuration ;Resetear las configuraciones del Router
<HP>save ;Guardar cambios
<HP>reboot ;Reiniciar equipo
<HP>reset ;Resetear algún servicio
[HP]display history ;Muestra el historial de comandos ingresados
[HP]display ip routing-table ;Mostrar rutas estáticas
[HP]display rip ;Muestra rutas RIP
[HP]display current-configuration ;Muestra todas las configuraciones actuales
[HP]display ip interface brief ;Ver la información de las interfaces de red
[HP]display brief interfaces ;Ver el estado de las interfaces
[HP]display vlan all ;Visualizar la información de las VLAN
[HP]quit ;Salir de cualquier opciones
[HP]sysname ;Establecer hostname
#Definir Banner (Para salir ingresar % al final del Banner ingresado)
[HP]header motd
#Definir rutas Estaticas
[HP]ip route-static XXX.XXX.XXX.XXX
#Definir DNS
[HP]dns server 8.8.8.8
#Asignacion DHCP en Interfaces
[HP]interface Ethernet 0/0
[HP-Ethernet0/0]description Red-WAN
[HP-Ethernet0/0]ip address dhcp-alloc
[HP-Ethernet0/0]quit
#Asignacion de IP Fija en Interfaces
[HP]interface Ethernet 0/0
[HP-Ethernet0/0]description Red-WAN
[HP-Ethernet0/0]ip address 192.168.0.10 255.255.255.0
#Crear vlan
[HP]vlan 20
[HP-vlan20]name Wireless
[HP-vlan20]description Red Wireless
[HP-vlan20]quit
#Asignar un usuario console VTY
[HP]user-interface console 0
[HP-ui-console0]authentication-mode password
[HP-ui-console0]set authentication password simple engelausmetall
Comando Como utilizarlo Descripción
system-view YOKA_COMUNICACIONES> system-view Modo privilegiado
YOKA_COMUNICACIONES] display ip
display ip interface brief
interface brief Estado de las interfaces
display saved-config display saved-config configuración de arranque
mostrar algunos
display start display start
parametros de arranque
display arp YOKA_COMUNICACIONES] display arp Muestra tabla ARP
YOKA_COMUNICACIONES] display current-
display current-configuration
configuration Configuración del router
ping -a x.x.x.x -c X
ping -a
YOKA_COMUNICACIONES]
x.x.x.xping -a x.x.x.x -c X
186.113.16.217 -c 100
x.x.x.xping -a x.x.x.x -c X Ping con fuente y
200.41.9.39
x.x.x.x repeticiones
YOKA_COMUNICACIONES] display fr pvc-
display fr pvc-info info Muestra pvc frame-relay
display clock YOKA_COMUNICACIONES] display clock Hora en el router
display interface serial
YOKA_COMUNICACIONES] display interface
x/xdisplay interface serial
Serial0/0
x/xdisplay interface serial x/x Estado de la interface
Estado del protocolo y el
YOKA_COMUNICACIONES] dis ospf peer tiempo que ha estado
display ospf peer arriba
quit YOKA_COMUNICACIONES] quit Salir
shut CORBANCA-Vlan-interface1] shut Reinicio de la interface
display int Vlan-interface
xdisplay int Vlan-interface Se verifica el estado de la
xdisplay int Vlan-interface x CORBANCA] disp int Vlan-interface1 interface
reset counters interface
Serial x/xreset counters
interface Serial x/xreset reset counters
YOKA_COMUNICACIONES> Resetear contadores de la
counters interface Serial x/x interface Serial0/0 interface
interface Ethernet
x/xinterface Ethernet FINANCIERA_COMPARTIR_CL68] interface
x/xinterface Ethernet x/x Ethernet 0/1 Se ingresa a la interface
SOLSALUD_BUC_PPAL-Ethernet0/1] ip count Creación registro IP
ip count outbound-packets outbound-packets accounting
undo ip count outbound- undo ip
SOLSALUD_BUC_PPAL-Ethernet0/1] Eliminación registro IP
packets count outbound-packets accounting
display ip count outbound- FINANCIERA_COMPARTIR_CL68]display ip
packets exterior count outbound-packets exterior Verificación IP accounting
display ip count outbound- display ip
FINANCIERA_COMPARTIR_CL68]
packets interior count outbound-packets interior Verificación IP accounting
Habilita estadística ip
ip count enable SOLSALUD_BUC_PPAL] ip count enable count global
ip count timeout Xip count Configura tiempo de
timeout X SOLSALUD_BUC_PPAL] ip count timeout 60 refresh
ip count interior-treshold Xip SOLSALUD_BUC_PPAL] ip count interior- Configura umbrales
count interior-treshold X treshold 100 (máximo de elementos)
ip count exterior-treshold Xip SOLSALUD_BUC_PPAL] ip count exterior- Configura umbrales
count exterior-treshold X treshold 20 (máximo de elementos)
GASORIENTE_LA_ORIENTAL-Ethernet0/1] loopback
loopback internal internal Loop en la interface
SOLSALUD_BUC_PPAL-Ethernet0/1] undo
undo loopback loopback Retira loop de la interface
shutdown SOLSALUD_BUC_PPAL-Ethernet0/1] shutdown Reinicia la interface
SOLSALUD_BUC_PPAL-Ethernet0/1] undo
undo shutdown shutdown Reinicia la interface
YOKA_COMUNICACIONES] display voice Información de las
display voice call-info brief call-info brief llamadas
display voice call-history- YOKA_COMUNICACIONES] display voice
record last 10 call-history-record last 10 Historico de llamadas
SOLSALUD_NEIVA_CRA11> display voice
display voice entity pots entity pots Verificación pots VoIP
OLSALUD_NEIVA_CRA11-voice-line1/0] display Muestra configuración
display voice entity voip voice entity voip VoIP
shutdown SOLSALUD_NEIVA_CRA11-voice-line1/0]shutdown
[SOLSALUD_NEIVA_CRA11-voice-line1/0]undo Reinicio de voice line
undo shutdown shutdown