Summary of ruijie Switch configuration commands.

Source: Internet
Author: User

Manage the MAC address table of the ruijie switch:

1. view the MAC address table

S2126G # show mac-address-table

2. Configure the MAC Address Table Record survival time (default: 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-time

VLAN configuration of the ruijie switch:

1. Add a VLAN

S2126G (config) # vlan <1-4094>

S2126G (config-vlan )#

2. Name a VLAN (optional)

S2126G (config-vlan) # name

Allocate the ruijie switch port to the VLAN

1. Configure Port VLAN

Switch (config-if) # switchport access vlan <1-4094>

2. Configure the Tag VLAN

Switch (config-if) # switchport mode trunk

1) configure the local (native) VLAN

Switch (config-if) # switchport trunk native vlan <1-4094>

2). Clear VLAN from the trunk Link

Switch (config-if) # switchport trunk allowed vlan unique T

Note: VLAN1 cannot be cleared

Verify the vlan of the ruijie switch:

1. Display All VLANs: Switch # show VLAN

2. display 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. dat

RSTP configuration of ruijie switch:

1. Enable spanning tree: S2126G (config) # spanning-tree

2. Configure the priority of the ruijie switch: S2126G (config) # spanning-tree priority <0-61440>

A multiple of "0" or "4096" (all 12bit values after rstp bpdu are 0)

3. Configure the switch port priority: S2126G (config-if) # spanning-tree port-priority <0-240>

Multiples of "0" or "16" (all 4bit values after 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. Verification of spanning tree: Switch # show spanning-tree

Switch # show spanning-tree interface <interface Name> <interface ID>

For more information about the configuration commands of ruijie vswitch, refer to: part 1 and part 2.

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.