beautypg.com

2 vlan set command, Set specific egress ports for a port – ZyXEL Communications VES-1000 User Manual

Page 125

background image

VES-1000 Series Ethernet Switch

Switch-Related Commands

13-5

Figure 13-4 Daisy-chaining VLAN Example

13.4.2

VLAN Set Command

Set Specific Egress Ports for a Port

sw vlan set n x1 x2

Use this command to set port(s) x1, x2, etc. to be the egress port(s) for port n. For example:

sw vlan set 1 3 4

Sets ports 3 and 4 to be the egress ports for port 1.

This is shown in the next figure.

Note that if ports 5, 6 and 7 were already egress ports for port 1 (previous to this command), issuing “sw vlan set 1
3 4” would not affect these and they would remain port 1 egress ports.

Enter “sw vlan status” to see the result of this command.

VLAN map:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Port 0: O - - - - - - - - - - - - - X
Port 1: - O - - - - - - - - - - - - X
Port 2: - - O - - - - - - - - - - - X
Port 3: - - - O - - - - - - - - - - X
Port 4: - - - - O - - - - - - - - - X
Port 5: - - - - - O - - - - - - - - X
Port 6: - - - - - - O - - - - - - - X
Port 7: - - - - - - - O - - - - - - X
Port 8: - - - - - - - - O - - - - - X
Port 9: - - - - - - - - - O - - - - X
Port10: - - - - - - - - - - O - - - X
Port11: - - - - - - - - - - - O - - X
Port12: - - - - - - - - - - - - O - X
Port13: - - - - - - - - - - - - - O X
Port14: X X X X X X X X X X X X X X O

Where 'O' means the port itself, 'X' means its VLAN member, and '-' is not VLAN
member.