Outputting Custom Nat444 Logs To A Log Host; Enabling Synchronous Information Output - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Set the maximum size of the
trace log file.

Outputting custom NAT444 logs to a log host

Step
1.
Enter system view.
2.
Enable the device to
generate custom
NAT444 logs in a
specific format.
3.
Specify a log host and
configure related
parameters.
4.
(Optional.) Specify the
source IP address for
output custom NAT444
logs.
5.
(Optional.) Configure
the timestamp of output
custom NAT444 logs to
show the local time.

Enabling synchronous information output

System log output interrupts ongoing configuration operations, obscuring previously entered commands.
Synchronous information output shows the obscured commands. It also provides a command prompt in
command editing mode, or a [Y/N] string in interaction mode so you can continue your operation from
where you were stopped.
To enable synchronous information output:
Step
1.
Enter system view.
2.
Enable synchronous
information output.
Command
system-view
info-center trace-logfile quota size
Command
system-view
customlog format { unicom |
telecom | cmcc }
customlog host [ vpn-instance
vpn-instance-name ] { hostname |
ipv4-address | ipv6 ipv6-address }
[ port port-number ] export
{ cmcc-sessionlog | cmcc-userlog |
telecom-sessionlog |
telecom-userlog |
unicom-sessionlog |
unicom-userlog } *
customlog host source interface-type
interface-number
customlog timestamp localtime
Command
system-view
info-center synchronous
253
Remarks
N/A
By default, the maximum size of the
trace log file is 1 MB.
Remarks
N/A
By default, the device does not
generate custom logs.
By default, no log host is specified.
The value of the port-number argument
must be the same as the value
configured on the log host. Otherwise,
the log host cannot receive logs.
By default, the source IP address of
output custom NAT444 logs is the
primary IP address of the matching
route's egress interface.
By default, the timestamp of output
custom NAT444 logs shows
Greenwich Mean Time (GMT).
Remarks
N/A
By default, synchronous
information output is disabled.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents