H3C Technologies H3C S12500 Series Switches User Manual

Page 22

Advertising
background image

9

[Switch] interface vlan-interface 10

[Switch-vlan-interface10] ip address 192.168.1.2 24

[Switch-vlan-interface10] quit

# Configure a multiport unicast MAC address entry that has MAC address 00e0-fc01-0000, and output
interfaces GigabitEthernet 3/0/1, GigabitEthernet 3/0/2, and GigabitEthernet 3/0/3 in VLAN 10.

[Switch] mac-address multiport 00e0-fc01-0000 interface GigabitEthernet 3/0/1 to

GigabitEthernet 3/0/3 vlan 10

# Configure a multiport ARP entry with IP address 192.168.1.1 and MAC address 00e0-fc01-0000.

[Switch] arp multiport 192.168.1.1 00e0-fc01-0000 10

# Display ARP information.

[Switch] display arp

Type: S-Static D-Dynamic M-Multiport I-Invalid

IP Address MAC Address VLAN Interface Aging Type

192.168.1.1 00e0-fc01-0000 10 N/A N/A M

Advertising