Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Log Generation

    The Multiservices PIC uses the system logging protocol to generate session logging. System log messages can be sent directly from the services PIC to an external system logging server. This requires that the services PIC interface have an IP address and appropriate system logging options configured, as in this example:

    [edit interfaces sp-5/0/0]
    services-options {syslog {host 130.0.0.1 {services any;}}}unit 0 {family inet {address 150.0.0.1/32;}}

    Log Format

    For each session, three logs are generated. The three logs allow correlation of start and end times for each session.

    Jun 28 15:29:20 cypher (FPC Slot 5, PIC Slot 0) {sset2}[FWNAT]: ASP_SFW_CREATE_ACCEPT_FLOW: proto 6 (TCP) application: any, ge-1/3/5.0:10.0.0.1:8856 -> 128.0.0.2:80, creating forward or watch flow ; source address and port translate to 129.0.0.1:1028
    Jun 28 15:29:23 cypher (FPC Slot 5, PIC Slot 0) {sset2}[FWNAT]:ASP_NAT_POOL_RELEASE: natpool release 129.0.0.1:1028[1]
    Jun 28 15:29:23 cypher (FPC Slot 5, PIC Slot 0) {sset2}[FWNAT]: ASP_SFW_DELETE_FLOW: proto 6 (TCP) application: any, (null)(null)10.0.0.1:8856 -> 128.0.0.2:80, deleting forward or watch flow ; source address and port translate to 129.0.0.1:1028

    Log format varies somewhat depending on interface card. The example show is for the MS-DPC.

    System Log Throttling

    You can limit logging with the message-rate-limit command.

    Note: in next-hop based service sets, the log sent to remote syslog server comes to the packet forwarding engine (PFE) via the output services PIC interface. This means that you must configure routing properly in the routing-instance where the output interface is configured.

    Published: 2013-08-14