144
C
HAPTER
10: E
THERNET
P
ORT
C
ONFIGURATION
C
OMMANDS
Use the
undo port link-type
command to restore the port as default status, i.e.
access port.
You can configure three types of ports concurrently on the same switch, but you
cannot switch between trunk port and hybrid port. You must turn it first into
access port and then set it as other type. For example, you cannot configure a
trunk port directly as hybrid port, but first set it as access port and then as hybrid
port.
By default, the link type of the port is Access port.
Example
# Configure Ethernet port Ethernet2/1/1 as trunk port.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] interface ethernet2/1/1
[3Com-Ethernet2/1/1] port link-type trunk
port-mode
Syntax
port-mode
{
wan
|
lan
}
undo port-mode
View
Ethernet port view
Parameter
wan
: Configures the port works in WAN mode, and then only common data
exchange can be implemented on the port.
lan
: Configures the port works in LAN mode, and then data can be transferred on
the port.
Description
Use the
port-mode
command to configure network mode available on the port.
Most ports adopt the LAN mode for general data exchange. The port must work in
WAN mode, however, if it needs to transfer data (such as in fiber transmission).
Use the
undo port-mode
command to restore the default mode of the port.
By default, Ethernet ports work in LAN mode. 10GE ports support WAN mode.
Example
# Set port GigabitEthernet2/1/1 to work in WAN mode.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] interface GigabitEthernet2/1/1
[3Com-GigabitEthernet2/1/1] port-mode wan
# Restore the default (LAN) mode on port GigabitEthernet2/1/1.
[3Com-GigabitEthernet2/1/1] undo port-mode
Содержание Switch 8807
Страница 30: ......
Страница 68: ...66 CHAPTER 2 COMMANDS USED TO LOG IN TO SWITCH ...
Страница 78: ...76 CHAPTER 3 CONFIGURATION FILE MANAGEMENT COMMANDS ...
Страница 96: ...94 CHAPTER 5 SUPER VLAN CONFIGURATION COMMANDS ...
Страница 122: ...120 CHAPTER 8 IP PERFORMANCE CONFIGURATION COMMANDS ...
Страница 130: ...128 CHAPTER 9 GARP GVRP CONFIGURATION COMMANDS ...
Страница 162: ...160 CHAPTER 11 ETHERNET LINK AGGREGATION CONFIGURATION COMMANDS ...
Страница 212: ...210 CHAPTER 13 MSTP CONFIGURATION COMMANDS ...
Страница 234: ...232 CHAPTER 16 ACL COMMANDS ...
Страница 282: ...280 CHAPTER 18 ACL CONTROL COMMANDS TO CONTROL LOGIN USERS ...
Страница 293: ......
Страница 294: ...292 CHAPTER 19 VLAN ACL CONFIGURATION COMMANDS ...
Страница 310: ...308 CHAPTER 20 802 1X CONFIGURATION COMMANDS ...
Страница 370: ...368 CHAPTER 21 AAA AND RADIUS HWTACACS PROTOCOL CONFIGURATION COMMANDS ...
Страница 398: ...396 CHAPTER 23 STATIC ROUTE CONFIGURATION COMMANDS ...
Страница 462: ...460 CHAPTER 25 OSPF CONFIGURATION COMMANDS ...
Страница 498: ...496 CHAPTER 26 INTEGRATED IS IS CONFIGURATION COMMANDS ...
Страница 548: ...546 CHAPTER 27 BGP CONFIGURATION COMMANDS ...
Страница 570: ...568 CHAPTER 30 RECURSIVE ROUTING CONFIGURATION ...
Страница 584: ...582 CHAPTER 32 MULTICAST VLAN CONFIGURATION COMMANDS ...
Страница 600: ...598 CHAPTER 33 MULTICAST COMMON CONFIGURATION COMMANDS ...
Страница 604: ...602 CHAPTER 34 STATIC MULTICAST MAC ADDRESS CONFIGURATION COMMAND ...
Страница 656: ...654 CHAPTER 37 MSDP CONFIGURATION COMMANDS ...
Страница 682: ...680 CHAPTER 38 MBGP MULTICAST EXTENSION CONFIGURATION COMMANDS ...
Страница 762: ...760 CHAPTER 40 BGP MPLS VPN CONFIGURATION COMMANDS ...
Страница 807: ...HA Configuration Commands 805 Example Configure the system Xbar load mode SW8800 xbar load balance ...
Страница 808: ...806 CHAPTER 44 HA CONFIGURATION COMMANDS_HA_CONFIGURATION ...
Страница 820: ...818 CHAPTER 45 ARP CONFIGURATION COMMANDS ...
Страница 824: ...822 CHAPTER 46 ARP TABLE SIZE CONFIGURATION COMMANDS max arp entry config of slot 13 8192 ...
Страница 862: ...860 CHAPTER 47 DHCP CONFIGURATION COMMANDS ...
Страница 870: ...868 CHAPTER 48 DNS CONFIGURATION COMMANDS ...
Страница 972: ...970 CHAPTER 56 SSH TERMINAL SERVICE CONFIGURATION COMMANDS ...
Страница 982: ...980 CHAPTER 57 FILE SYSTEM MANAGEMENT COMMANDS ...
Страница 1026: ...1024 CHAPTER 60 INFORMATION CENTER ...
Страница 1046: ...1044 CHAPTER 63 PORT PACKET STATISTICS COMMANDS ...
Страница 1051: ...Ethernet Port Detection Configuration Commands 1049 ...
Страница 1052: ...1050 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1053: ...Ethernet Port Detection Configuration Commands 1051 ...
Страница 1054: ...1052 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1055: ......
Страница 1056: ...1054 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1057: ......
Страница 1058: ...1056 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1059: ...Ethernet Port Detection Configuration Commands 1057 ...
Страница 1060: ...1058 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1061: ......
Страница 1062: ...1060 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1063: ...Ethernet Port Detection Configuration Commands 1061 ...
Страница 1064: ...1062 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1065: ......
Страница 1066: ...1064 CHAPTER 64 PORT LOOPBACK DETECTION COMMANDS ...
Страница 1090: ...1088 CHAPTER 66 NQA CONFIGURATION COMMANDS ...