1-8 
Configuration examples 
# In the default conditions, where UP/DOWN log output is enabled, execute the shutdown command or 
the  undo shutdown command on GigabitEthernet 1/0/1. The Up/Down log information for 
GigabitEthernet 1/0/1 is generated and displayed on the terminal. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] interface GigabitEthernet 1/0/1 
[Sysname-GigabitEthernet1/0/1] shutdown 
%Apr  5 07:25:37:634 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 - 
 GigabitEthernet1/0/1 is DOWN 
[Sysname-GigabitEthernet1/0/1] undo shutdown 
%Apr  5 07:25:56:244 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 - 
 GigabitEthernet1/0/1 is UP 
# Disable GigabitEthernet 1/0/1 from generating Up/Down log information and execute the shutdown 
command or the undo shutdown command on GigabitEthernet 1/0/1. No Up/Down log information is 
generated or output for GigabitEthernet 1/0/1.  
[Sysname-GigabitEthernet1/0/1] undo enable log updown 
[Sysname-GigabitEthernet1/0/1] shutdown 
[Sysname-GigabitEthernet1/0/1] undo shutdown 
Configuring a Port Group 
To make the configuration task easier for users, certain devices allow users to configure on a single port 
as well as on multiple ports in a port group. In port group view, the user only needs to input the 
configuration command once on one port and that configuration will apply to all ports in the port group. 
This effectively reduces redundant configurations. 
A Port group could be manually created by users. Multiple Ethernet ports can be added to the same port 
group but one Ethernet port can only be added to one port group. 
Table 1-1 Configuring a Port Group 
Operation  Command  Remarks 
Enter system view 
system-view 
—
 
Create a port group or enter the 
specified port group view 
port-group group-id 
Required 
Add an Ethernet port to a 
specified port group 
port interface-list 
Required 
 
 
A port can not be added to a port group if it has been added to an aggregation group, and vice versa.