Huawei Quidway S9300 Configuration Manual page 194

Terabit routing switch
Table of Contents

Advertisement

7 ARP Configuration
<Quidway> system-view
[Quidway] vlan batch 2 3
# Add GE 1/0/0 to VLAN 2 and add GE 1/0/2 to VLAN 3.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port hybrid tagged vlan 2
[Quidway-GigabitEthernet1/0/1] quit
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port hybrid tagged vlan 3
[Quidway-GigabitEthernet1/0/2] quit
Step 2 Set dynamic ARP parameters on a VLANIF interface.
# Create VLANIF2.
[Quidway] interface vlanif 2
# Assign an IP address to VLANIF 2.
[Quidway-Vlanif2] ip address 2.2.2.2 255.255.255.0
# Set the aging time of ARP entries to 60s.
[Quidway-Vlanif2] arp expire-time 60
# Set the number of detection times before deleting ARP entries to 2.
[Quidway-Vlanif2] arp detect-times 2
[Quidway-Vlanif2] quit
Step 3 Create a static ARP entry.
# Create VLANIF 3.
[Quidway] interface vlanif 3
# Assign an IP address to VLANIF 3.
[Quidway-Vlanif3] ip address 10.2.2.2 255.255.255.0
[Quidway-Vlanif3] quit
# Create a static ARP entry with IP address 10.2.2.3, MAC address 00e0-fc01-0000, VLAN ID
3, and outgoing interface GE 1/0/2.
[Quidway] arp static 10.2.2.3 00e0-fc01-0000 vid 3 interface gigabitethernet 1/0/2
[Quidway] quit
Step 4 Verify the configuration.
# Run the display current-configuration command. You can view the aging time of ARP entries
and the number of detection times before deleting ARP entries.
<Quidway> display current-configuration | include arp
arp expire-time 60
arp detect-times 2
# Run the display arp interface command to view the ARP mapping table.
<Quidway> display arp interface gigabitethernet 1/0/2
IP ADDRESS
VLAN/CEVLAN
----------------------------------------------------------------------------------
10.2.2.3
----------------------------------------------------------------------------------
Total:1
----End
7-18
MAC ADDRESS
EXPIRE(M)
00e0-fc01-0000
Dynamic:0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
TYPE
INTERFACE
SF-
GE1/0/2
Static:1
Interface:0
Configuration Guide - Ethernet
VPN-INSTANCE
3/-
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents