0% found this document useful (0 votes)
41 views8 pages

Comandos Switch

El documento proporciona una guía detallada para configurar un switch HP ProCurve 2610, incluyendo pasos para acceder al switch, configurar el nombre, SNMP, gateway, VLANs y QoS. Se incluyen comandos específicos para cada configuración y notas importantes sobre las VLANs predeterminadas y su uso. Además, se presenta una lista de comandos útiles para la administración y monitoreo del switch.

Uploaded by

Ignacio Ramirez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views8 pages

Comandos Switch

El documento proporciona una guía detallada para configurar un switch HP ProCurve 2610, incluyendo pasos para acceder al switch, configurar el nombre, SNMP, gateway, VLANs y QoS. Se incluyen comandos específicos para cada configuración y notas importantes sobre las VLANs predeterminadas y su uso. Además, se presenta una lista de comandos útiles para la administración y monitoreo del switch.

Uploaded by

Ignacio Ramirez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Aquí tienes los comandos para configurar tu HP ProCurve 2610 con la configuración que

especificaste. Puedes ingresar estos comandos en el switch a través de la CLI (usando


consola, Telnet o SSH).

Pasos para configurar el switch

1. Accede al switch

o Conéctate por puerto de consola (usando PuTTY o cualquier emulador de


terminal).

o Si ya tienes conectividad, accede por Telnet o SSH.

2. Entra en modo de configuración

enable

configure

3. Configura el nombre del switch (hostname)

hostname "UTS Servicios Sociales Centro-Miller_2"

4. Configura SNMP

snmp-server contact "[email protected]"

snmp-server location "Calzada Lateral del Norte"

snmp-server community "0x0ComAY-LPA-ro" Operator

snmp-server community "0x0ComAY-LPA-rw" Operator Unrestricted

snmp-server community "t2l2f4n3c1" Operator Unrestricted

snmp-server community "public" Operator Unrestricted

5. Configura el Gateway predeterminado

ip default-gateway 10.2.3.1

6. Configura las VLANs

VLAN 1 (Datos, con IP 10.2.4.62/16 y puertos sin etiquetar)

vlan 1

name "VLAN-Datos"

untagged 1-52

ip address 10.2.4.62 255.255.0.0

qos priority 1
exit

VLAN 21 (Voz, etiquetada en todos los puertos, prioridad QoS alta y configurada
como VLAN de voz)

vlan 21

name "VLAN-Voz"

no ip address

qos priority 5

tagged 1-52

voice

exit

7. Habilita QoS basado en IP Precedence

qos type-of-service ip-precedence

8. Configura las contraseñas para los niveles de acceso

password manager

password operator

9. Guarda la configuración

write memory

Notas Importantes

✅ VLAN 1: Es la VLAN predeterminada y está configurada con una IP de gestión.


✅ VLAN 21: Se usa para voz con QoS en prioridad 5 y etiquetada en todos los puertos.
COMANDOS

show

access-list Show Access Control List information.

accounting Show Accounting configuration parameters.

arp Show the IP ARP translation table.

arp-protect Display Dynamic ARP Protection information.

authentication Show Authentication configuration parameters.

authorization Show Authorization configuration parameters.

banner show the configured banner text.

boot-history Display the system boot log.

cdp Show CDP configuration and neighbors discovered.

console Show serial link/console settings.

cpu Show Average CPU utilization over last 1 second, 5

seconds and 1 minute or the specified time.

dhcp Shows the current status of DHCP client.

dhcp-relay Shows the current status of DHCP Relay Agent and option

82 statistics.

dhcp-snooping Display DHCP snooping information.

fastboot Shows the current status of fastboot on switch.

fault-finder Show the fault-finder table.

filter Show a table of security filters or a filter detailed

information, if the filter's INDEX is specified.

flash Show the versions of software stored in the Primary and

Secondary image locations.

front-panel-security Show current security status of the front panel butons.

gvrp Show GVRP settings.

history Show previously entered commands.

igmp Show global switch IGMP configuration parameters.

instrumentation Show internal version-dependant counters for debugging.

interfaces Show port configuration and status information.

ip Show the device IP configuration.

key-chain Display key chains.

lacp Show status of LACP trunks.

link-keepalive show link-keepalive information on the switch.

lldp Show various LLDP settings.


lockout-mac Show the MAC addresses that have been locked out of the

network.

logging Display log events.

loop-protect Show loop protection status.

mac-address Show MAC addresses the switch has learned.

management Show the switch's addresses available for management and

the time server if the switch uses one.

monitor Show the switch network monitoring status and

configuration, if network monitoring is enabled.

name Show names assigned to the ports.

port-access Show 802.1x (Port Based Network Access) supplicant or

authenticator current status and configuration.

qos Show various QoS settings.

qos-passthrough-mode Show the status of qos-passthrough-mode.

rmon Show detailed rmon statistics for the ports.

sflow Display information regarding the configuration,

sampling, and polling with respect to 'sflow'.

