remote-ce ip

Function

The remote-ce ip command specifies the IP address of the remote CE corresponding to an access interface or its sub-interface on a PE.

The undo remote-ce ip command deletes the configuration.

By default, the IP address of the remote CE corresponding to an access interface or its sub-interface on a PE is not specified.

Format

remote-ce ip ip-address

undo remote-ce ip

Parameters

Parameter Description Value
ip-address

Specifies the IP address of the remote CE corresponding to an access interface or its sub-interface on a PE.

The value is in dotted decimal notation.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In a scenario in which VPWS is configured to support IP interworking, if sub-interfaces on a PE are used to establish multiple PWs, you need to run the remote-ce ip command on each sub-interface to specify the IP address of a remote CE corresponding to the sub-interface. In this manner, one CE can communicate with multiple CEs.

By default, the IP address of the remote CE corresponding to an access interface or its sub-interface on a PE is not specified. In this case, after receiving an ARP request from the local CE, each sub-interface on the PE replies with its MAC address and VLAN ID. The local CE, however, learns only the last ARP reply sent by a sub-interface on the PE. Therefore, whichever remote CE the local CE requests, the ARP entries of remote CEs learned by the local CE belong to the same VLAN. As a result, the local CE can communicate with only one remote CE. If the remote-ce ip command is run on each sub-interface of a PE, the PE will check whether the configured remote-ce ip on the sub-interface is the destination IP address in the ARP request sent by the local CE. If it is the one, the sub-interface on the PE will reply with its MAC address and VLAN ID. Otherwise, the sub-interface does not reply. In this manner, the ARP entry of each remote CE learned by the local CE belongs to respective VLANs, realizing communication between the local CE and multiple remote CEs.

Prerequisites

  • IP interworking has been configured for VPWS connections on the PE.
  • The AC interface on the PE is an Ethernet interface.

Example

# Specify IP address 10.1.1.1 for the remote CE on GE 0/1/0.1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] remote-ce ip 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >