All posts by Javier

VARIOS SOBRE SWITCHES CISCO

(En concreto 2960G) Sacar la lista completa de MACs y los puertos a los que están conectados: switch> show mac address-table Saber en qué puerto está determinada MAC: switch> show mac address-table | include 55ce 101    000e.0cbd.55ce    DYNAMIC     Gi0/23 Mostrar información de cómo está configurado un puerto: #show run interface gigabitEthernet0/13 Configurar un puerto…

Read More

GESTION DE VLAN EN LINUX (DEBIAN/UBUNTU)

Instalar vlan: # apt-get install vlan Modificar el interfaces: iface <nombre_interfaz> inet static address xx.xx.xx.xx netmask xx.xx.xx.xx vlan_raw_device ethX auto <nombre_interfaz> # ifup <nombre_interfaz> Ojo, el nombre de la interfaz se tiene que llamar tal y como aparezca en el fichero /proc/net/vlan/config: VLAN Dev name    | VLAN ID Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD vlan6          | 6  |…

Read More

OPERACIONES CON CERTIFICADOS SSL

Verificar firma con llave pública: openssl req -in newcert.req -noout -text Ver información general: openssl s_server -cert mycert.pem -www Ver el emisor: openssl x509 -noout -in cert.pem -issuer Ver el propietario: openssl x509 -noout -in cert.pem -subject Ver período de validez: openssl x509 -noout -in cert.pem -dates Combinar opciones: openssl x509 -noout -in cert.pem -issuer…

Read More

DETERMINAR VERSIÓN DE INSTALACIÓN ORACLE

Método 1) Consultar el fichero $ORACLE_HOME/inventory/Components21/oracle.server/*/context.xml y buscar el parámetro «s_serverInstallType». Si es «EE» se trata de la versión entreprise, si es «SE» se trata de la versión standart. Método 2) Conectarse al sqlplus con el usuario «oracle»: [oracle@oracledb ~]$ sqlplus /nolog SQL*Plus: Release 10.2.0.1.0 – Production on Tue Feb 22 13:51:22 2011 Copyright (c)…

Read More