Chapter 47 Configuration Mode Commands

where

 

 

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

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.

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

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 <T1T2T3T4T5T6>

trunk <T1T2T3T4T5T6> interface <port-list> trunk <T1T2T3T4T5T6> lacp

where

<T1T2T3T4T5T6>

=

Enables the trunk.

<T1T2T3T4T5T6>

=

Places ports in the trunk.

interface <port-list>

 

 

<T1T2T3T4T5T6> lacp

=

Enables LACP in the trunk.

An example is shown next.

Create trunk 1 on the Switch.

Place ports 5-8 in trunk 1.

 

399

ES-4124 User’s Guide