< Home

network-extension log enable

Function

The network-extension log enable command enables the logging function when the client establishes the TCP connection with the intranet server.

The undo network-extension log enable command disables the logging function when the client establishes the TCP connection with the intranet server.

Format

network-extension log enable

undo network-extension log enable

Parameters

None

Views

Function service view

Default Level

2: Configuration level

Usage Guidelines

After network extension is enabled, the gateway records a connection log each time a client establishes the TCP connection with the intranet server through network extension. If TCP connections are frequently established, a large number of logs are generated on the gateway, which affects the query on other logs. If you do not want to record logs of network extension, run the undo network-extension log enable command.

By default, the logging function is disabled when the client establishes the TCP connection with the intranet server.

Example

# Enable the logging function when the client establishes the TCP connection with the intranet server.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] service
[sysname-gateway-service] network-extension log enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >