Ruijie Switch configuration

Source: Internet
Author: User

Ruijie Switch configuration 1. Enter the privileged mode www.2cto.com Switch> enableSwitch #2. RETURN to the user mode Switch # exitPress RETURN to get started! Switch> Configuration Mode: global configuration mode [host name (config) #]: configure the overall parameter sub-mode of the Switch: 1. line configuration mode [host name (config-line) #]: configure the line parameters of the switch 2. interface Configuration Mode [host name (config-if) #]: configure the interface parameters of the switch 1. enter www.2cto.com Switch # configure terminalSwitch (config) # exitSwitch #2 in global configuration mode. switch (config) # line console 0 Switch (config-line) # exitSwitch (config) #3. switch (config) # interface fastEthernet 0/1 Switch (config-if) # exitSwitch (config) # Return the Switch (config-if) in the sub-mode # endSwit Ch # vswitch operation help features: 1. Support for command shorthand (complete the command by pressing the TAB key) 2. directly enter "?" In each operation mode Show all commands in this mode 3. The command space is "?" Display command parameters and explain them 4. the character "?" Display the command starting with this character 5. command history cache: (Ctrl + P) displays the previous command, (Ctrl + N) displays the next command 6. error message: Switch display command: display Switch hardware and software information Switch # show version display currently running configuration parameter Switch # show running-config display saved configuration parameter Switch # show configure common Switch EXEC command will be currently running copy configuration parameters to flash: switch # write memoryBuilding configuration... [OK] Switch # Clear the Configuration Parameter in flash: Switch # delete flash: config. textSwitch # Switch restart: Switch # reloadSystem configuration has been modified. save? [Yes/no]: nProceed with reload? [Confirm] configure the vswitch Host Name: Switch (config) # hostname S2126GS2126G (config) # configure the vswitch password: 1. Configure the vswitch login password S2126G (config) # enable secret level 1 0 star "0" indicates the entered plaintext password 2. Configure the vswitch's privileged password S2126G (config) # enable secret level 15 0 Star "0" indicates entering a plaintext password. Common Switch configuration commands: 1. assign a management IP address S2126G (config) to the switch) # interface vlan 1S2126G (config-if) # ip address {IP address} {IP subnetmask} [secondary] 2. Enable S2126G (config-if) for the interface) # no shutdown3. Disable the interface S2126G (config-if) # shutdown4. Configure the interface speed S2126G (config-if) # speed [10 | 100 | auto] 5. Configure interface duplex mode S2126G (config-if) # duplex [auto | full | half display interface status: s2126G # show interfaces determination destination accessibility: S2126G> ping {IP address} download the configuration parameter from the TFTP server: S2126G # copy tftp startup-config Management Switch MAC address table: 1. view the MAC address table S2126G # show mac-address-table2, configure the MAC Address Table Record survival time (default is 300 seconds) S2126G (config) # mac-address-table aging-time <10-1000000> 3. view the survival time of the MAC address table Record S2126G # show mac-address-table aging-timeVLAN configuration: 1. add a VLANS2126G (config) # vlan <1-4094> S2126G (config-vlan) #2. name a VLAN (optional) S2126G (config-vlan) # name: allocate the switch Port to VLAN1. Configure Port VLANSwitch (config-if) # switchport access vlan <1-4094> 2. configure Tag VLANSwitch (config-if) # switchport mode trunk1 ). configure native VLANSwitch (config-if) # switchport trunk native vlan <1-4094> 2 ). clear VLANSwitch (config-if) # switchport trunk allowed vlan unique T from the trunk link. Note: VLAN1 cannot be used to verify VLAN clearance: 1. show all VLANs: Switch # show vlan2. show individual VLANs: Switch # show VLAN id <1-4094> Save VLAN information to flash: switch # write memory clear VLAN information from flash: Switch # delete flash: vlan. datRSTP configuration: 1. enable Spanning Tree: S2126G (config) # spanning-tree2. configure the vswitch priority: S2126G (config) # spanning-tree priority <0-61440> a multiple of "0" or "4096" (the value of rstp bpdu is greater than) 3. configure vswitch port priority: S2126G (config-if) # spanning-tree port-priority <0-240> a multiple of "0" or "16" (all 4 bits after the value of rstp bpdu are 0) 4. Configure the hello time of the spanning tree (determined by the Root): S2126G (config) # spanning-tree hello-time <1-10> 5. Verify the spanning tree: switch # show spanning-treeSwitch # show spanning-tree interface <interface Name> <interface number>

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.