Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Enabling Logging on an ASR from a source port

I have a Cisco ASR 1001.  I am trying to send traffic from g0 to a switch that picks up all my logging traffic.

Below is my config.  What am I missing.  I am trying to send traffic to device 10.10.23.17. I want to make sure that ll traffic get to 10.10.23.17.

Thanks in advance!

logging trap debugging

logging facility local1

logging host 10.10.23.17

ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 10.10.88.1

  • LAN Switching and Routing
8 REPLIES

Re: Enabling Logging on an ASR from a source port

Can you ping the syslog server from the management IP?

ping vrf Mgmt-intf 10.10.23.17

Enabling Logging on an ASR from a source port

Syslog logging: enabled (0 messages dropped, 11 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)

No Active Message Discriminator.

No Inactive Message Discriminator.

    Console logging: disabled

    Monitor logging: disabled

    Buffer logging:  disabled, xml disabled,

                    filtering disabled

    Exception Logging: size (4096 bytes)

    Count and timestamp logging messages: disabled

    Persistent logging: disabled

No active filter modules.

    Trap logging: level debugging, 553 message lines logged

        Logging to 10.10.23.17  (udp port 514, audit disabled,

              link up),

              121 message lines logged,

              0 message lines rate-limited,

              0 message lines dropped-by-MD,

              xml disabled, sequence number disabled

              filtering disabled

        Logging to 10.10.89.74  (udp port 514, audit disabled,

              link up),

              2 message lines logged,

              0 message lines rate-limited,

              0 message lines dropped-by-MD,

              xml disabled, sequence number disabled

              filtering disabled

        Logging Source-Interface:       VRF Name:

        GigabitEthernet0                Mgmt-intf

Enabling Logging on an ASR from a source port

Thanks. Messages are being sent so that part looks OK. Is there a reason you're logging at facility local1?

Enabling Logging on an ASR from a source port

Yes I am.

Enabling Logging on an ASR from a source port

Can you post the results of a show log? Just the part up to the actual log entries.

Re: Enabling Logging on an ASR from a source port

Re: Enabling Logging on an ASR from a source port

Good catch Rolf. This is IOS-XE so the command is a little different.

logging source-interface GigabitEthernet0 vrf Mgmt-intf

Re: Enabling Logging on an ASR from a source port

Thanks Collin. Those little differences make our life much more interesting, right? ;-)

245
Views
0
Helpful
8
Replies
This widget could not be displayed.