Zxr10t160g/t64g/t40g Configuration

Source: Internet
Author: User
The basic configurations of VLANvlan configuration include the following. 1. create a specified vlan and enter the vlan configuration mode vlan {[vlan-id] | [vlan-name]} 2. batch create vlanvlan [vlan-list] [name [vlan-name] 3. set the vlan alias name [vlan-name] vlan alias to distinguish each vlan, which can be a group name

The basic configurations of VLAN configuration include the following. 1. create a specified vlan and enter the vlan configuration mode vlan {[vlan-id] | [vlan-name]} 2. create VLANs in batches [vlan-list] [name [vlan-name] 3. set the vlan alias name [vlan-name] vlan alias to distinguish each vlan, which can be a group name

ConfigurationBasic VLANvlanConfigurationIncludes the following content.

1. Create a specified vlan and enter the vlanConfigurationMode

Vlan {[vlan-id] | [vlan-name]}

2. Create VLANs in batches

Vlan [vlan-list] [name [vlan-name]

3. Set the vlan alias

Name [vlan-name]

Vlan aliases are used to differentiate VLANs, including group names, departments, and regions. By default, the vlan alias is "vlan" + vlan id. The vlan id is a 4-digit number, and the number of less than 4 digits is supplemented by 0, for example, the default vlan id is vlan0004.

4. Set the vlan link type of the Ethernet port

Switchport mode {access | trunk | hybrid} There are three vlan link types for zxr10 t160g/t64g/t40g Ethernet ports: access mode, trunk mode, and hybrid mode. The default mode is access mode.

1. a port in access mode can belong to only one vlan, and the port cannot be tagged (untagged). Generally, it is the port connecting to the computer.

2. The trunk port can belong to multiple VLANs. The port must be tagged and can receive and send packets from multiple VLANs. It is generally used as the trunk port connecting switches.

3. The port in hybrid mode can belong to multiple VLANs. Users can specify whether to add tags. The port can receive and send multiple vlan packets, which can be used for connection between switches, you can also connect to your computer.

The difference between the hybrid port and the trunk port is that the hybrid port can send tagged or unlabeled frames, while the trunk port is generally not tagged only when the default vlan packets are sent.

5. Add the Ethernet port to the specified vlan

The access port can only be added to one vlan. The trunk port and the hybrid port can be added to multiple VLANs.

(1) Add the access port to the specified vlan

Switchport access vlan {[vlan-id] | [vlan-name]}

(2) Add the trunk port to the specified vlan

Switchport trunk vlan [vlan-list]

(3) Add the hybrid port to the specified vlan

Switchport hybrid vlan [vlan-list] [tag | untag]

6. Set native vlan (pvid) for the Ethernet port)

The access port only belongs to one vlan. Therefore, its native vlan is the vlan where it is located.

The trunk port and the hybrid port belong to multiple VLANs. You need to set the native vlan. If the native vlan of the port is set, when the port receives a frame without a vlan label, the frame is forwarded to the port of the native vlan. By default, the native vlan of the trunk and hybrid ports is vlan 1.

(1) set the native vlan of the trunk Port

Switchport trunk native vlan {[vlan-id] | [vlan-name]}

(2) Set native vlan of the hybrid Port

Switchport hybrid native vlan {[vlan-id] | [vlan-name]}

7. Add vlan member ports in batches

Switchport {pvid | tag | untag} [port-list]

8. Set vlan Filtering for ports

Ingress filtering {enable | disable}

After entry filter is enabled, if the member set of the vlan to which the received frame belongs does not contain the entry port, the frame will be discarded. By default, vlan entry filtering is enabled.

9. Filter port frame types

Acceptable frame types {all | tag}

ConfigurationThe type of frames that can be received by the port. You can select to receive all frames (including untagged frames and tagged frames) or only tagged frames. By default, all frames are received.

10. Create a vlan layer-3 Interface

Interface {vlan [vlan-id] | [vlan-if]}

To create a vlan layer-3 interface, you must first create this vlan.

11. enable/disable vlan layer-3 Interfaces

Shutdown/no shutdown

To enable/disable a vlan layer-3 interface, only enable/disable the vlan layer-3 forwarding function, which does not affect the member ports of the vlan. By default, when all Ethernet ports under a vlan interface are down, the vlan interface is down. When one or more Ethernet ports under a vlan interface are up, the vlan interface status is up. You can forcibly disable the up vlan interface.

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.