Chapter 25 VLAN
IES4005M User’s Guide
184
25.2 General VLAN Commands
Use these commands to configure global VLAN settings or show VLAN member ports for all VLAN
modes. The following table describes the commands.
25.2.1 Command Examples
See Section 9.1.3 on page 68 for an example about how to change STPID.
Table 124 Management and VoIP VLAN CLI examples
VLAN MODE NNI VLAN UNI VLAN CLI EXAMPLES
Management VLAN
S(VID a) S(VID a)
ip inband mgmt-vlan 100
VoIP VLAN
S(VID a) S(VID a)
voip ip address 192.168.2.20/24 vlan 100
Table 125 VLAN Commands Summary
COMMAND DESCRIPTION M P
vlan stpid <tpid>
Configures the S (subscriber) tag TPID in hexadecimal format.
tpid: 0x8000-0xffff
C13
no vlan stpid
Resets the S tag TPID to the default value of 0x88a8 in hexadecimal
format.
C13
vlan single-tag-mode
stag|ctag
stag: single-tag packets sent from NNI tagged with S tag
ctag: single-tag packets sent from NNI tagged with C tag (0x8100)
C13
show vlan [vid-list]
Displays S tag TPID, single-tag mode and the member ports of
specified VLANs or all VLANs.
vid-list: list of (1-4093), for example 1,3 or 1,3,5-21 or *
E13
show interface dsl <slot/
portlist> vlan
Displays all the VLANs joined by the specified DSL ports. E 13
show interface ge-nni <slot/
portlist> vlan
Displays all the VLANs joined by the specified Gigabit Ethernet uplink
ports.
E13
interface ge-nni <portlist>
Configures the specified Gigabit Ethernet uplink ports. You can specify
a single port <1>, all ports <*> or a list of ports <1,2>. You can also
include a range of ports <1-2>.
C13
exit
Leaves the Gigabit Ethernet Gigabit Ethernet uplink port configuration. C 13
vlan <vid>
Adds the Gigabit Ethernet uplink ports to the specified VLAN. C 13
no vlan <vid>
Removes the Gigabit Ethernet uplink ports from the specified VLAN. C 13
vlan all
Adds the specified Gigabit Ethernet uplink ports to all VLANs (1 ~
4093).
Note: When using transparent VLAN, use this vlan all command to
make sure VLAN transparent traffic can go through the uplink.
C13
no vlan all
Removes the Gigabit Ethernet uplink ports from all VLANs joined by
using the vlan all command.
C13