This page enables you to configure a CGNv6 logging template.
To configure a logging CGNv6 template:
The following fields are available for the configuration:
|
Field |
Option |
Description |
|---|---|---|
|
Name |
|
Specify a name to identify the logging template. Specify a string of 1-63 characters. |
| General | ||
| Include | ||
| Destination | Specify whether the destination IP address and protocol port in logs should be enabled or disabled. | |
| User Mac | Specify whether the user MAC addresses in logs should be enabled or disabled. | |
| Partition Name | Specify whether the partition name in logging events should be enabled or disabled. | |
| Session Byte Count | Specify whether the byte count in session deletion logs should be enabled or disabled. | |
| Port Block Account | Specify whether the bytes accounting information in port-batch-v2 port-mapping and Fixed-NAT user-ports messages should be enabled or disabled. | |
| Source IP/Port | ||
| Source IP | Specify an IP address to use as the source address for traffic sent to log servers. | |
| Source IPv6 | Specify a source IPv6 address. | |
| Source Port |
Specify whether the source port is enabled or disabled. The UDP port number to use as the source port for traffic sent to log servers. You can specify an individual port number or “any”. |
|
|
|
Source Port Number |
Configured source port for sending NAT sys logs. By default, the value is set to 514. |
|
Radius |
Set of RADIUS attributes to receive from external RADIUS clients, and use for inserting additional information into logs. | |
|
|
No Quote | Specify whether the quotation marks for the RADIUS attributes in logs should be enabled or disabled. |
|
|
Insert String for Custom Attribute | Specify whether the insertion of a string for custom RADIUS attributes should be enabled or disabled. |
|
|
Insert Zero for Standard and Custom Attribute | Specify whether the insertion of zero for standard and custom attributes in log string should be enabled or disabled. |
|
|
Include Attribute for IPv6 Prefix | Specify whether the radius attributes for the IPv6 prefix should be enabled or disabled. |
|
|
Prefix Length | Specify radius attributes for the IPv6 prefix length. This can be configured only when the Include Attribute for IPv6 Prefix field should be enabled. |
|
|
Attribute | Specify the radius attribute name. |
|
|
Attribute Event | Specify the type of radius attribute event logs configured. |
|
HTTP |
||
|
HTTP Logging |
||
|
|
Log HTTP | Specify a request Host or URL requested by the client. |
|
|
Method | Specify the HTTP request method (for example, GET or POST). |
|
|
L4 Session Info | Specify the L4 session information of the HTTP request. Information about the TCP session with the client and server |
|
|
Request Number | Specify a request or response byte counts. |
|
|
File Extension | |
|
HTTP Request Rules |
||
|
|
Log Every HTTP Request | Specify whether to log every HTTP request in an HTTP session should be enabled or disabled. By default, log the first HTTP request in a session. |
|
|
Include All Headers | Specify whether all configured headers despite of absence in HTTP request should be enabled or disabled. |
|
|
Disable Sequence Check | Specify whether the http packet sequence check and don't drop out of order packets should be enabled or disabled. |
|
|
Max URL Length |
Specify the maximum length of URL log. By default, the maximum URL length is set to 128 characters. |
|
Destination Port |
||
|
|
Destination Port Number |
Specify the HTTP requests sent to specified destination port. You can specify a value between 1 - 65535. The default port is disabled. |
|
|
Byte Count | Specify whether the byte count of HTTP request or response in CGN session deletion logs should be enabled or disabled. |
|
NAT Log |
||
| Port Overloading | Specify whether the force logging of all port-overloading sessions should be enabled or disabled. | |
| Port Mapping | Specify log NAT port mapping. By default, the log creation and deletion of NAT mappings are set. | |
| Sessions | Specify whether log all data sessions created using NAT should be enabled or disabled. | |
| Merged Style | Specify whether merge creation and deletion of session logs to one enabled or disabled. | |
| User Data | Specify whether the log LSN subscriber information should be enabled or disabled. | |
| Fixed NAT | ||
|
|
Fixed NAT Port Mapping | Specify a log fixed NAT port mapping. By default, the log creation and deletion of fixed NAT port mappings are set. |
| Fixed NAT Sessions | Specify whether to log all data sessions created using fixed NAT should be enabled or disabled. | |
| HTTP Request | Specify whether to log every HTTP request in an Fixed NAT HTTP session should be enabled or disabled. The log HTTP request can be URL or Host. | |
| User Ports | Specify whether the log fixed NAT user ports should be enabled or disabled. | |
| Days | Specify the number of days configured for the log fixed NAT user ports. You can specify 1 - 30. The default port is disabled. | |
| Start Time | Specify the configured time to start periodic logging. You can specify start time in hh:mm. | |
| Log Format | ||
| Format |
Specify a NAT logging format. By default, the NAT logging format is set to ASCII. |
|
| Resolution |
Specify a resolution of logging in seconds or 10-milliseconds. By default, the resolution of logging is set to seconds. |
|
| Batched Logging | Disable multiple logs per packet. | |
| Log interim update of NAT Mappings | Specify a log interim update of NAT mappings. The interim update interval is configured in minutes. You can specify a value between 15 to 120. The interval is floored to a multiple of 5. | |
| Custom | ||
| Header | Specify a customized header. By default, the customized header is set to no header. | |
| Fixed NAT Allocated | Specify a customized fixed NAT allocated message string. | |
| Fixed NAT Freed | Specify a customized fixed NAT free message string. | |
| Fixed NAT Interim | Update a configured customized fixed interim update. | |
| HTTP Request Got | Specify a customized HTTP received request. | |
| Port Allocated | Specify an allocated port. | |
| Port Batch Allocated | Specify an allocated port batch. | |
| Port Batch Freed | Specify a port batch freed. | |
| Port Batch V2 Allocated | Specify an allocated port batch V2. | |
| Port Batch V2 Freed | Specify an allocated port batch V2 freed. | |
| Port Batch V2 Interim Update | Specify an allocated port batch V2 interim update. | |
| Port Freed | Specify a port freed. | |
| Session Created | Specify a date on which the session was created. | |
| Session Deleted | Specify a date on which the session was deleted. | |
| Time Stamp Format |
Specify a customized precision of the timestamps format in log messages.
By default, the timestamp is set as %Y%m%d%H%M%S |
|
| RFC Custom | ||
| Use Alternate Timestamp | Specify an alternate non-RFC5424 compliant timestamp. For an example, 1990 Jan 15 12:30:30. | |
| Tech Type | Specify a technical type such as LSN, NAT 64, and DS Lite. | |
| Custom Message | See the Custom section, under Log Format for the other fields’ explanation. | |
| Log Receiver | ||
| Service Group | Set NAT logging service-group. | |
| Log Receiver is Radius | Use RADIUS server for NAT logging | |
| Radius Server Password | ||
| Facility | Set NAT logging facility (default: local 0). | |
| Severity Type |
Specify severity type as string or value. Specifies the minimum severity level to log:
|
|
| Disable Log by Destination | ||
| ICMP | Specify logging for the ICMP traffic enabled or disabled. | |
| Others | Configured logging for the other L4 protocols enabled or disabled. | |
| TCP Destination Ports | ||
| TCP Port Start | Specify a TCP range start addresses for the ICMP traffic. Single destination port or port range start. | |
| TCP Port End | Specify a TCP range end address for the ICMP traffic. Single destination port or port range end. | |
| UDP Destination Ports | ||
| UDP Port Start | Specify a UDP range start addresses for the ICMP traffic. Single destination port or port range start. | |
| UDP Port | Specify a TCP range start address for the ICMP traffic. Single destination port or port range end. |
For more information about Logs and other parameters, see the Traffic Logging Guide.