Regístrese ahora para una mejor cotización personalizada!

Noticias calientes

How to Configure Your Cisco Network Switch in 8 steps

Sep, 20, 2026 Hi-network.com

Incoming/outgoing traffic can be routed through switches to their final destination. Cisco is one of the most well-known switch providers on the market, and we'll look at how to configure your Cisco network switch in eight steps in this post.

How to configure Cisco switches


Paso 1: inspeccione su hardware

Check the model number of your shiny new switch. Check the device hardware and related cords for any damage if you're using a spare. If everything seems good, turn on the switch and make sure all of the indication lights are functional. Next, connect your computer to the switch through a rollover cable.

To do so, you'll need to get Putty and install it (or a similar, fun-named software tool). Select the 9600 baud serial connection in Putty. You're now connected to the switch and ready to examine the results of the commands below:

    show version
    show running-config
    show VLAN brief
    show VTP status
           (config)#IP domain-name routerfreak.com (en inglés)
           (config)#Nombre de host Switch01
            (config)#Interfaz VLAN1
            (config)#Gestión de la descripción VLAN
            (config)#Dirección IP 192.168.101.1 255.255.255.0
            vtp [client | server | transparent]| server | transparent]
            vtp domain name
            description *** DESCRIPTION ***
            switchport access vlan###
            sswitchport mode access
            power inline consumption###
            queue-set 2
            mls qos trust dscp
            storm-control multicast level 50.00
            no cdp enable
            spanning-tree portfast
            spanning-tree bpduguard enable
            Interface GigabitEthernet1/0/1
            description *** UPLINK ***
            switchport trunk encapsulation dot1q
            switchport mode trunk
            speed 1000
            duplex full
            Switch01(config)#La clave de cifrado genera RSA
            The name for the keys will be:
            Switch01.routerfreak.com
            How many bits in the modulus [512]: 1024
            % Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
            #Línea vty 0 4
            (config-line)#La entrada de transporte SSH
            (config-line)#Iniciar sesión local
            (config-line)#Contraseña routerfreak
            (config-line)#salida
            #Consola de la línea 0
            (config-line)#Registro sincrónico
            (config-line)#Iniciar sesión local
            Switch01#Servicio de cifrado de contraseña
            remote-computer#SSH 192.168..101.1
            Log in as: username
            Password:
            Switch01>en
            Password:
            Switch01#


Paso 2: configurar la dirección IP

Follow any naming conventions in place at your firm, and then assign an IP address to the administration VLAN. Next, double-check that your switch has a defined hostname and domain.


Paso 3: compruebe el número de revisión VTP

You should set the revision number of your switch to zero before connecting it to the network. Change the config mode to transparent to quickly reset the domain to zero.


Paso 4: configurar los puertos de acceso

You may already have an access port configuration template, but in case you don't, here are some commands to try.


Paso 5: configurar los puertos del tronco

Check the trunking protocol supported with the command sh int g0/1 capabilities. You must use the switch port trunk encapsulation dot1q on the trunk port configuration if ISL is supported. If not, type switch port mode trunk instead. There is no need for an encapsulation command because no other encapsulation is supported. It only works with 802.1Q.


Paso 6: configurar los puertos de acceso

Using the crypto procedures described here, produce RSA keys for use throughout the SSH process:


For your General Purpose Keys, select a key modulus size in the range of 360 to 2048. It may take a few minutes to select a key modulus bigger than 512.


Paso 7: configurar VTY line config

Si todavía no ha definido la línea consola, puede introducir fácilmente estos valores:


Set the enable password using the enable secret password command. Then, set the privilege exec password with username name privilege 15 secret password. Make sure that the password-encryption service is activated.


Verify SSH access by typing ‘sh ip ssh’ to confirm that the SSH is enabled. You can now try to log in from a remote machine to verify that you can ssh to your Cisco switch.


Step 8

It's now only a matter of testing your access, reloading the switch, and getting the connections ready. After that, label your switch, rack it up, and that's all it is.

If you want to order Switches, welcome to visit:  Shop Cisco Switches at hi-network.com .


Explore More Switches Products:

Huawei Switches


tag-icon Etiquetas calientes: CISCO Switches

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.
Our company's operations and information are independent of the manufacturers' positions, nor a part of any listed trademarks company.