CATEGORY

Routing&Switching

  • 2021-04-19
  • 2021-04-19
  • 0件

List and how ” | ” pipeline commands for Cisco devices

Do you know the “| pipeline”, a command technique that should be used by those who manage and set up Cisco devices?? It is a basic skill among network engineers who use Cisco devices, but many front-end engineers who do not usually touch the equipment do not know. You can use this pipeline to display only some of the lengthy commands that are output in the CLI. I often use the show run command, but most of the output is unnecessary, isn’t it? About | ” command Read “|” ← pipeline First of all, you don’t know how to read this symbol. smile It is called a “pipe” or “pipeline”. I often don’t know how to call it and can’t tell my customers and partners by mouth. How to 「|」 Type the command that is provided after < a0>, and then type any string.</a0> This “|” Searches for strings in the output of commands entered before < a0>, and changes the output. </a0> (Since it is difficult to understand, the following is an example.) ) For example, in the example above, you can use the “show run” |” I’m using . 「|」 is followed by “inc” (include) and the string […]

  • 2021-04-04
  • 2021-04-04
  • 0件

Operation by ACL “Packet generated by the router itself”

Cisco qualified CCNA and CCNP frequently have access list (ACL) issues. Or y, it is always asked. Among them, there is content that the examinee often mistakes, and there is a content that “can not be solved undying if you do not know it”. The content is “Packets generated by the router itself are not subject to the access list”. Let’s test if the packet is actually uncontrolled. Test configuration Configuration/Settings Set the following access list to Cisco 891fj and Ping another router with ip address 192.168.55.1. * By the way, it is necessary to set protocol settings and destinations, so use extended ACLs. The access list 100 specifies a protocol ICMP, and the source is Any (all), and the destination is set to 192.168.55.1. Then set the access list 100 to the out direction (egress) of GigabitEhternet8 on the orange router. This should control ICMP packets from the orange router to 192.168.55.1. Router#show run int gi8 interface GigabitEthernet8 ip address 192.168.55.80 255.255.255.0 ip access-group 100 out duplex auto speed auto Router#show access-lists | sec 100 Extended IP access list 100    10 deny icmp any host 192.168.55.1 Since “implicit Deni ALL” is set to the last line, all resulting […]