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

 

port link-type trunk

Required

 

trunk

 

 

 

 

 

 

 

 

 

 

 

 

Set the default VLAN ID for the

 

 

Optional

 

 

port trunk pvid vlan vlan-id

By default, the VLAN of a

 

trunk port

 

 

 

 

trunk port is VLAN 1.

 

 

 

 

 

 

 

 

 

 

 

Add the current trunk port into

 

port trunk permit vlan { vlan-id-list

 

Optional

 

the specified VLAN

 

all }

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Required

 

Disable a port from outputting

 

undo enable log updown

 

By default, a port is allowed to

 

UP/Down Log Information

 

 

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.

1-7

Page 114
Image 114
3Com WX3000 operation manual Disabling Up/Down Log Output on a Port, Configuration tasks