03-06-2019 12:45 PM
Hello all,
I'm in the process of moving from a cisco 1921 IOS 15.5 to a Cisco 4300 16.3 Denali. Most of the commands have swapped right over. However, I've ran into a snag on the below two commands as a few hours of googling and research has resulted in no luck. I was hoping some of the experts here could help with identifying command replacements.
Whats the equivalent command to the global 'ip inspect log drop-pkt' from 15.5 to denali?
#(config):ip inspect log drop-pkt
What's the equivalent command for the ip sla configuration for 'history'
for example:
#(config): ip sla 123
#(config-ip-sla): history hours-of-statistics-kept 20
Thank you for any and all help!
Solved! Go to Solution.
05-16-2019 03:18 AM - edited 05-16-2019 03:19 AM
Hello,
I don't think globally enabling the logging of dropped packets is available anymore in XE. You have to configure it under the class, e.g.:
class class-default
drop log
05-16-2019 02:56 AM
Hi,
for the IP SLA, you need to specify first the IP SLA-s operation type. like ICMP echo then you'll have your option just as you wrote, let me show you an example.
(config)#ip sla 1299
(config-ip-sla)#icmp-echo 1.1.1.1 source-interface lo 1
(config-ip-sla-echo)#history ?
buckets-kept Maximum number of history buckets to collect
distributions-of-statistics-kept Maximum number of statistics distribution buckets to capture
enhanced Enable enhanced history collection
filter Add operation to History when...
hours-of-statistics-kept Maximum number of statistics hour groups to capture
lives-kept Maximum number of history lives to collect
statistics-distribution-interval Statistics distribution interval size
(config-ip-sla-echo)#history hours-of-statistics-kept 20
(config-ip-sla-echo)#
The other configuration can be worked around with ZBFW using it as an extra command when you specify a class action "drop" and you add the log option.
Please mark this comment as helpful if it answers your question. Thank you
05-16-2019 03:18 AM - edited 05-16-2019 03:19 AM
Hello,
I don't think globally enabling the logging of dropped packets is available anymore in XE. You have to configure it under the class, e.g.:
class class-default
drop log
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide