Function Description
The virtual residential gateway (vRGW) is used on the access network of a fiber-to-the-x (FTTx) solution and works together with an optical line terminal (OLT). The vRGW uses virtualization technologies to implement the Layer 3 home gateway (HG) function on the OLT. The HG function allows a carrier to manage home area networks in a centralized manner, adds no configuration on home area networks, reduces faults in home area networks, and lowers down the operation and maintenance (OM) cost.Function
The arp command is used to configure the static ARP mapping
entries of the ARP mapping list. To configure a static mapping between an IP
address and a MAC address, run this command.
The undo arp command is used to delete an ARP mapping list. The system can delete either the static ARP entry or the dynamic ARP entry.
The undo arp command is used to delete an ARP mapping list. The system can delete either the static ARP entry or the dynamic ARP entry.
Format
arp ip_addr mac_addr vlanid {
frameid/slotid/portid [ ont ontid ] |
frameid/slotid }
undo arp ip_addr [ vlanid ]
undo arp ip_addr [ vlanid ]
Parameters
Parameter | Description | Value |
---|---|---|
ip_addr | Indicates the IP address of an ARP mapping entry. | IPv4 address format. Dotted decimal notation. |
mac_addr | Indicates the Ethernet MAC address of an ARP mapping entry. | Format: H-H-H. H indicates a hexadecimal number. |
vlanid | Indicates the VLAN ID. To send the frames with the destination address of mac-address through a specified VLAN, use this parameter. | Numeral type. Range: 1-4093. |
frameid/slotid/portid | Indicates the shelf ID, slot ID, and port ID. Enter a slash (/) between the shelf, slot, and port IDs. | Please see Differences Between Shelves. |
frameid/slotid | Indicates the shelf ID and slot ID. Enter a slash (/) between the shelf and slot IDs. | Please see Differences Between Shelves. |
ontid ontid | Indicates the ONT ID. To send the frames with the destination address of mac-address through a specified ONT, use this parameter. | Please see Differences Between Shelves. |
Usage Guidelines
- The ARP mapping list is a table for conversion between IP addresses into MAC addresses. It is used for communication between the hosts in a LAN.
- In the initial state, the ARP mapping list is empty, and the ARP address mappings are dynamically obtained through the ARP protocol. In general, the ARP mapping list is dynamically maintained through the ARP protocol. The static ARP is needed only in special cases.
- In the aggregation management scenario, static ARP entries should be configured on external ports of the slave subrack.
Example
To configure the MAC address corresponding to IP address 10.10.10.1 in a LAN
to 00e0-fc01-0000 to which the packets are sent through port 0/19/0, do as follows: (Assume this port belongs to VLAN
10.)
huawei(config)#arp
{ aging-mode<K>|aging-time<K>|gratuitous-arp<K>|ip_addr<I><X.X.X.X>|learning<K>|proxy<K> }:10.10.10.1
{ mac_addr<P><XXXX-XXXX-XXXX> }:00e0-fc00-0000
{ integer<U><1,4093> }:10
{ frameid/slotid/portid<S><Length 5-18>|frameid/slotid<S><Length 3-15> }:0/19/0
{ <cr>|ont<K> }:
Command:
arp 10.10.10.1 00e0-fc00-0000 10 0/19/0
To configure the MAC address corresponding to IP address 10.10.20.1 in a LAN
to 00e0-fc01-0022 to which the packets are sent through slot 0/2, do as follows:
(Assume this port belongs to VLAN 100.) huawei(config)#arp { aging-mode<K>|aging-time<K>|gratuitous-arp<K>|ip_addr<I><X.X.X.X>|learning<K>|proxy<K> }:10.10.20.1 { mac_addr<P><XXXX-XXXX-XXXX> }:00e0-fc00-0022 { integer<U><1,4093> }:100 { frameid/slotid/portid<S><Length 5-18>|frameid/slotid<S><Length 3-15> }:0/2 Command: arp 10.10.20.1 00e0-fc00-0022 100 0/2To delete an ARP mapping list with the IP address of 10.10.10.1, do as follows:
huawei(config)#undo arp { ip_addr<I><X.X.X.X> }:10.10.10.1 { <cr>|integer<U><1,4093> }:10 Command: undo arp 10.10.10.1 10
No comments:
Post a Comment