spanning-tree Show spanning tree information.

stack Show the stack status of this switch.

static-mac Show the locked-down MAC addresses in all vlans.

system-information Show global configured and operational system

parameters.

telnet Show active incoming and outgoing sessions.

terminal Show logical window dimensions.

time Show current date and time.

trunks Show a list of ports and the trunks to which they

belong.

version Show software version.

vlans Show status information for all VLANs.

(config)#
configure

aaa Configure the switch Authentication, Authorization, and

Accounting features.

access-list Configure an entry in a standard (1-99) or extended

(100-199) access control list.

arp Remove the specified IP-ADDRESS entry from the ARP

cache (note: the keyword 'no' must be specified).

arp-protect Configure Dynamic ARP Protection.

auto-tftp Enable/disable automatic OS image download via TFTP

during boot.

banner Define a login banner.

cdp Set various CDP (Cisco Discovery Protocol) parameters.

clock Display/set current time, date, and local time

parameters.

console Set various console parameters.

crypto Install or remove authentication files for ssh or https

server.

dhcp Argument(s) to Control DHCP Client:

dhcp-relay Enable/disable DHCP relay agent on the device.

dhcp-snooping Enable/Disable the global administrative status of DHCP

snooping.

fastboot Enable/disable fastboot on switch.

fault-finder Enable/disable fault finder and set sensitivity.

filter Set or edit traffic/security filters.

front-panel-security Enable/disable the ability to clear the password(s)

and/or configuration via the front panel buttons.

gvrp Enable/disable GARP VLAN Registration Protocol (GVRP).

hostname Specify the device name for administrative purposes.

igmp Configure various global IGMP parameters for the

switch.

interface Enter the Interface Configuration Level, or execute one

command for that level.

ip Configure various IP parameters for the switch.

key-chain Configures authentication key chains and individual

keys.
link-keepalive Configure UDLD on your switch.

lldp Configuration for LLDP parameter.

lockout-mac Lock out a MAC address.

logging Add an IP address to the list of receiving syslog

servers.

loop-protect Configure Loop protection on the switch.

mac-age-time Set the MAC address table's age-out interval.

management-vlan Set the VLAN that is to be used as the management VLAN.

max-vlans Set the maximum number of VLANs on the switch.

mirror-port Define the mirror port for diagnostic purposes.

password Set or clear local password/username for manager and/or

operator.

port-security Set the port-security operation(s) for each port in

port list.

primary-vlan Set the VLAN that is to be used as the primary VLAN.

qos Configure Quality of Service (QoS) on the device.

qos-passthrough-mode Specify the queue configuration mode for the switch.

radius-server Configure RADIUS parameters.

snmp-server Configure the device SNMP server.

snmpv3 Configure SNMPv3 features.

sntp Configure the Simple Network Time Protocol (SNTP).

spanning-tree Set the parameters for operation of the switch in a

spanning tree topology.

stack Configure device to/from a stack - a group of devices

manageable as a single entity.

static-mac Lock down a MAC address to a port on a vlan.

tacacs-server Configure TACACS+ authentication servers.

telnet-server Enable/disable remote nodes to Telnet into the switch.

tftp Enable/disable TFTP, trivial file transfer protocol.

time Display/set current time, date, and local time

parameters.

timesync Configure the network time protocol.

trunk Add or remove a switch port from a port trunk.

vlan Add, delete, edit VLAN configuration or enter a VLAN

context.
web-management Enable/disable the device web server.

boot Reboot the device.

clear Clear table/statistics or authorized client public

keys.

configure Enter the Configuration context.

copy Copy datafiles to/from the switch.

debug Enable/disable debug logging.

end Return to the Manager Exec context.

erase Erase stored files.

getMIB Retrieve and display the value of the MIB objects

specified.

kill Kill other active console, telnet, or ssh sessions.

log Display log events.

page Toggle paging mode.

print Execute a command and redirect its output to the device

channel for current session.

redo Re-execute a command from history.

reload Warm reboot of the switch.

rename Change the name of the configuration OLDNAME to

NEWNAME.

repeat Repeat execution of a previous command.

setMIB Set the value of a MIB object.

setup Enter the 'Switch Setup' screen for basic switch

configuration.

startup-default Set the default configuration file.

telnet Initiate an outbound telnet session to another network

device.

terminal Set the dimensions of the terminal window.

update Enter Monitor ROM Console.

walkMIB Walk through all instances of the object specified

displaying the MIB object names, instances and values.

write View or save the running configuration of the switch.

chassislocate Control the chassis locate led.


enable Enter the Manager Exec context.

exit Return to the previous context or terminate current

console/telnet session if you are in the Operator

context level.

link-test Test the connection to a MAC address on the LAN.

logout Terminate this console/telnet session.

menu Change console user interface to menu system.

ping Send IP Ping requests to a device on the network.

show Display switch operation information.

traceroute Send traceroute to a device on the network.

You might also like