On a Cisco router, an ordered list of permit and deny statements is checked from top to bottom until the first match, a…