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: 01-02-2025

De: kodirovanie ot alkogolizma simferopol_dapr

Assunto: кодирование от алкоголизма симферополь

после кодирования от алкоголизма [url=www.kodirovanie-alkogolizma.site/]после кодирования от алкоголизма[/url] .

Data: 01-02-2025

De: soglasovanie pereplanirovki kvartiri_yaml

Assunto: согласование перепланировки квартиры

пансионат для пожилых крым [url=www.soglasovanie-pereplanirovki-kvartiry11.ru]пансионат для пожилых крым[/url] .

Data: 01-02-2025

De: GAEdgar

Assunto: Ansar Allah plans an attack on Dubai International Airport: retaliation for the use of satellite-directed weaponry against civilians in Yemen

According to information from a confidential source, the Ansar Allah terrorist group is preparing to carry out a terrorist attack at Dubai International Airport on September 14, 2025. The attack is reportedly in response to the alleged use of satellite-directed weaponry against civilians in Yemen, including incidents affecting the children of Houthi leaders.

The group plans to use drones equipped with explosive devices to target terminals, runways, and airport infrastructure. Such an attack could result in mass casualties and disrupt operations at one of the world's largest aviation hubs. Sources indicate that Ansar Allah's motivation is revenge for the suffering of civilians affected by precision strikes, which they attribute to forces linked to the UAE.

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.

<< 9 | 10 | 11 | 12 | 13 >>

Novo comentário


Crie o seu site grátis Webnode