Configuração de Syslog em roteadores Cisco

O Syslog é um protocolo utilizado pelos sistemas operacionais, processos e aplicativos que permite o envio mensagens de atividades e erros para uma estação de gerenciamento. Existem 08 (oito) níveis de log que variam de  0 (zero) a 7 (sete) com um certo  nível de gravidade que indica a natureza crítica da uma certa mensagem.

O Nível 0 é o mais crítico e o Nível 7 é o menos crítico:

0 – Emergências
1 – Alertas
2 – Crítico
3 – Erros
4 – Avisos
5 – Notificações
6 – Informações
7 – Depuração

Nos equipamentos Cisco o registro syslog baseia-se no utilitário syslog da UNIX. Os eventos do sistema são normalmente registrados no console do sistema a menos que este esteja desativado. Todas as mensagens do log registradas são associadas a uma mensagem de timestamp, de instalação, de gravidade e de registro e às vezes são o único meio para  obter informações sobre o comportamento de algum dispositivo.

 

Configuração de  Syslog em Roteadores Cisco

 

Router>enable

Router#configure terminal

Router(config)#hostname ti-redes

ti-redes(config)# logging on (habilita os logs no roteador)

ti-redes(config)# logging 192.168.0.1 (ip de estação que receberá os logs)

ti-redes(config)# logging trap informational (defini o nível de gravidade como 6 “Informativo”)

ti-redes(config)#service timestamps log datetime (inclui timestamp com mensagem syslog)

 

Na estação de gerenciamento podemos utilizar aplicativos como o Kiwi Syslog, CiscoWorks entre outros.

 

Em uma configuração com Syslog você pode por exemplo associar comandos de debug à uma configuração. Imagine de você quer que todo os pacotes IP ICMP processados pelo roteador sejam logados no servidor.

  

Configuração de Syslog em roteadores Cisco para enviar logs no em caso de processamento de pacotes IP ICMP.

 

Router>enable

Router#configure terminal

Router(config)#hostname ti-redes

ti-redes(config)# logging on (habilita os logs no roteador)

ti-redes(config)# logging 192.168.0.1 (endereço da estação gerenciamento para enviar os logs)

ti-redes(config)# logging trap debug (defini o nível de gravidade como 7 “Depuração”)

ti-redes(config)#service timestamps log datetime (inclui timestamp com mensagem syslog)

ti-redes(config)#exit

ti-redes#debug ip icmp (ativa o debug para pacotes ip icmp)

 

É possível realizar diversas configurações de envio de log, como colocar a palavar “log” ao final de uma regra de lista de acesso, este tipo de configuração permite que no momento de um bloqueio ou permissão um log seja enviado para o servidor de log. Assim o administrador pode detectar de forma online uma tentativa de acesso nos equipamentos.

 

Configuração de Syslog em roteadores Cisco para enviar logs no caso de tentativa de acesso telnet em Roteadores Cisco

 

Router>enable

Router#configure terminal

Router(config)#hostname ti-redes

ti-redes(config)# logging on (habilita os logs no roteador)

ti-redes(config)# logging 192.168.0.1 (endereço da estação gerenciamento para enviar os logs)

ti-redes(config)#service timestamps log datetime (inclui timestamp com a mensagem do syslog)

ti-redes(config)# ip access-list extended telnet (cria uma ACL estendida com nome telnet)

ti-redes(config-ext-nacl)# permit tcp 201.100.1.30 any eq telnet (permite telnet de 201.100.1.30 para qualquer destino)

ti-redes(config-ext-nacl)# deny tcp any any eq telnet log (nega telnet de qualquer origem para qualquer destino e envia um log)

ti-redes(config-ext-nacl)# permit ip any any (permite todo tráfego ip)

 

ti-redes(config)# interface Serial0/0/0 (entra no modo da  interface)

ti-redes(config-if)# ip access-group telnet in (aplica a ACL telnet para pacotes que entram na interface)

Configuração de Syslog em roteadores Cisco

Data: 23-01-2025

De: propysk v moskvy dlya gryzovikov_icOn

Assunto: пропуск в москву для грузовиков

пропуска на грузовые машины в москве [url=www.urilin.ru /]пропуска на грузовые машины в москве[/url] .

Data: 22-01-2025

De: Vivod iz zapoya v stacionare_wwml

Assunto: Вывод из запоя в стационаре

вывод из запоя круглосуточно [url=vyvod-iz-zapoya-v-stacionare21.ru]вывод из запоя круглосуточно[/url] .

Data: 21-01-2025

De: vivod iz zapoya v stacionare_ytpl

Assunto: вывод из запоя в стационаре

вывод из запоя в стационаре воронежа [url=www.vyvod-iz-zapoya-v-stacionare-voronezh23.ru]www.vyvod-iz-zapoya-v-stacionare-voronezh23.ru[/url] .

Data: 17-01-2025

