Ii. network diagram, Iii. configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual

Page 173

Advertising
background image

Operation Manual – MAC Address Table

H3C S3100-52P Ethernet Switch

Chapter 1

MAC Address Table

Management

1-7

II. Network diagram

Console port

Network

Switch

In

port

ternet

Console port

Network

Switch

In

port

ternet

Figure 1-2

Network diagram for MAC address table configuration

III. Configuration procedure

# Enter system view.

<H3C> system-view

[H3C]

# Add a MAC address, with the VLAN, ports, and states specified.

[H3C] mac-address static 00e0-fc35-dc71 interface Ethernet 1/0/2 vlan 1

# Set the aging time of dynamic MAC addresses to 500 seconds.

[H3C] mac-address timer aging 500

# Display the information about the MAC address entries in system view.

[H3C] display mac-address interface Ethernet 1/0/2

MAC ADDR

VLAN ID STATE

PORT INDEX

AGING TIME(s)

00-e0-fc-35-dc-71 1

Static Ethernet1/0/2

NOAGED

00-e0-fc-17-a7-d6 1

Learned Ethernet1/0/2

AGING

00-e0-fc-5e-b1-fb 1

Learned Ethernet1/0/2

AGING

00-e0-fc-55-f1-16 1

Learned Ethernet1/0/2

AGING

--- 4 mac address(es) found on port Ethernet1/0/2 ---

Advertising