8 enabling trunking – ZyXEL Communications GS-4012 User Manual

Page 391

Advertising
background image

Chapter 47 Configuration Mode Commands

GS-4012F/4024 User’s Guide

391

where

An example is shown next.

• Create a filtering rule called “filter1”.

• Drop packets coming from and going to MAC address 00:12:00:12:00:12 on VLAN.

47.8 Enabling Trunking

To create and enable a trunk, enter

trunk

followed by the ports which you want to group and

press

[ENTER]

.

Syntax:

trunk <T1|T2|T3|T4|T5|T6>
trunk <T1|T2|T3|T4|T5|T6> interface <port-list>
trunk <T1|T2|T3|T4|T5|T6> lacp

where

An example is shown next.

• Create trunk 1 on the Switch.

• Place ports 5-8 in trunk 1.

name <name>

=

Names the filtering rule.

mac <mac-addr>

=

Specifies the MAC address you want to filter.

vlan <vlan-id>

=

Specifies which VLAN this rule applies to.

drop <src/dst/both>

=

Selects the behavior of the rule.

• src - drop packets coming from the specified MAC

address

• dst- drop packets going to the specified MAC

address

• both - drop packets coming from or going to the

specified MAC address

sysname(config)# mac-filter name filter 1
sysname(config)# mac-filter name filter 1 mac 00:12:00:12:00:12 vlan 1 drop
both

<T1|T2|T3|T4|T5|T6>

=

Enables the trunk.

<T1|T2|T3|T4|T5|T6>
interface <port-list>

=

Places ports in the trunk.

<T1|T2|T3|T4|T5|T6> lacp

=

Enables LACP in the trunk.

Advertising