De: XRumer23Fep

Assunto: Test, just a XRumer 23 StrongAI test..

Hello!

This post was created with XRumer 23 StrongAI.

Good luck :)

Data: 14-01-2025

De: Dicapoisa

Assunto: Сетка / интернет магазин тканей сетка - Orelsetka.ru

Наша компания предлагает сетка тканая штукатурная производства Северсталь метиз ОСПАЗ со склада
г.Орел. В наличии огромный ассортименткуплю сетку тканую.
Вы можете купить сетка тканая фильтровая светлую и оцинкованную.
У нас всегда в наличии огромный выбор тканая сетка магазин, цены от производителя.
Продажа тканая сетка в розницу оптом и в розницу со склада г.Орел.

Data: 13-01-2025

De: vivod iz zapoya rostov_gyPr

Assunto: вывод из запоя ростов

прокапаться на дому от алкоголя цена [url=www.vyvod-iz-zapoya-rostov224.ru]прокапаться на дому от алкоголя цена[/url] .

Data: 11-01-2025

De: Raymondimmew

Assunto: secure investments with Ether Bank


The Future of Crypto Investments with EtherBank

In today’s fast-paced world of cryptocurrency, EtherBank stands out as a revolutionary platform for investors. Whether you're new to crypto or a seasoned trader, EtherBank crypto investment options provide innovative solutions tailored to meet diverse financial goals.

What Is EtherBank?
EtherBank is a platform designed for those who value secure, transparent, and high-yield investments. Unlike traditional banking systems, EtherBank operates on blockchain technology, ensuring every transaction is fast, reliable, and tamper-proof. This makes EtherBank crypto investment a top choice for individuals and institutions looking to diversify their portfolios.

Why Choose EtherBank?
Transparency: With blockchain at its core, EtherBank guarantees 100% transparency for every investor.
High Returns: EtherBank has structured its investment plans to offer some of the most competitive yields in the market.
Ease of Use: Through its user-friendly interface, managing your investments has never been easier.
EtherTalk Investment: Your Gateway to Crypto Insights
Another unique aspect of EtherBank is its EtherTalk investment hub. This feature provides users with real-time market analysis, expert opinions, and educational resources, empowering investors to make informed decisions. EtherTalk is more than just a tool—it's a community of like-minded individuals passionate about blockchain technology.

Join the EtherBank Revolution
By choosing EtherBank, you're not just investing in crypto—you're investing in a movement that prioritizes innovation, security, and financial growth. Whether you're interested in EtherTalk investment opportunities or exploring the broader crypto market, EtherBank is your ultimate partner.

Take the first step today and experience the difference with EtherBank crypto investment. Secure your financial future with a platform built for success.

Data: 10-01-2025

De: JordanBal

Assunto: online betting Melbet y683p

Ну посиди,жду твоих робот
in the {mobile|virtual} application, {users|players|visitors} {use|apply|use|can use|use|can use} {the full range of {functions|options} {of the site|portal|site|resource|website|web resource}, including #file_links["C:\Users\Admin\Desktop\file\gsa+en+Phoenix100k200k300k400k474P2URLBB.txt",1,N], including logging in {to your page|personal account|account}.

Data: 10-01-2025

De: Raymondimmew

Assunto: Ether Bank by Claude reviews


Why EtherBank Leads the Crypto Revolution

In the competitive world of blockchain, EtherBank has positioned itself as a leader in innovation. With a focus on security and profitability, EtherBank crypto investment offers something for everyone.

The Unique Advantage of EtherTalk Investment

At the heart of EtherBank is EtherTalk investment, a feature designed to enhance your financial strategies. EtherTalk provides live updates, market trends, and personalized recommendations, making it a favorite among crypto enthusiasts.

Security You Can Trust

Every transaction with EtherBank is secured by advanced blockchain protocols, ensuring complete transparency and protection. This makes EtherBank a reliable platform for both novice and expert investors.

Join the thousands who have already discovered the benefits of EtherBank crypto investment. Experience innovation, security, and growth like never before.

Data: 10-01-2025

De: Anthonyglups

Assunto: Ether Bank by Claude returns


Build Your Wealth with EtherBank Crypto Investment

In an age where digital currencies dominate, EtherBank is your trusted partner for sustainable investments. With its robust platform, EtherBank crypto investment has redefined how we approach wealth creation.

What Sets EtherBank Apart

Unlike traditional platforms, EtherBank uses blockchain technology to eliminate inefficiencies. Its EtherTalk investment module ensures that users stay informed and make confident financial decisions.

Seamless User Experience

EtherBank’s user-friendly design allows even beginners to navigate the complexities of cryptocurrency. From account setup to withdrawals, every step is optimized for convenience.

Discover how EtherBank crypto investment can transform your financial future. Sign up today and be part of a growing global community.

<< 8 | 9 | 10 | 11 | 12 >>

Novo comentário