- Table of Contents
-
- H3C S3610[S5510] Series Ethernet Switches Command Manual-Release 0001-(V1.02)
- 00-1Cover
- 01-Login Command
- 02-VLAN Command
- 03-IP Address and Performance Command
- 04-QinQ-BPDU Tunnel Command
- 05-Port Correlation Configuration Command
- 06-MAC Address Table Management Command
- 07-MAC-IP-Port Binding Command
- 08-MSTP Command
- 09-Routing Overview Command
- 10-IPv4 Routing Command
- 11-IPv6 Routing Command
- 12-IPv6 Configuration Command
- 13-Multicast Protocol Command
- 14-802.1x-HABP-MAC Authentication Command
- 15-AAA-RADIUS-HWTACACS Command
- 16-ARP Command
- 17-DHCP Command
- 18-ACL Command
- 19-QoS Command
- 20-Port Mirroring Command
- 21-Cluster Management Command
- 22-UDP Helper Command
- 23-SNMP-RMON Command
- 24-NTP Command
- 25-DNS Command
- 26-File System Management Command
- 27-Information Center Command
- 28-System Maintenance and Debugging Command
- 29-NQA Command
- 30-VRRP Command
- 31-SSH Command
- 32-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
05-Port Correlation Configuration Command | 238 KB |
Table of Contents
Chapter 1 Ethernet Interface Configuration Commands
1.1 General Ethernet Interface Configuration Commands
1.1.6 display loopback-detection
1.1.9 display port-group manual
1.1.17 loopback-detection control enable
1.1.18 loopback-detection enable
1.1.19 loopback-detection interval-time
1.1.20 loopback-detection per-vlan enable
1.1.24 reset counters interface
Chapter 2 Link Aggregation Configuration Commands
2.1 Link Aggregation Configuration Commands
2.1.2 display link-aggregation interface
2.1.3 display link-aggregation service-type
2.1.4 display link-aggregation summary
2.1.5 display link-aggregation verbose
2.1.9 link-aggregation group description
2.1.10 link-aggregation group mode
2.1.11 link-aggregation group service-type
2.1.12 port link-aggregation group
Chapter 3 Port Isolation Configuration Commands
3.1 Port Isolation Configuration Commands
3.1.1 display port-isolate group
3.1.3 port-isolate uplink-port
Chapter 1 Ethernet Interface Configuration Commands
1.1 General Ethernet Interface Configuration Commands
1.1.1 broadcast-suppression
Syntax
broadcast-suppression ratio
undo broadcast-suppression
View
Ethernet interface view/port group view
Parameter
ratio: Maximal ratio of broadcast traffic to the total transmission capability of an Ethernet interface. It ranges between 1 to 100 and defaults to 100.
The smaller the ratio, the less broadcast traffic allowed through the interface.
Description
Use the broadcast-suppression command to configure a broadcast storm suppression ratio.
Use the undo broadcast-suppression command to restore the default broadcast storm suppression ratio.
By default, all broadcast traffic is allowed to go through an Ethernet interface, that is, broadcast traffic is not suppressed.
If you execute this command in Ethernet interface view, the configurations take effect only on the current interface. If you execute this command in port-group view, the configurations take effect on all ports in the port group.
Note that when broadcast traffic exceeds the maximum value configured, the system will discard the extra packets so that the broadcast traffic ratio falls below the limit to ensure that the network functions properly.
& Note:
If you set different suppression ratios in Ethernet interface view or port-group view for multiple times, the latest configuration takes effect.
Example
# Allow broadcast traffic equivalent to 20% of the total transmission capability of Ethernet1/0 to pass and suppress the excessive broadcast packets.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] broadcast-suppression 20
1.1.2 copy configuration
Syntax
copy configuration source interface-type interface-number destination interface-list
View
Interface view
Parameter
interface-type interface-number: The interface type and interface number of the interface to be copied
interface-list: Destination Ethernet interface list, in the format of
interface-type interface-number [ to interface-type
interface-number ] &<1-10>, where &<1-10> indicates
that you can specify up to 10 port ranges.
Description
Use the copy configuration command to copy configurations on a specific interface to other interface(s). The configurations that can be copied include port configuration, GVRP, STP, port-isolate (port isolation configuration), VLAN, LACP, QoS and QING.
& Note:
Neither the source port nor the destination port can be a uplink port of the isolated group when you copy port isolation configurations.
Example
# Copy configurations from Ethernet 1/0/1 to Ethernet 1/0/2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] copy configuration source Ethernet 1/0/1 destination Ethernet 1/0/2
Copying speed/duplex configuration...
Copying GVRP configuration...
Copying STP configuration...
Copying Port-isolate configuration...
Copying VLAN configuration...
Copying LACP configuration...
Copying QoS configuration...
Copying QINQ configuration...
1.1.3 description
Syntax
description text
undo description
View
Ethernet interface view
Parameter
text: The description of an Ethernet interface, a string of 1 to 80 characters.
Description
Use the description command to configure the description of an Ethernet interface.
Use the undo description command to remove the description.
Default to interface name followed by the “interface” string, for example, Ethernet1/0/1 Interface.
Example
# Configure the description for interface Ethernet 1/0/1 to “lanswitch-interface”.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] description lanswitch-interface
1.1.4 display brief interface
Syntax
display brief interface [ interface-type [ interface-number ] ] [ | { begin | include | exclude } regular-expression ]
View
Any view
Parameter
interface-type: Type of a specified interface.
interface-number: Number of a specified interface.
|: Uses a regular expression to filter output information.
begin: Displays information that begins with the specified string.
include: Displays information that contains the specified string.
exclude: Displays information that do not contain the specified string.
regular-expression: Regular expression, in the range of 1 to 256 characters, excluding spaces.
Table 1-1 Special characters in regular expressions
Special Characters |
Special Meaning |
Notes on Use |
_ |
Underscore, similar to a wildcard character, can represent one of the following: (^|$|[,(){}]) a space, the beginning of the string, the end of the string |
If the regular expression does not begin with an underscore (-), the number of underscores is not limited but is subject to the command line length. If the regular expression begins with an underscore (-), then at most another four consecutive underscores can follow this underscore. If the underscores (-) are not consecutive, then the first group of underscores (-) is used to filter the routing table. The subsequent underscores will be ignored. |
( |
Left paraphrase, represents a pull in stack. |
Users are recommended not to use this character in a regular expression. |
. |
Full stop, wildcard character, matches any single character, including white space. |
None |
* |
Star character, matches expressions with 0 or more single-character or multiple-character |
zo* matches z and zoo. |
+ |
plus, matches expressions with 1 or more single-character or multiple-character |
zo+ matches zo and zoo, but not z. |
Description
Use the display brief interface command to display brief interface information, including simple interface name, link state, protocol link state, protocol type, and main IP address.
l If neither interface type nor interface number is specified, all interface information will be displayed;
l If only interface type is specified, then only information of this particular type of interface will be displayed.
l If both interface type and interface number are specified, then only information of the specified interface will be displayed.
Related command: interface.
Example
# Display brief information of interface(s).
<Sysname> display brief interface
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
Aux1/0/0 UP DOWN -- 11.1.1.1
NULL0 UP UP(spoofing) NULL
Vlan1 UP UP ETHERNET 192.168.0.36
Vlan2 DOWN DOWN ETHERNET
Vlan4 DOWN DOWN ETHERNET 20.1.1.1
Vlan5 DOWN DOWN ETHERNET
Vlan6 DOWN DOWN ETHERNET
Vlan8 DOWN DOWN ETHERNET
Vlan11 DOWN DOWN ETHERNET
Vlan200 DOWN DOWN ETHERNET
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
Eth1/0/1 DOWN auto auto access 1
Eth1/0/2 UP 100M(a) full(a) hybrid 1
Eth1/0/3 DOWN auto auto access 1
Eth1/0/4 DOWN auto auto access 1
Eth1/0/5 DOWN auto auto access 1
Eth1/0/6 DOWN auto auto access 1
Eth1/0/7 DOWN auto auto access 1
Eth1/0/8 DOWN auto auto access 1
Eth1/0/9 DOWN auto auto access 1
Eth1/0/10 DOWN auto auto access 1
Eth1/0/11 DOWN auto auto access 1
Eth1/0/12 DOWN auto auto access 1
GE1/1/1 DOWN auto auto access 1
GE1/1/2 DOWN auto auto access 1
GE1/1/3 DOWN auto auto access 1
GE1/1/4 DOWN auto auto access 1
# Display brief interface information that contains the string “UP”.
<Sysname> display brief interface | include DOWN
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
Aux1/0/0 UP DOWN -- 11.1.1.1
Vlan2 DOWN DOWN ETHERNET
Vlan4 DOWN DOWN ETHERNET 20.1.1.1
Vlan5 DOWN DOWN ETHERNET
Vlan6 DOWN DOWN ETHERNET
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
Eth1/0/1 DOWN auto auto access 1
Eth1/0/3 DOWN auto auto access 1
Eth1/0/4 DOWN auto auto access 1
Eth1/0/5 DOWN auto auto access 1
Eth1/0/6 DOWN auto auto access 1
Eth1/0/7 DOWN auto auto access 1
Table 1-2 Output description of the display brief interface command.
Field |
Description |
The brief information of interface(s) under route mode: |
Brief information of interface(s) in route mode |
Interface |
Interface name |
Link |
Interface physical link state, which can be up or down |
Protocol-link |
Interface protocol link state, which can be up or down |
Protocol type |
Interface protocol type |
Main IP |
Main IP |
The brief information of interface(s) under bridge mode: |
Brief information of interface(s) in bridge mode |
Speed |
Interface rate, in bps |
Duplex |
Duplex mode, which can be half (half duplex), full (full duplex), or auto (auto-negotiation). |
PVID |
Default VLAN ID |
Table 1-3 Acronyms for different types of Interface
Interface name |
Acronyms |
Ethernet |
Eth |
GigabitEthernet |
GE |
Ten-GigabitEthernet |
XGE |
1.1.5 display interface
Syntax
display interface [ interface-type [ interface-number ] ]
View
Any view
Parameter
interface-type: Type of a specified interface.
interface-number: Number of a specified interface.
Description
Use the display interface command to display the current state of a specified interface and related information.
l If neither interface type nor interface number is specified, all interface information will be displayed;
l If only interface type is specified, then only information of this particular type of interface will be displayed.
l If both interface type and interface number are specified, then only information of the specified interface will be displayed.
Related command: interface.
Example
# Display the current state of Layer 2 interface Ethernet1/0 and related information.
<Sysname> display interface Ethernet 1/0/1
Ethernet1/0/1 current state: DOWN
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e200-2200
Description: Ethernet1/0/1 Interface
Loopback is not set
Media type is twisted pair, Port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 1552
Broadcast MAX-ratio: 100%
PVID: 1
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last 300 seconds input: 0 packets/sec 0 bytes/sec
Last 300 seconds output: 0 packets/sec 0 bytes/sec
Input (total): - packets, - bytes
- broadcasts, - multicasts
Input (normal): 0 packets, 0 bytes
0 broadcasts, 0 multicasts
Input: 0 input errors, 0 runts, 0 giants, - throttles
0 CRC, 0 frame, 0 overruns, 0 aborts
- ignored, - parity errors
Output (total): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output (normal): 0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
Table 1-4 Description on fields of the display interface command (in bridge mode)
Field |
Description |
Ethernet1/0/1 current state |
Current physical link state of the Ethernet interface |
IP Packet Frame Type |
Frame type of the Ethernet interface |
Hardware address |
Hardware address |
Description |
Description of the interface |
Loopback is not set |
Loopback is not configured |
Media type is twisted pair |
The media type is twisted pair cable |
Port hardware type |
The hardware type of port |
Unknown-speed mode |
Unknown-speed mode, in which mode speed is negotiated between the current host and the peer |
unknown-duplex mode |
unknown-duplex mode, in which mode speed is negotiated between the current host and the peer |
Link speed type is autonegotiation |
Link speed type is autonegotiation |
link duplex type is autonegotiation |
Link duplex type is autonegotiation |
Flow-control is not enabled |
Flow-control is not enabled |
The Maximum Frame Length |
The maximum frame length allowed on an interface |
Broadcast-suppression ratio(%) |
Broadcast storm suppression ratio (the maximum ratio of allowed number of broadcast packets to overall traffic through an interface) |
Allow jumbo frame to pass |
Allow jumbo frame to pass through |
PVID |
Default VLAN ID |
Mdi type |
Cable type |
Port link-type |
Interface link type, which could be access, trunk, and hybrid. |
Tagged VLAN ID |
Identify the VLANs that need Tag markers |
Untagged VLAN ID |
Identify the VLANs that do not need Tag markers |
Port priority |
The port priority |
Last 300 seconds input: |
Average input rate over the last 300 seconds |
Last 300 seconds output |
Average output rate over the last 300 seconds |
Input (total): - packets, - bytes - broadcasts, - multicasts |
Statistics on the total incoming packets ( including normal packets, error packets ) on the port The “-” indicates that the statistical item is not supported. |
Input (normal): 0 packets, 0 bytes 0 broadcasts, 0 multicasts |
Statistics on the normal incoming packets on the port |
Input: 0 input errors, 0 runts, 0 giants, - throttles 0 CRC, 0 frame, 0 overruns, 0 aborts - ignored, - parity errors |
Statistics on the abnormal incoming packets on the port |
Output (total): - packets, - bytes - broadcasts, - multicasts, - pauses |
Statistics on the total outgoing packets ( including normal packets, error packets ) on the port The “-” indicates that the statistical item is not supported. |
Output (normal): 0 packets, 0 bytes 0 broadcasts, 0 multicasts, 0 pauses |
Statistics on the normal outgoing packets on the port |
Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions - lost carrier, - no carrier |
Statistics on the abnormal outgoing packets on the port |
1.1.6 display loopback-detection
Syntax
display loopback-detection
View
Any view
Parameter
None
Description
Use the display loopback-detection command to display loopback detection information on a port
If loopback detection is already enabled, this command will also display the detection interval and information on the ports currently detected with a loopback.
Example
# Display loopback detection information on a port.
<Sysname> display loopback-detection
Loopback-detection is running
Detection interval time is 30 seconds
There is no port existing loopback link
Table 1-5 Output description of the display loopback-detection command.
Field |
Description |
Loopback-detection is running |
Loopback-detection is running |
Detection interval time is 30 seconds |
Detection interval is 30 seconds |
There is no port existing loopback link |
No port is currently being detected with a loopback |
1.1.7 display port
Syntax
display port { hybrid | trunk I combo }
View
Any view
Parameter
hybrid: Displays the current Hybrid port(s).
trunk: Displays the current Trunk port(s).
combo: Displays the current Combo port(s) and the corresponding optical and electrical ports.
Description
Use the display port command to display information on the current ports of a specified type, including port name, default VLAN ID, and the VLAN ID of VLANs that the ports can pass through.
Example
# Display the current Hybrid port(s).
<Sysname> display port hybrid
Interface PVID VLAN passing
Eth1/0/2 1 Tagged: 1-2
Untagged:none
# Display the current Trunk port(s).
<Sysname> display port trunk
Interface PVID VLAN passing
Eth1/0/3 2 1-4
Table 1-6 Output description of the display port command.
Field |
Description |
Interface |
Interface name |
PVID |
Default VLAN ID of the interface |
VLAN passing |
VLAN ID of VLANs that the ports can pass through |
1.1.8 display port combo
Syntax
display port combo
View
Any view
Parameter
None.
Description
Use the display port combo command to display information of combo port on the current device.
& Note:
Currently, only S5510 series Ethernet switches support combo port.
Example
# Display the current combo port(s).
<Sysname> display port combo
Combo-group Active Inactive
1 GigabitEthernet1/0/21 GigabitEthernet1/0/25
2 GigabitEthernet1/0/22 GigabitEthernet1/0/26
3 GigabitEthernet1/0/23 GigabitEthernet1/0/27
4 GigabitEthernet1/0/24 GigabitEthernet1/0/28
1.1.9 display port-group manual
Syntax
display port-group manual [all | name port-group-name ]
View
Any view
Parameter
all: All manual port groups.
name port-group-name: Name of a specified manual port group, a string of 1 to 32 characters.
Description
Use the display port-group manual command to display information on a specified manual port group.
l port-group-name: Displays the details for a specified manual port group, including its name and the Ethernet interface ports included.
l all: Displays the details for all manual port groups, including their names and the Ethernet interface ports included.
l Absence of parameters indicates that the names of all port groups will be displayed.
Example
# Display details for all manual port groups.
<Sysname> display port-group manual all
Member of group1:
Ethernet1/0/1 Ethernet1/0/2 Ethernet1/0/3
1.1.10 duplex
Syntax
duplex { auto | full | half }
undo duplex
View
Ethernet interface view
Parameter
auto: Indicates that the interface is in an auto-negotiation state.
full: Indicates that the interface is in a full-duplex state.
half: Indicates that the interface is in a half-duplex state. Gigabit Ethernet interfaces do not support half duplex.
Description
Use the duplex command to configure the duplex mode for an Ethernet interface.
Use the undo duplex command to restore the duplex mode for an Ethernet interface to the default.
By default, the duplex mode for an Ethernet interface is auto.
Related command: speed.
Example
# Configure the interface Ethernet 1/0/1 to work in full-duplex mode.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] duplex full
1.1.11 flow-control
Syntax
flow-control
undo flow-control
View
Ethernet interface view
Parameter
None
Description
Use the flow-control command to turn on flow control on an Ethernet interface.
Use the undo flow-control command to turn off flow control on an Ethernet interface.
By default, flow control on an Ethernet interface is turned off.
& Note:
The flow control can be implemented on the local Ethernet interface only when the flow control function is enabled on both the local and peer devices.
Example
# Turn on flow control on interface Ethernet1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] flow-control
1.1.12 flow-interval
Syntax
flow-interval interval
undo flow-interval
View
Ethernet interface view
Parameter
interval: Time interval at which interface statistics is collected, in the range of 5 to 300 seconds, a multiple of 5. The default value is 300 seconds.
Description
Use the flow-interval command to configure the time interval for collecting interface statistics. Use the undo flow-interval command to restore the default interval.
When you use the display interface interface-type interface-number command to display the information of a port, the system performs statistical analysis on the traffic flow passing through the port during the specified interval and displays the average rates in the interval. For example, if you set the interval to 100 seconds, the displayed information is as follows:
Last 100 seconds input: 0 packets/sec 0 bytes/sec
Last 100 seconds output: 0 packets/sec 0 bytes/sec
Related command: display interface.
Example
# Set the time interval for collecting interface statistics to 100 seconds.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] flow-interval 100
1.1.13 group-member
Syntax
group-member interface-list
undo group-member interface-list
View
port group view
Parameter
interface-list: Ethernet interface list, in the format of
interface-type interface-number [ to interface-type
interface-number ] &<1-10>, where &<1-10> indicates
that you can specify up to 10 port ranges
Description
Use the group-member command to add an Ethernet interface to a specified manual port group.
Use the undo group-member command to remove a specified Ethernet interface from a manual port group.
By default, a manual port group is empty, that is, there is no Ethernet interface in it.
Example
# Add the interface Ethernet 1/0/1 to Ethernet 1/0/3 to the manual port group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] port-group manual group1
[Sysname-port-group-manual-group1] group-member Ethernet 1/0/1 to Ethernet 1/0/3
1.1.14 interface
Syntax
interface interface-type interface-number
View
System view
Parameter
interface-type interface-number: The type and number of a specified interface.
& Note:
l Interface is identified by slot number/subslot number/interface number, for example, Ethernet 1/0/1 can be represented as 1/0/1.
l For ease of user input, interface type can be abbreviated so long as it does not cause any confusion, for example, interface Ethernet 1/0/1 can be abbreviated as e1/0/1.
Description
Use the interface command to enter the related interface view.
Example
# Enter interface view of the interface Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1]
1.1.15 jumboframe enable
Syntax
jumboframe enable
undo jumboframe enable
View
System view
Parameter
None
Description
Use the jumboframe enable command to enable jumbo frames to pass through Ethernet interface. Use the undo jumboframe enable command to disable jumbo frames to pass through Ethernet interface.
By default, the device allows jumbo frames to pass through Ethernet interfaces.
The length of jumbo frames is 1552 bytes for 100M port, and is 10240 bytes for 1000M port.
The max length of frames is 1522 bytes when you disable jumbo frames to pass through Ethernet interface.
Example
# Enable jumbo frames to pass through all Ethernet interfaces.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] jumboframe enable
1.1.16 loopback
Syntax
loopback { external | internal }
undo loopback
View
Ethernet interface view
Parameter
external: Enables external loopback testing on an Ethernet interface.
internal: Enables internal loopback testing on an Ethernet interface.
Description
Use the loopback command to enable Ethernet interface loopback testing.
Use the undo loopback command to disable Ethernet interface loopback testing.
By default, Ethernet interface loopback testing is disabled.
& Note:
l Ethernet interface loopback testing should be enabled while testing certain functionalities, such as during the initial identification of any network failure.
l While enabled, Ethernet interface loopback testing will work in a full-duplex mode. The interface will return to its original state upon completion of the loopback testing.
Example
# Configure to enable loopback testing on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] loopback internal
1.1.17 loopback-detection control enable
Syntax
loopback-detection control enable
undo loopback-detection control enable
View
Ethernet interface view
Parameter
None
Description
Use the loopback-detection control enable command to enable loopback detection for a Trunk port or Hybrid port.
Use the undo loopback-detection control enable command to disable loopback detection for a Trunk port or Hybrid port.
l When the loopback detection is enabled, if a port has been detected with loopback, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.
l When the loopback detection is disabled, if a port has been detected with loopback, a Trap message will be sent to the terminal. The port is still working properly.
By default, loopback detection for Trunk port and Hybrid port is disabled.
Note that this command is inapplicable to an Access port as its loopback detection is enabled by default.
Example
# Enable loopback detection for the Trunk port Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] loopback-detection enable
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] loopback-detection enable
[Sysname-Ethernet1/0/1] loopback-detection control enable
1.1.18 loopback-detection enable
Syntax
loopback-detection enable
undo loopback-detection enable
View
System view/Ethernet interface view
Parameter
None
Description
Use the loopback-detection enable command to enable loopback detection globally or on a specified port.
Use the undo loopback-detection enable command to disable loopback detection globally or on a specified port.
l If an Access port has been detected with loopback, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address If a Trunk port or Hybrid port has been detected with loopback, a Trunk message will be sent to the terminal. They will be shutdown if the loopback testing function is enabled on them. In addition, a Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.
By default, loopback detection is disabled for an Access, Trunk, or Hybrid port.
Related command: loopback-detection control enable.
Caution:
l Loopback detection on a given port is enabled only after the loopback-detection enable command has been issued in both system view and the interface view of the port.
l Loopback detection on all ports will be disabled after the issuing of the undo loopback-detection enable command under system view.
Example
# Enable loopback detection on the interface Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] loopback-detection enable
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] loopback-detection enable
1.1.19 loopback-detection interval-time
Syntax
loopback-detection interval-time time
undo loopback-detection interval-time
View
System view
Parameter
time: Time interval for port loopback detection, in the range of 5 to 300 seconds and defaults to 30.
Description
Use the loopback-detection interval-time command to configure time interval for port loopback detection.
Use the undo loopback-detection interval-time command to restore the default time interval for port loopback detection.
Related command: display loopback-detection.
Example
# Set the time interval for port loopback detection to 10 seconds.
<Sysname> system-view
[Sysname] loopback-detection interval-time 10
1.1.20 loopback-detection per-vlan enable
Syntax
loopback-detection per-vlan enable
undo loopback-detection per-vlan enable
View
Ethernet interface view
Parameter
None
Description
Use the loopback-detection per-vlan enable command to enable loopback detection in all VLANs with Trunk ports or Hybrid ports.
Use the undo loopback-detection per-vlan enable command to enable loopback detection in the default VLAN with Trunk ports or Hybrid ports.
By default, loopback detection is only enabled in the default VLAN(s) with Trunk ports or Hybrid ports.
Note that the loopback-detection per-vlan enable command is not applicable to access ports.
Example
# Enable loopback detection in all VLANs to which the Hybrid port Ethernet 1/0/1 belong.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] loopback-detection per-vlan enable
1.1.21 mdi
Syntax
mdi { across | auto | normal }
undo mdi
View
Ethernet interface view
Parameter
across: Specifies an Ethernet interface to use a cross-over cable.
auto: Specifies an Ethernet interface to identify the cable type automatically.
normal: Specifies an Ethernet interface to use a straight-through cable.
Description
Use the mdi command to configure the cable type for an Ethernet interface.
Use the undo mdi command to restore the cable type for an Ethernet interface.
By default, an Ethernet interface uses auto-detection cable.
& Note:
l The Combo optical port does not support this command.
l The GE port of S3610 Series Ethernet Switches only supports the mdi auto configuration.
Example
# Configure the interface Ethernet 1/0/1 to use cross over cable.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] mdi across
1.1.22 port link-type
Syntax
port link-type { access | hybrid | trunk }
undo port link-type
View
Ethernet interface view/port group view
Parameter
access: Specifies the link type of a port as Access.
hybrid: Specifies the link type of a port as Hybrid.
trunk: Specifies the link type of a port as Trunk.
Description
Use the port link-type command to configure Ethernet port link type.
Use the undo port link-type command to restore Ethernet port link type to Access.
The above commands apply to the current port only while executed under Ethernet interface view, or to all ports in a port group while executed under port group view.
By default, link type for all Ethernet interfaces is Access.
Example
# Configure the interface Ethernet 1/0/1 to be Trunk port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
1.1.23 port-group
Syntax
port-group { manual port-group-name | aggregation agg-id }
undo port-group manual port-group-name
View
System view
Parameter
manual port-group-name: Name of a specified manual port group, a string of 1 to 32 characters.
aggregation agg-id: Number of the specified port aggregation group. The specified port aggregation group must already exist. You can use the display link-aggregation summary command to display brief information of all existing port aggregation groups.
Description
l Use the port-group manual command to enter a specified manual port group view. If the manual port group does not exist, you need to create it first before entering its view.
l Use the port-group aggregation command to enter a port group aggregation view.
l Use the undo port-group manual command to delete a specified manual port group.
By default, no manual port group is configured.
Example
# Create a manual port group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] port-group manual group1
[Sysname-port-group-manual-group1]
1.1.24 reset counters interface
Syntax
reset counters interface [ interface-type [ interface-number ] ]
View
User view
Parameter
interface-type: Interface type.
interface-number: Interface number.
Description
Use the reset counters interface command to reset statistics for a specified interface.
To sample network traffic within a period of time for an interface, you need to reset the original interface statistics.
l If neither interface type nor interface number is specified, all interface information will be reset;
l If only interface type is specified, then only information of this particular type of interface will be reset.
l If both interface type and interface number are specified, then only information of the specified interface will be reset.
Example
# Clear the statistics of Ethernet 1/0/1.
<Sysname> reset counters interface ethernet 1/0/1
1.1.25 shutdown
Syntax
shutdown
undo shutdown
View
Ethernet interface view
Parameter
None
Description
Use the shutdown command to shut down an Ethernet interface.
Use the undo shutdown command to turn on Ethernet interface.
In certain circumstances, modification to the interface parameters does not immediately take effect, and therefore, you need to shut down the relative interface to make the modification work.
Example
# Shut down the interface Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] shutdown
# Turn on the interface Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo shutdown
1.1.26 speed
Syntax
speed { 10 | 100 | 1000 | auto }
undo speed
View
Ethernet interface view
Parameter
10: Indicates that the interface rate is 10 Mbps.
100: Indicates that the interface rate is 100 Mbps.
1000: Indicates that the interface rate is 1000 Mbps.
auto: Indicates that the interface rate is in the auto-negotiation state.
Description
Use the speed command to configure Ethernet interface data rate.
Use the undo speed command to restore Ethernet interface data rate.
By default, Ethernet interface data rate is automatically negotiated between peer Ethernet interfaces.
Note that the following:
l The Combo port does not support the speed command.
l The speed 1000 command is only applicable to Gigabit Ethernet interface.
Related command: duplex.
Example
# Configure data rate for the interface Ethernet 1/0/1 to 100 Mbps.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] speed 100
1.1.27 virtual-cable-test
Syntax
virtual-cable-test
View
Ethernet interface view
Parameter
None
Description
Use the virtual-cable-test command to enable the virtual cable test for an Ethernet interface and to display the testing result. The tested items include:
l Cable status: Could be normal, abnormal, abnormal-open, abnormal-short, and failure;
l Cable length;
l Pair Impedance mismatch;
l Pair skew;
l Pair swap;
l Pair polarity;
l Insertion loss;
l Return loss;
l Near-end crosstalk.
By default, virtual cable test is disabled.
Note:
l When the cable is functioning properly, the cable length in the test result represents no meaning;
l When the cable is not functioning properly, the cable length in the test result represents the length from the current interface to the failed position.
l For the 100M port, current device does not support getting the total cable length when the cable under normal status.
& Note:
The virtual-cable-test command is not supported on a Combo optical port.
Example
# Enable the virtual cable test for the interface Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0] virtual-cable-test
Cable status: abnormal(open), 7 metres
Pair Impedance mismatch: yes
Pair skew: 4294967294 ns
Pair swap: swap
Pair polarity: normal
Insertion loss: 7 db
Return loss: 7 db
Near-end crosstalk: 7 db
Chapter 2 Link Aggregation Configuration Commands
2.1 Link Aggregation Configuration Commands
2.1.1 display lacp system-id
display lacp system-id
View
Any view
Parameter
None
Description
Use the display lacp system-id command to display the local system ID, which comprises system LACP priority and system MAC address.
Example
# Display the local system ID.
<Sysname> display lacp system-id
Actor System ID: 0x8000, 00e0-fc00-0100
2.1.2 display link-aggregation interface
Syntax
display link-aggregation interface interface-type interface-number [ to interface-type interface-number ]
View
Any view
Parameter
interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.
Description
Use the display link-aggregation interface command to display detailed information about link aggregation on the specified port or ports.
You may find that information about the remote system is replaced by 0 and no statistics about LACPDUs are provided for manual link aggregation groups. This is normal because this type of aggregation group has no knowledge of its partner and does not use LACPDUs for maintaining link aggregation.
Example
# Display detailed information about link aggregation for port Ethernet 1/0/1 in a manual aggregation group.
<Sysname> display link-aggregation interface ethernet1/0/1
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Ethernet1/0/1:
Selected AggID: 3
Local:
Port-Priority: 32768, Oper key: 1, Flag: {}
Remote:
System ID: 0x0, 0000-0000-0000
Port Number: 0, Port-Priority: 0 , Oper-key: 0, Flag: {}
# Display detailed information about link aggregation for port Ethernet 1/0/1 in a dynamic aggregation group.
<Sysname> display link-aggregation interface ethernet1/0/2
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Ethernet1/0/2:
Selected AggID: 0
Local:
Port-Priority: 0, Oper key: 2, Flag: {ACG}
Remote:
System ID: 0x8000, 0000-0000-0000
Port Number: 0, Port-Priority: 32768 , Oper-key: 0, Flag: {EF}
Received LACP Packets: 0 packet(s), Illegal: 0 packet(s)
Sent LACP Packets: 0 packet(s)
Table 2-1 Description on the fields of display link-aggregation interface
Field |
Description |
Flags |
One-octet LACP flags field indicates the actor state variables for the port. From the least to the most significant bit, they are represented by A through H as follows: A –– Enabling/disabling of LACP, 1 for enabled and 0 for disabled B –– Timeout control value, 1 for short timeout, and 0 for long timeout C –– Whether the system considers this link to be aggregatable, 1 for true, and 0 for false D –– Whether the system considers that this link is synchronized, 1 for true, and 0 for false E –– Whether collection of incoming frames is enabled on the link, 1 for true and 0 for false F –– Whether distribution of outgoing frames is enabled on the link, 1 for true and 0 for false G –– Whether the receive state machine of the actor is using default operational partner information, 1 for true and 0 for false H –– Whether the receive state machine of the actor is in the expired state, 1 for true and 0 for false If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays. |
Selected AggID |
ID of the link aggregation group of which this port is a member |
Local: Port-Priority, Oper key, Flag |
Local port LACP priority, operational key, LACP state flag |
Remote: System ID, Port Number, Port-Priority, Oper-key, Flag |
Remote system ID, port number, port LACP priority, operational key, and LACP state flag |
Received LACP Packets, Illegal, Sent LACP Packets |
Statistics about received, invalid, and sent LACP packets |
2.1.3 display link-aggregation service-type
Syntax
display link-aggregation service-type [ agg-id ]
View
Any view
Parameter
agg-id: Service loop group ID, same as its associated aggregation group.
Description
Use the display link-aggregation service-type command to display information about the specified or all service loop groups.
Example
# Display information about service loop group 1.
<Sysname> display link-aggregation service-type 1
Service-Loop Service Quote
Group ID Type Number
---------------------------------------------------------
1 ipv6 0
Table 2-2 Description on the fields of display link-aggregation service-type
Field |
Description |
Service-Loop Group ID |
Service loop group ID |
Service Type |
Service type supported by the group |
Quote Number |
Reference count for the service loop group. Only after it decreases to zero can you remove the group. |
2.1.4 display link-aggregation summary
Syntax
display link-aggregation summary
View
Any view
Parameter
None
Description
Use the display link-aggregation summary command to display a summary for all link aggregation groups.
You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.
Example
# Display the link aggregation group summary.
<Sysname> display link-aggregation summary
Aggregation Group Type: D -- Dynamic, S -- Static, M -- Manual
Loadsharing Type: Shar – Loadsharing, NonS – Non-Loadsharing
Actor ID: 0x8000, 00e0-fcff-ff04
AL AL Partner ID Select Unselected Share Master
ID Type Ports Ports Type Port
-------------------------------------------------------------------
1 D 0x8000,00e0-fcff-ff01 1 0 NonS Ethernet1/1
10 M none 1 0 NonS Ethernet1/2
20 S 0x8000,00e0-fcff-ff01 1 0 NonS Ethernet1/3
Table 2-3 Description on the fields of display link-aggregation summary
Field |
Description |
Actor ID |
Local system ID |
AL ID |
Link aggregation group ID |
AL Type |
Link aggregation type: manual, static LACP, or dynamic LACP |
Partner ID |
Remote system ID |
Select Ports |
Number of selected ports |
Unselected Ports |
Number of unselected ports |
Share Type |
Load sharing type |
Master Port |
Master port number |
2.1.5 display link-aggregation verbose
Syntax
display link-aggregation verbose [ agg-id ]
View
Any view
Parameter
agg-id: ID of an existing link aggregation group. Its value range varies by device.
Description
Use the display link-aggregation verbose command to display detailed information about the specified or all link aggregation groups.
You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.
Example
# Display detailed information about link aggregation group 1.
<Sysname> display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation ID: 1, AggregationType: Static, Loadsharing Type: Shar
Aggregation Description:
System ID: 0x8000, 00e0-fc00-0001
Port Status: S -- Selected, U -- Unselected
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------
Eth1/0 S 32768 1 {ACDEFG}
Eth1/1 U 32768 1 {ACG}
Eth1/2 U 32768 2 {ACG}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------
Eth1/0 0 32768 0 0x8000,0000-0000-0000 {DEF}
Eth1/1 0 32768 0 0x8000,0000-0000-0000 {DEF}
Eth1/2 0 32768 0 0x8000,0000-0000-0000 {EF}
Table 2-4 Description on the fields of display link-aggregation verbose
Field |
Description |
Loadsharing Type |
Load sharing type, either shar for loadsharing or NonS for non-load sharing |
Flags |
One-octet LACP flags field indicates the actor state variables for the port. From the least to the most significant bit, they are represented by A through H as follows: A –– Enabling/disabling of LACP, 1 for enabled and 0 for disabled B –– Timeout control value, 1 for short timeout, and 0 for long timeout C –– Whether the system considers this link to be aggregatable, 1 for true, and 0 for false D –– Whether the system considers that this link is synchronized, 1 for true, and 0 for false E –– Whether collection of incoming frames is enabled on the link, 1 for true and 0 for false F –– Whether distribution of outgoing frames is enabled on the link, 1 for true and 0 for false G –– Whether the receive state machine of the actor is using default operational partner information, 1 for true and 0 for false H –– Whether the receive state machine of the actor is in the expired state, 1 for true and 0 for false If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays. |
Aggregation ID |
Link aggregation group ID |
AggregationType |
Link aggregation type: manual, static LACP, or dynamic LACP |
Aggregation Description |
Link aggregation group name |
System ID |
Local system ID |
Port State |
Port state in a link aggregation group: selected or unselected |
Local: Port, Status, Priority, Oper-key, Flag |
Other information about the local end, including member ports, port state, port LACP priority, operational key, and flags |
Remote: Actor, Partner, Priority, Oper-key, SystemID, Flag |
Detailed information about the remote end, including corresponding local port, port ID, port LACP priority, operational key, system ID, and flags |
2.1.6 lacp enable
Syntax
lacp enable
undo lacp enable
View
Ethernet interface view, port-group view
Parameter
None
Description
Use the lacp enable command to enable LACP on the port or ports in the port group.
Use the undo lacp enable command to disable LACP on the port or ports in the port group.
Example
# Enable LACP on port Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] lacp enable
2.1.7 lacp port-priority
Syntax
lacp port-priority port-priority
undo lacp port-priority
View
Ethernet interface view, port-group view
Parameter
port-priority: Port LACP priority, in the range 0 to 65,535. It defaults to 32,768.
Description
Use the lacp port-priority command to assign an LACP priority to the port or ports in the port group.
Use the undo lacp port-priority command to restore the default.
Related command: display link-aggregation interface, display link-aggregation verbose.
Example
# Assign LACP priority 64 to a port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] lacp port-priority 64
2.1.8 lacp system-priority
Syntax
lacp system-priority system-priority
undo lacp system-priority
View
System view
Parameter
system-priority: System LACP priority, in the range 0 to 65,535. It defaults to 32,768.
Description
Use the lacp system-priority command to assign an LACP priority to the local system.
Use the undo lacp system-priority command to restore the default.
Example
# Assign LACP priority 64 to the local system.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] lacp system-priority 64
2.1.9 link-aggregation group description
Syntax
link-aggregation group agg-id description agg-name
undo link-aggregation group agg-id description
View
System view
Parameter
agg-id: Link aggregation group ID. Its value range varies by device.
agg-name: Link aggregation group name, in the range 1 to 32 characters.
Description
Use the link-aggregation group description command to configure a name for the specified link aggregation group.
Use the undo link-aggregation group description command to remove the name of the specified link aggregation group.
Note that the configuration of dynamic LACP link aggregation groups including their group names cannot survive a reboot even if you have saved configuration with the save command before that.
Related command: display link-aggregation verbose.
Example
# Name link aggregation group 22 as abc.
<Sysname> system-view
[Sysname] link-aggregation group 22 description abc
2.1.10 link-aggregation group mode
Syntax
link-aggregation group agg-id mode { manual | static }
undo link-aggregation group agg-id
View
System view
Parameter
agg-id: Link aggregation group ID. Its value range varies by device.
manual: Manual link aggregation mode.
static: Static LACP link aggregation mode.
Description
Use the link-aggregation group mode command to create a manual or static LACP link aggregation group.
Use the undo link-aggregation group command to remove a link aggregation group. If the group is functioning as a service loop group, this can result in the removal of the service loop group.
You can use the undo form of the command to remove a dynamic LACP link aggregation group even though you cannot manually create one. After that, the member ports in the group form another group with an ID that can be the same as or different than the old one.
Related command: display link-aggregation summary.
Example
# Create manual link aggregation group 22.
<Sysname> system-view
[Sysname] link-aggregation group 22 mode manual
2.1.11 link-aggregation group service-type
Syntax
link-aggregation group agg-id service-type
undo link-aggregation group agg-id service-type
View
System view
Parameter
agg-id: Link aggregation group ID. Its value range varies by device.
Tunnel: Sets/modifies the service type to tunnel.
Description
Use the link-aggregation group service-type command to create a service loop group or modify the service supported by an existing service loop group.
Use the link-aggregation group mode command to remove a service loop group.
You can only use a manual link aggregation group to create a service loop group. This group can support MPLS or any service combinations of IPv6, IPv6 multicast, and tunnel. If another service loop group is providing the intended service, however, your creation or service-type modification attempt will fail.
Example
# Configure link aggregation group 5 as a tunnel service loop group.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] link-aggregation group 5 service-type tunnel
2.1.12 port link-aggregation group
Syntax
port link-aggregation group agg-id
undo port link-aggregation group
View
Ethernet interface view, port-group view
Parameter
agg-id: Link aggregation group ID. Its value range varies by device.
Description
Use the port link-aggregation group command to assign the Ethernet port to the specified link aggregation group (manual or static LACP) or service loop group.
Use the undo port link-aggregation group command to remove the Ethernet port from the specified aggregation group or service loop group.
Note that this command and its undo form cannot work with the ports in a dynamic LACP link aggregation group.
Related command: display link-aggregation verbose.
Example
# Assign port Ethernet 1/0/1 to link aggregation group 22.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-aggregation group 22
2.1.13 port-group aggregation
Syntax
port-group aggregation agg-id
View
System view
Parameter
agg-id: Aggregation port group ID, same as the ID of its corresponding link aggregation group. Its value range varies by device.
Description
Use the port-group aggregation command to enter aggregation port group view.
Instead of being created administratively, an aggregation port group is created automatically upon the creation of a link aggregation group and assigned the ID of the link aggregation group.
In aggregation port group view, you can configure aggregation related settings such as MSTP, VLAN, QoS, GVRP, QinQ, BPDU tunnel, and multicast, but cannot add or remove member ports.
Example
# Enter aggregation port group view.
System View: return to User View with Ctrl+Z.
[Sysname] port-group aggregation 10
[Sysname-port-group-aggregation-10]
2.1.14 reset lacp statistics
Syntax
reset lacp statistics [ interface interface-type interface-number [ to interface-type interface-number ] ]
View
User view
Parameter
interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.
Description
Use the reset lacp statistics command to clear statistics about LACP on specified or all ports.
Related command: display link-aggregation interface.
Example
# Clear statistics about LACP on all ports.
<Sysname> reset lacp statistics
Chapter 3 Port Isolation Configuration Commands
3.1 Port Isolation Configuration Commands
3.1.1 display port-isolate group
Syntax
display port-isolate group
View
Any view
Parameter
None
Description
Use the display port-isolate group command to display information of default Isolation Group 1.
Example
# Display the isolation group and its information.
<Sysname> display port-isolate group
Port-isolate group information:
Uplink port support: YES
Group ID: 1
Uplink port: Ethernet1/0/4
Ethernet1/0/1 Ethernet1/0/2
3.1.2 port-isolate enable
Syntax
port-isolate enable
undo port-isolate enable
View
Ethernet interface view or interface group view
Parameter
None
Description
Use the port-isolate enable command to add a port to the isolation group as ordinary port only.
Use the undo port isolate command to remove the port from the isolation group.
Note: Current device only support one Isolation Group.
Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group.
& Note:
For the same port, only one of the port-isolate enable command and the port-isolate uplink-port command is available, that is, a port cannot be configured as an ordinary port and an uplink port at the same time in the isolation group.
Example
# Add port Ethernet 1/0/1 to the isolation group.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port-isolate enable
3.1.3 port-isolate uplink-port
Syntax
port-isolate uplink-port
undo port-isolate uplink-port
View
Ethernet interface view
Parameter
group-number: Specifies an isolation group number. The range available varies with devices. Refer to the specific requirement of your device.
Description
Use the port-isolate uplink-port command to add the specified port as the uplink port of the isolation group.
Use the undo port-isolate uplink-port command to remove the specified port as the uplink port of the isolation group.
Caution:
l This command is used to configure the uplink port of Isolation Group 1.
l For the same port, only one of the port-isolate enable command and the port-isolate uplink-port command is available, that is, a port cannot be configured as an ordinary port and an uplink port at the same time in the isolation group.
Example
# Configure the port Ethernet1/0/1 as a uplink port of the isolation group.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port-isolate uplink-port