How to classify the interfaces of AR routers

30

For AR routers:
Interfaces of a device are used to exchange data and interwork with other devices and can be classified into physical interfaces and logical interfaces, in which:
1. Physical interfaces are real interfaces supported by components and can be further classified into management interfaces and service interfaces.
- Management interfaces: Management interfaces are used to support the configuration and management operations performed by users. Users can use management interfaces to log in to devices and perform configuration and management operations. Management interfaces do not transfer service data.
- Service interfaces: Service interfaces are used to transfer service data and can be classified into LAN interfaces and WAN interfaces. LAN interfaces can be used by routers to exchange data with network devices in the LAN. WAN interfaces can be used by routers to exchange data with devices in the external networks which are far away from the routers.
2. Logical interfaces can implement data exchange but do not exist physically and must be established by configurations. Logical interfaces transfer service data.

Other related questions:
How to delete a sub-interface of an AR router
You can delete a sub-interface of an AR router as follows: You can run the undo interface sub-interface number command to delete a created sub-interface. system-view [Huawei] undo interface gigabitethernet 1/0/0.1 //Delete sub-interface G1/0/0.1

How to check the configuration of the interface of an AR router
You can run the following commands to check the basic parameter configuration of an interface: - Run the display interface command to check the current running status of the interface, including the running status and basic configuration of the interface and the status of the packets forwarded by the interface. - Run the display interface brief command to check brief information about the status and configuration of the interface, including the physical state and protocol state of the interface, bandwidth utilization rate in transmitting and receiving directions in the recent period, and the number of error packets that are sent and received. - Run the display ip interface command to check the main configuration of the interface. - Run the display default-parameter interface command to check the default configuration of the interface. - Run the display interface description command to check the description of the interface. - Run the display interface counters { inbound | outbound } command to check the statistics of the packets sent or received by the physical interface.

How to configure interface groups on AR routers
If users need to perform the same configuration on multiple Ethernet interfaces, they can add the Ethernet interfaces into an interface group. Users only need to run the configuration command of a function once in an inteface group view to configure the function for all Ethernet interfaces included in the interface group. In this way, interfaces can be configured in batches and repeated configurations are reduced. Interfaces can be added into two types of interface groups: permanent interface groups and temporary interface groups, which have the same function. However, a temporary group is automatically deleted by the system after you quit the view of the temporary interface group. Configure a permanent interface group as follows: [Huawei] port-group portgroup1 [Huawei-port-group-portgroup1] group-member ethernet2/0/0 to ethernet2/0/1 //Add interface Eth2/0/0 and interface Eth2/0/1 to the interface group portgroup1. Configure a temporary interface group as follows: [Huawei] port-group group-member ethernet2/0/0 to ethernet2/0/1 //Add interface Eth2/0/0 and interface Eth2/0/1 to a temporary interface group. AR550 series products do not support interface groups.

How to configure a sub-interface on an AR router
A sub-interface is a virtual interface configured on a physical interface. It is generally used for the communication between a physical link and multiple remote ends. Sub-interfaces include: Ethernet sub-interfaces, Eth-Trunk sub-interfaces, PON sub-interfaces, ATM sub-interfaces, and FR sub-interfaces. Configure a sub-interface as follows: [Huawei] interface ethernet 2/0/0 [Huawei-Ethernet2/0/0] undo portswitch //Switch the current interface to a Layer-3 interface. [Huawei-Ethernet2/0/0] quit [Huawei] interface ethernet 2/0/0.1 //Enter the view of the sub-interface.

How to configure interface mirroring on AR routers
By configuring local interface mirroring (one mirroring interface or multiple mirroring interfaces), you can replicate the packets transmitted through the interface to local monitoring devices for analysis and surveillance.
Note:
Interfaces used in the example are just for reference. Configure local interface mirroring based on actual interface information in practice.
Before configuring local interface mirroring, ensure that the link protocol state of the interface is Up.
In the configuration commands, inbound indicates the inbound mirroring traffic and outbound indicates the outbound mirroring traffic. You can change outbound to inbound in the commands if you need outgoing mirroring traffic.

Scenario 1: Configure local interface mirroring (one mirroring interface)
(1)Configure the observing interface
#Configure GE0/0/1 as the local observing interface on the router.
system-view
[Huawei] observe-port interface gigabitethernet 0/0/1
(2)Configure the mirroring interface
#Configure GE0/0/2 as the mirroring interface, and bind the inbound mirroring traffic to the local observing interface, that is, replicate the packets received by the mirroring interface to the local observing interface.
[Huawei] interface gigabitethernet 0/0/2
[Huawei-GigabitEthernet0/0/2] mirror to observe-port inbound
[Huawei-GigabitEthernet0/0/2] return

For details, select Configuration > CLI-based Configuration > Network Management and Monitoring Configuration Guide >
Mirroring Configuration > Configuration Examples > Example for Configuring 1:1 Local Port Mirroring in the following URL: [http://support.huawei.com/hedex/hdx.do?docid=EDOC1000116356&id=dc_cfg_mirror_1131&text=Example%2520for%2520Configuring%25201%253A1%2520Local%2520Port%2520Mirroring&lang=en">Product Documentation.

Scenario 2: Configure local interface mirroring (multiple mirroring interfaces)
(1)Configure the observing interface
#Configure Eth0/0/1 as the local observing interface on the router.
system-view
[Huawei] observe-port interface ethernet 0/0/1
(2)Configure the mirroring interface.
Configure Eth0/0/0 as the mirroring interface on the router.
[Huawei] interface ethernet 0/0/0
[Huawei-Ethernet0/0/0] mirror to observe-port inbound
[Huawei-Ethernet0/0/0] quit
# Configure Eth0/0/2 as the mirroring interface on the router.
[Huawei] interface ethernet 0/0/2
[Huawei-Ethernet0/0/2] mirror to observe-port inbound
[Huawei-Ethernet0/0/2] return

For details, select Configuration > CLI-based Configuration > Network Management and Monitoring Configuration Guide >
Mirroring Configuration > Configuration Examples > Example for Configuring N:1 Local Port Mirroring in the following URL: Product Documentation.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top