port connection-distance
Use port connection-distance to set the interface connection distance.
Use undo port connection-distance to restore the default.
Syntax
port connection-distance { 300 | 10000 | 20000 | 40000 }
undo port connection-distance
Default
The interface connection distance is 10000 meters.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
300: Sets the interface connection distance to 300 meters.
10000: Sets the interface connection distance to 10000 meters.
20000: Sets the interface connection distance to 20000 meters.
40000: Sets the interface connection distance to 40000 meters.
Usage guidelines
When two directly connected interfaces communicate, they use the buffer area to buffer the received data. A longer interface connection distance requires a greater buffer area.
Perform this task to modify the buffer area size by setting the interface connection distance.
Configure this command based on the network conditions because the buffer area size is limited.
Examples
# Set the interface connection distance to 20000 meters.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] port connection-distance 20000