beautypg.com

3 typical configuration examples, Ypical, Onfiguration – QTECH QSW-8300 Инструкция по настройке User Manual

Page 78: Xamples

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

77

Clear dynamic address table

Command

Explanation

Admin Mode

clear mac-address-table dynamic [address

] [vlan ] [interface

[ethernet | portchannel] ]

Clear the dynamic address table.

10.3 Typical Configuration Examples

MAC Table typical configuration example

Scenario:

Four PCs as shown in the above figure connect to port 1/0/5, 1/0/7, 1/0/9, 1/0/11 of switch, all

the four PCs belong to the default VLAN1. As required by the network environment, dynamic

learning is enabled. PC1 holds sensitive data and can not be accessed by any other PC that is

in another physical segment; PC2 and PC3 have static mapping set to port 7 and port 9,

respectively.

The configuration steps are listed below:

1. Set the MAC address 00-01-11-11-11-11 of PC1 as a filter address.

id > [interface [ethernet | portchannel]

] | [source|destination|both]

no mac-address-table {static | static-

multicast | blackhole | dynamic} [address

] [vlan ] [interface

[ethernet | portchannel] ]

entires.

1/0/7

1/0/9

1/0/11

1/0/5

PC1

MAC 00-01-11-11-11-11

PC4

MAC 00-01-44-44-44-44

PC3

MAC 00-01-33-33-33-33

PC2

MAC 00-01-22-22-22-22