3com WX3000 Manuel D’Utilisation

Page de 715
 
1-7 
To do… 
Use the command… 
Remarks 
Enter system view  
System-view 
— 
Enter Ethernet port view  
interface interface-type 
interface-number
 
— 
Set the link type for the port as 
trunk  
port link-type trunk 
Required 
Set the default VLAN ID for the 
trunk port 
port trunk pvid vlan vlan-id 
Optional 
By default, the VLAN of a 
trunk port is VLAN 1.  
Add the current trunk port into 
the specified VLAN  
port trunk permit vlan { vlan-id-list | 
all } 
Optional 
 
Disabling Up/Down Log Output on a Port 
An Ethernet port has two physical link statuses: UP and Down. When the link status of an Ethernet port 
changes, the device sends log information to the log server, which then acts accordingly. If the status of 
Ethernet ports changes frequently, the device sends log information to the log server frequently, 
burdening the log server and consuming plenty of network resources.  
To solve this problem, you can disable the Up/Down log output function on some ports, so as to reduce 
the quantity of log information output to the log server. 
 
 
After you allow a port to output the Up/Down log information, if the physical link status of the port does 
not change, the device does not send log information to the log server but monitors the port in real time.  
 
Configuration tasks 
Follow these steps to disable a port from outputting UP/Down log information: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view 
interface interface-type 
interface-number 
— 
Disable a port from outputting 
UP/Down Log Information 
undo enable log updown 
Required 
By default, a port is allowed to 
output the UP/Down log 
information.  
 
Configuration example 
# By default, port GigabitEthernet 1/0/1 is allowed to output the Up/Down log information. Execute the 
shutdown command or the undo shutdown command on GigabitEthernet 1/0/1, and the system 
outputs Up/Down log information of GigabitEthernet 1/0/1.