Switch basic commands (CISCO+HW)

Source: Internet
Author: User

First of all, the Cisco, the orders are not many, are basic. Not including STP, upgrades, Acl,web and the like.

Ruijie and Cisco 99% are similar.

CISCO layer-2

Switch>go to HyperTerminal console switch>Enable access switch privileged mode switch#configure terminal Enter switch global configuration mode switch (configure) #hostname XXX change name to Xxxswi              Tch#configure terminal into the switch global configuration mode (abbreviated conf t) switch#show version View the release information for the switch switch#show VLAN View VLAN information for a switch switch#show running-config to see the configuration information that the switch is currently in effect switch (config) #InterfaceFastEthernet0/2Enter the switch interface fa0/2Switch (config-if) # Enter Interface configuration mode switch (config-if) #speed -Setting the interface f0/2 rate is 100MSwitch (config-ifthe duplex mode of the #duplex half configuration interface is half-duplex switch (config-if) #no shutdown Open the interface so that it is in a working state and waits for data to be forwarded. Switch#show Interfaces FastEthernet0/2View the F0/2 configuration of the interface just now (abbreviated int f0/2) Switch (config) #enable secret admin to set the Enable password to adminswitch#show running-Config display configuration Switch#write save settings configuration, write configuration instructions to the System Folder Switch#dir view system files s Witch#delete?enter "? "Number, get help switch#delete flash:config.txt Delete configuration file-----------------------------------------------------------------------------------------------------------Switch (config) #Interfacevlan1 into Vlan1switch (config-if-VLAN1) #ip Address192.168.1.1 255.255.255.0Configure the IP address switch (config) #vlan10 create the Vlan10switch (config-VLAN) #vlan20 create vlan20switch (config-VLAN) #exit Switch (config) #InterfaceRange FastEthernet0/1-TenEnter fa/1-10-Port switch (config-if-range) #switchport Access VLAN10 Division fa/1-10 port is vlan10switch (config-if-range) Exitswitch (config) #InterfaceRange FastEthernet0/ One- -Enter fa/ One-20-port switch (config-if-range) #switchport Access Vlan20 Division fa/ One-20 port is vlan20switch (config-if-range) #exitSwitch #show VLAN View VLAN

CISCO layer-3

Configure the IP address of the VLAN10 and Vlan20 so that vlan10 and Vlan20 can communicate with each other. Switch (config) #InterfaceVlan10 into Vlan10
Switch (config-VLAN10) #ip Address192.168.1.1 255.255.255.0Configure the IP address of the Vlan10 Switch (config-vlan10) #exit
Switch (config) #InterfaceVlan20 into Vlan20
Switch (config-VLAN20) #ip Address192.168.2.1 255.255.255.0Configure the IP address of the Vlan20 Switch (config) #exit
Switch#show Running-Config View switch configuration information
//PC1 and PC2 can communicate with each other after configuring VLAN10 and 20 IP addresses on layer three switches
Switch>Enable access to privileged mode
Switch#configure Terminal into global mode
Switch (config) #hostname switch to modify the name
Switch (config) #InterfaceRange Fasrethernet0/1-2Enter fa0/1, fa0/2 Ports
Switch (config-if-range) #port-group1Put fa0/1, FA0/2 Port aggregation for Port Group 1 Switch (config-if-range) #exit
Switch (config) #exit
Switch#show Running-config Viewing switch configurations

HW layer-2

Bulk Row VLAN
Ten Port-group Zxgroup-member e0/0/1 to e0/0/Port Link -Ten

Huawei does not want to tidy up, read the document, more than 200 pages, very detailed. Second floor can see s2300, three floor can see s5700.

Switch basic commands (CISCO+HW)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.