3 typical configuration examples, 4 mac table troubleshooting, Ypical – QTECH QSW-3400 Инструкция по настройке User Manual

Page 166: Onfiguration, Xamples, Able, Roubleshooting

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

165

19.3 Typical Configuration Examples

MAC Table typical configuration example

Scenario:

Four PCs as shown in the above figure connect to port 1/5, 1/7, 1/9, 1/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 1/7 and port 1/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.
Switch(config)#mac-address-table static 00-01-11-11-11-11 discard
vlan 1.

2. Set the static mapping relationship for PC2 and PC3 to port 1/7 and port 1/9, respectively.
Switch(config)#mac-address-table static address 00-01-22-22-22-22
vlan 1 interface ethernet 1/7
Switch(config)#mac-address-table static address 00-01-33-33-33-33
vlan 1 interface ethernet 1/9

19.4 MAC Table Troubleshooting

Using the show mac-address-table command, a port is found to be failed to learn the MAC of a

device connected to it. Possible reasons:

The connected cable is broken.

Advertising