![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 399](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453399.webp)
[RouterA-Eth-Trunk1]
undo shutdown
[RouterA-Eth-Trunk1]
ip address 10.1.1.1 24
[RouterA-Eth-Trunk1]
least active-linknumber 1
[RouterA-Eth-Trunk1]
quit
[RouterA]
interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0]
undo shutdown
[RouterA-GigabitEthernet1/0/0]
eth-trunk 1
[RouterA-GigabitEthernet1/0/0]
quit
[RouterA]
interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0]
undo shutdown
[RouterA-GigabitEthernet2/0/0]
eth-trunk 1
[RouterA-GigabitEthernet2/0/0]
quit
# Create an Eth-Trunk interface on Router B.
<HUAWEI>
system-view
[HUAWEI]
sysname RouterB
[RouterB]
interface eth-trunk 1
[RouterB-Eth-Trunk1]
undo shutdown
[RouterB-Eth-Trunk1]
ip address 10.1.1.2 24
[RouterB-Eth-Trunk1]
least active-linknumber 1
[RouterB-Eth-Trunk1]
quit
[RouterB]
interface gigabitethernet 1/0/0
[RouterB-GigabitEthernet1/0/0]
undo shutdown
[RouterB-GigabitEthernet1/0/0]
eth-trunk 1
[RouterB-GigabitEthernet1/0/0]
quit
[RouterB]
interface gigabitethernet 2/0/0
[RouterB-GigabitEthernet2/0/0]
undo shutdown
[RouterB-GigabitEthernet2/0/0]
eth-trunk 1
[RouterB-GigabitEthernet2/0/0]
quit
After the configurations, run the
display interface eth-trunk
command on Router A or Router
B. You can view that the status of the interface is
Up
.
Use the display on Router A as an example.
[RouterA]
display interface eth-trunk 1
Eth-Trunk1 current state : UP
Line protocol current state : UP
Last line protocol up time: 2007-11-10, 11:35:19
Current system time: 2010-08-30 18:02:12
Description: Eth-Trunk1 Interface
Route Port,Hash arithmetic : According to flow,Maximal BW: 4G, Current BW: 4G, The
Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/24
IP Sending Frames" Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc90-5851
Physical is ETH_TRUNK
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec
Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec
Input: 0 packets,0 bytes
0 unicast,0 broadcast,0 multicast
0 errors,0 drops
Output:0 packets,0 bytes
0 unicast,0 broadcast,0 multicast
0 errors,0 drops
Input bandwidth utilization : 0.00%
Output bandwidth utilization : 0.01%
-----------------------------------------------------
PortName Status Weight
-----------------------------------------------------
GigabitEthernet1/0/0 UP 1
GigabitEthernet2/0/0 UP 1
-----------------------------------------------------
The Number of Ports in Trunk : 2
The Number of UP Ports in Trunk : 2
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
5 BFD Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
382