3 typical configuration examples, Ypical, Onfiguration – PLANET WGSW-50040 User Manual

Page 100: Xamples

Advertising
background image

11-4

1.

Configure the MAC aging-time

Command

Explanation

Global Mode

mac-address-table aging-time

<0|aging-time>

no mac-address-table aging-time

Configure the MAC address aging-time.

2.

Configure static MAC forwarding or filter entry

Command

Explanation

Global Mode

mac-address-table {static | blackhole}

address <mac-addr> vlan <vlan-id >

[interface [ethernet | portchannel]

<interface-name>] |

[source|destination|both]

no mac-address-table {static | blackhole |

dynamic} [address <mac-addr>] [vlan

<vlan-id>] [interface [ethernet |

portchannel] <interface-name>]

Configure static MAC forwarding or filter

entry.

11.3 Typical Configuration Examples

Figure 11-2 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

1/7

1/9

1/11

1/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

Advertising