H3C Technologies H3C S12500 Series Switches User Manual

Page 24

Advertising
background image

10

[Switch-GigabitEthernet3/0/3] quit

# Create interface VLAN-interface 10 and specify its IP address.

[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
ports 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 short static ARP entry with IP address 192.168.1.1 and MAC address 00e0-fc01-0000.

[Switch] arp static 192.168.1.1 00e0-fc01-0000

# Display ARP information.

[Switch] display arp

Type: S-Static D-Dynamic A-Authorized M-Multiport

IP Address MAC Address VLAN ID Interface Aging Type

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

Advertising