Chapter 4 Service Configuration
Command
Function
zte(cfg)#
create vlan
<
1-4094
>
name
<
name
>
Creates a VLAN name.
zte(cfg)#
clear vlan
<
vlanlist
>
name
Clears a VLAN name.
zte(cfg)#
clear vlan protocol-mapping session-no
<
1-8
>
Clears the VLAN template configuration
of the protocol.
show vlan
[<
vlanlist
>] (all configuration modes)
Displays the basic VLAN information.
show vlan protocol-mapping
(all configuration modes)
Displays the VLAN configuration of the
protocol.
VLAN Configuration Example One
l
Configuration Description
Configure VLAN 100. Add untagged ports 1 and 2 and tagged ports 7 and 8. The
detailed configuration is as follows:
Note:
By default, VLAN1 is enabled, all ports are in VLAN1 and in untag mode.
l
Configuration Procedure
zte(cfg)#set vlan 100 add port 1, 2 untag
zte(cfg)#set vlan 100 add port 7, 8 tag
zte(cfg)#set port 1, 2 pvid 100
zte(cfg)#set vlan 100 enable
l
Configuration Verification
zte(cfg)#show vlan 100
VlanId
: 100
VlanStatus: enabled
VlanName:
VlanMode:
Static
Tagged ports
: 7-8
Untagged ports: 1-2
Forbidden ports:
VLAN Configuration Example Two
l
Configuration Description
As shown in
Figure 4-3
, switch A is connected to switch B through port 16. Port 1
of switch A and port 2 of switch B are members of VLAN 2. Port 3 of switch A and
port 4 of switch B are members of VLAN 3. The members in the same VLAN can
communicate with each other.
4-13
SJ-20120409144109-002|2012-07-02(R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 2910E-PS
Страница 6: ...IV ...
Страница 8: ...II ...
Страница 264: ...Tables This page intentionally left blank ...