Adding A Static Mac Address Entry Manually - H3C S3100 8C SI Operation Manual

S3100 series ethernet switches
Table of Contents

Advertisement

Operation Manual – MAC Address Table Management
H3C S3100 Series Ethernet Switches
1.4 Configuration Example

1.4.1 Adding a Static MAC Address Entry Manually

I. Network requirements
The server connects to the switch through Ethernet 1/0/2. To prevent the switch from
broadcasting packets destined for the server, it is required to add the MAC address of
the server to the MAC address table of the switch, which then forwards packets
destined for the server through Ethernet 1/0/2.
The MAC address of the server is 000f-e20f-dc71.
Port Ethernet 1/0/2 belongs to VLAN 1.
II. Configuration procedure
# Enter system view.
<Sysname> system-view
[Sysname]
# Add a MAC address, with the VLAN, ports, and states specified.
[Sysname] mac-address static 000f-e20f-dc71 interface Ethernet 1/0/2 vlan 1
# Display information about the current MAC address table.
[Sysname] display mac-address interface Ethernet 1/0/2
MAC ADDR
000f-e20f-dc71
000f-e20f-a7d6
000f-e20f-b1fb
000f-e20f-f116
---
4 mac address(es) found on port Ethernet1/0/2 ---
VLAN ID
STATE
1
Config static
1
Learned
1
Learned
1
Learned
1-11
Chapter 1
MAC Address Table
PORT INDEX
AGING TIME(s)
Ethernet1/0/2
NOAGED
Ethernet1/0/2
AGING
Ethernet1/0/2
AGING
Ethernet1/0/2
AGING
Management

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the H3C S3100 8C SI and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

S3100-si seriesS3100-ei series

Table of Contents