User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
203
<mac-addr>] [vlan <vlan-id>
] [interface
[ethernet | portchannel] <interface-name>]
4. Configure MAC learning through CPU control
Command
Explanation
Global Mode
mac-address-learning cpu-control
no mac-address-learning cpu-control
Enable MAC learning through CPU
control, the no command restores that
the chip automatically learn MAC
address.
5. Configure the hash collision mac table
Command
Explanation
Global Mode
show collision-mac-address-table
Show the hash collision mac table.
Admin Mode
clear collision-mac-address-table
Clear the hash collision mac table.
23.3 Typical Configuration Examples
Fig 2-2 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 1/0/7