debug capture data physical eth-wan
debug capture data physical start
debug capture data physical stop
debug capture data physical eth-wan
debug capture data physical start
debug capture data physical stop
A foto utilizei do curso do CCNP-SW do Gustavo Kalau, as infos adicionadas por mim.
Informações básicas que todo operador de redes que da suporte a operação em redes ópticas tem que saber.
É de supra importância não ignorar informações do L1, já vi muito analista “experiente” levando surras, por focar muito em camadas superiores.
Importante também dar uma estudada nas distâncias que esses tipos lhe proporcionam, evitando assim custos desnecessários para sua empresa, temos SFP indoor para usos em DC, e já vi muita SFP de 10km 20km em ambiente de DC ou seja onerou a operação, poderia estar sendo usada em um enlace metro de cliente e etc… atenção.
Segue um brief de distancias e capacidades dessas para lhe ajudar na melhor decisão na compra certa.
Site: https://migrationtools.juniper.net/i2j/index.jsp
Necessário cadastro da Juniper é grátis.
Ajuda para ACLS, e interfaces, o resto deu uma bugada boa.
Legal que o site te fala que o que deu erro, o que não conseguiu, o que você deve ter atenção etc,,,
Vejam um exemplo, removi os IPS por politica de segurança mesmo sendo LAB, acostumem a trabalhar em Safe Mode … sabe your ASS. hehehehehe
Para quem está fazendo labs e vai subir um iperf em linux e TFTP,,, segue vai precisar.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
[root@tecmint ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0B:CD:1C:18:5A inet addr:172.16.25.126 Bcast:172.16.25.63 Mask:255.255.255.224 inet6 addr: fe80::20b:cdff:fe1c:185a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2341604 errors:0 dropped:0 overruns:0 frame:0 TX packets:2217673 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:293460932 (279.8 MiB) TX bytes:1042006549 (993.7 MiB) Interrupt:185 Memory:f7fe0000-f7ff0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:5019066 errors:0 dropped:0 overruns:0 frame:0 TX packets:5019066 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2174522634 (2.0 GiB) TX bytes:2174522634 (2.0 GiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.1.1.1 P-t-P:10.1.1.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
The following ifconfig command with -a argument will display information of all active or inactive network interfaces on server. It displays the results for eth0, lo, sit0 and tun0.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
[root@tecmint ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0B:CD:1C:18:5A inet addr:172.16.25.126 Bcast:172.16.25.63 Mask:255.255.255.224 inet6 addr: fe80::20b:cdff:fe1c:185a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2344927 errors:0 dropped:0 overruns:0 frame:0 TX packets:2220777 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:293839516 (280.2 MiB) TX bytes:1043722206 (995.3 MiB) Interrupt:185 Memory:f7fe0000-f7ff0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:5022927 errors:0 dropped:0 overruns:0 frame:0 TX packets:5022927 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2175739488 (2.0 GiB) TX bytes:2175739488 (2.0 GiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.1.1.1 P-t-P:10.1.1.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
Using interface name (eth0) as an argument with “ifconfig” command will display details of specific network interface.
1 2 3 4 5 6 7 8 9 10 |
[root@tecmint ~]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0B:CD:1C:18:5A inet addr:172.16.25.126 Bcast:172.16.25.63 Mask:255.255.255.224 inet6 addr: fe80::20b:cdff:fe1c:185a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2345583 errors:0 dropped:0 overruns:0 frame:0 TX packets:2221421 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:293912265 (280.2 MiB) TX bytes:1044100408 (995.7 MiB) Interrupt:185 Memory:f7fe0000-f7ff0000 |
The “up” or “ifup” flag with interface name (eth0) activates an network interface, if it is not in active state and allowing to send and receive information. For example, “ifconfig eth0 up” or “ifup eth0” will activate the eth0interface.
1 2 3 |
[root@tecmint ~]# ifconfig eth0 up OR [root@tecmint ~]# ifup eth0 |
The “down” or “ifdown” flag with interface name (eth0) deactivates the specified network interface. For example, “ifconfig eth0 down” or “ifdown eth0” command deactivates the eth0 interface, if it is in active state.
1 2 3 |
[root@tecmint ~]# ifconfig eth0 down OR [root@tecmint ~]# ifdown eth0 |
To assign an IP address to an specific interface, use the following command with an interface name (eth0) and ip address that you want to set. For example, “ifconfig eth0 172.16.25.125” will set the IP address to interface eth0.
1 |
[root@tecmint ~]# ifconfig eth0 172.16.25.125 |
Using the “ifconfig” command with “netmask” argument and interface name as (eth0) allows you to define an netmask to an given interface. For example, “ifconfig eth0 netmask 255.255.255.224” will set the network mask to an given interface eth0.
1 |
[root@tecmint ~]# ifconfig eth0 netmask 255.255.255.224 |
Using the “broadcast” argument with an interface name will set the broadcast address for the given interface. For example, “ifconfig eth0 broadcast 172.16.25.63” command sets the broadcast address to an interface eth0.
1 |
[root@tecmint ~]# ifconfig eth0 broadcast 172.16.25.63 |
To assign an IP address, Netmask address and Broadcast address all at once using “ifconfig” command with all arguments as given below.
1 |
[root@tecmint ~]# ifconfig eth0 172.16.25.125 netmask 255.255.255.224 broadcast 172.16.25.63 |
The “mtu” argument set the maximum transmission unit to an interface. The MTU allows you to set the limit size of packets that are transmitted on an interface. The MTU able to handle maximum number of octets to an interface in one single transaction. For example, “ifconfig eth0 mtu 1000” will set the maximum transmission unit to given set (i.e. 1000). Not all network interfaces supports MTU settings.
1 |
[root@tecmint ~]# ifconfig eth0 mtu 1000 |
What happens in normal mode, when a packet received by a network card, it verifies that the packet belongs to itself. If not, it drops the packet normally, but in the promiscuous mode is used to accept all the packets that flows through the network card.
Most of the today’s network tools uses the promiscuous mode to capture and analyze the packets that flows through the network interface. To set the promiscuous mode, use the following command.
1 |
[root@tecmint ~]# ifconfig eth0 promisc |
To disable promiscuous mode, use the “-promisc” switch that drops back the network interface in normal mode.
1 |
[root@tecmint ~]# ifconfig eth0 -promisc |
The ifconfig utility allows you to configure additional network interfaces using alias feature. To add alias network interface of eth0, use the following command. Please note that alias network address in same sub-net mask. For example, if your eth0 network ip address is 172.16.25.125, then alias ip address must be 172.16.25.127.
1 |
[root@tecmint ~]# ifconfig eth0:0 172.16.25.127 |
Next, verify the newly created alias network interface address, by using “ifconfig eth0:0” command.
1 2 3 4 5 |
[root@tecmint ~]# ifconfig eth0:0 eth0:0 Link encap:Ethernet HWaddr 00:01:6C:99:14:68 inet addr:172.16.25.123 Bcast:172.16.25.63 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:17 |
If you no longer required an alias network interface or you incorrectly configured it, you can remove it by using the following command.
1 |
[root@tecmint ~]# ifconfig eth0:0 down |
To change the MAC (Media Access Control) address of an eth0 network interface, use the following command with argument “hw ether“. For example, see below.
1 |
[root@tecmint ~]# ifconfig eth0 hw ether AA:BB:CC:DD:EE:FF |
These are the most useful commands for configuring network interfaces in Linux, for more information and usage of ifconfig command use the manpages like “man ifconfig” at the terminal. Check out some other networking utilities below.
Fonte: tecmint.com
1 |
[franco@MikroTik] > routing ospf neighbor print |
Esta é uma maneira rápida de mostrar todos os vizinhos OSPF ao qual o roteador está adjacente.
1 |
[franco@MikroTik] > routing ospf interface print |
Este comando lista todas as interfaces configuradas para OSPF, custos, autenticação e se a interface é ou não passiva. Diferentemente da Cisco, o comportamento padrão do MikroTik é criar dinamicamente uma interface OPSF quando uma declaração de rede é adicionada, o que é o significado do sinalizador “D”.
1 |
[franco@MikroTik] > routing ospf instance print detail |
1 |
[franco@MikroTik] > routing ospf lsa print |
1 |
[franco@MikroTik] > ip route print where ospf=yes |
1 |
[franco@MikroTik] > routing ospf route print |
1 |
[franco@MikroTik] > routing ospf as-border-router print |
1 |
[franco@MikroTik] > routing ospf export |
É isso na ultima imagem adicionado também como ver as configurações de MPLS do seu MK.
Cisco command | MikroTik Command |
---|---|
Cisco(config)#router ospf 1 | /routing ospf instance |
Cisco(config-router)#interface GigabitEthernet0/0 Cisco(config-if)# ip ospf network point-to-point Cisco(config-if)# ip ospf dead-interval 4 Cisco(config-if)# ip ospf hello-interval 1 |
/routing ospf interface add dead-interval=4s hello-interval=1s interface=ether1 network-type=point-to-point |
Cisco(config-router)#network 203.0.113.1 0.0.0.0 area 0 | /routing ospf network add area=backbone network=203.0.113.2/32 |
Cisco(config-router)#network 203.0.113.128 0.0.0.7 area 0 | /routing ospf network add area=backbone network=203.0.113.128/29 |
Cisco(config-router)#router-id 203.0.113.1 | /routing ospf instance set 0 router-id=203.0.113.2 |
show ip ospf 1 | routing ospf instance print detail |
show ip ospf border-routers | routing ospf area-border-router print |
show ip ospf border-routers | routing ospf as-border-router print |
show ip ospf database | routing ospf lsa print |
show ip ospf interface | routing ospf interface print |
show ip ospf neighbor | routing ospf neighbor print |
show ip ospf rib | routing ospf route print |
show ip route ospf | ip route print where ospf=yes |