Intelligent Services Gateway (ISG) is a
Cisco IOS XE software feature set that provides a structured framework in which edge devices can deliver flexible and scalable services to subscribers. This module describes the Layer 4 Redirect Logging feature.
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see
Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Layer 4 Redirect Logging
The Layer 4 Redirect feature must be enabled. For configuration information, see the module "Redirecting Subscriber Traffic Using ISG Layer 4 Redirect" in the
Intelligent Services Gateway Configuration Guide, Cisco IOS XE.
The Layer 4 Redirect Logging feature allows ISG to capture records of the creation and deletion events for Layer 4 redirect translation entries. These records can identify users who have applications that do not react to HTTP redirect.
The ISG router acts as an exporter of the Layer 4 redirect logging information, sending a UDP packet periodically to the configured external collector. The packet contains all of the Layer 4 redirect logging records, in the NetFlow version 9 export format, for IPv4, IPv6, and dual-stack sessions. The ISG router tracks every creation and deletion event for Layer 4 redirect translation entries on the router. A packet containing the logging records is generated and sent to the external collector after the first of one of the following events occurs:
A predefined amount of Layer 4 redirect logging data has accumulated in the local buffer.
A predefined amount of time has passed without the router sending any data records to the collector, and there are data records in the local buffer to be sent.
If more than one type of logging feature is configured on the same router (for example, network address translation (NAT) or Firewall), the number of events that can be generated at one time is shared among all of the logging features. Logging requests are served on a first-come first-serve basis.
Any external collector that supports the NetFlow version 9 or IP information export (IPFIX) protocol can be used to process Layer 4 redirect logging data exported by the ISG router.
Template Formats for Layer 4 Redirect Logging
The Layer 4 Redirect Logging records that the ISG router sends to the collector use a preconfigured template format. The NetFlow version 9 export packets include a NetFlow packet header followed by the data records and template records that define the structure of the data records, in a format corresponding to the configured template.
The following tables list the fields that are included in records sent to the external collector, in the basic and extended IPv4 and IPv6 templates. The fields are listed in the order in which they appear in the templates. All of the fields in the basic template are also included in the extended template. The last four fields listed in the tables below are the additional fields that are included only in the extended template.
Table 1
IPv4 Translation Entries Record in the Layer 4 Redirect Logging Template
Field Name
Field Type
Field Length (bytes)
Description
sourceIPv4Address
8
4
Source IPv4 address.
sourceTransportPort
7
2
Source port number in the transport header.
destinationIPv4Address
12
4
Destination IPv4 address.
destinationTransportPort
11
2
Destination port number in the transport header.
l4rServerIPv4Address
44000
4
Layer 4 redirect server IPv4 address.
l4rServerTransportPort
44001
2
Layer 4 redirect server port number.
protocolIdentifier
4
1
Protocol number in the IP header.
l4rEvent
44003
1
1--Translation Entry Create event
2--Translation Entry Delete event
l4rEventTimestamp
44004
4
Time stamp for this Layer 4 Redirect event.
inPackets
2
4
Incoming packet counter.
outPackets
24
4
Outgoing packet counter.
flowId
148
4
ASR internal identifier (EVSI#) of the session or traffic class on which the Layer 4 Redirect feature is configured.
Table 2
IPv6 Translation Entries Record in the Layer 4 Redirect Logging Template
Field Name
Field Type
Field Length (bytes)
Description
sourceIPv6Address
27
16
Source IPv6 address.
sourceTransportPort
7
2
Source port number in the transport header.
destinationIPv6Address
28
16
Destination IPv6 address.
destinationTransportPort
11
2
Destination port number in the transport header.
l4rServerIPv6Address
44002
16
Layer 4 redirect server IPv6 address.
l4rServerTransportPort
44001
2
Layer 4 redirect server port number.
protocolIdentifier
4
1
Protocol number in the IP header.
l4rEvent
44003
1
1--Translation Entry Create event
2--Translation Entry Delete event
l4rEventTimestamp
44004
4
Time stamp for this Layer 4 redirect event.
inPackets
2
4
Incoming packet counter.
outPackets
24
4
Outgoing packet counter.
flowId
148
4
ASR internal identifier (EVSI#) of the session or traffic class on which the L4R feature is configured.
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 3
Feature Information for Layer 4 Redirect Logging
Feature Name
Releases
Feature Information
Layer 4 Redirect Logging Enhancement
Cisco IOS XE Release 3.5S
Allows ISG to export Layer 4 redirect logging information to an external collector.
The following command was introduced:
redirect log translations.
RaBaPol Web Traffic L4 Redirect Logging Enhancement
Cisco IOS XE Release 3.5S
Allows ISG to export Layer 4 redirect logging information to an external collector.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.