232k views
2 votes
Apply the named ACL to the VTY lines

User Alia Anis
by
8.2k points

1 Answer

7 votes

Final answer:

To apply a named Access Control List (ACL) to the VTY lines, follow these steps: access the device's CLI, enter global configuration mode, create an ACL with a unique name, define the access restrictions, and apply the ACL to the VTY lines.

Step-by-step explanation:

To apply a named Access Control List (ACL) to the VTY lines in a network device, follow these steps:

  1. Access the device's command-line interface (CLI).
  2. Enter global configuration mode by typing configure terminal.
  3. Create an ACL by using the access-list command and specifying a unique name.
  4. Define the desired access restrictions using specific rules and conditions.
  5. Apply the ACL to the VTY lines by entering the line vty command followed by the line range (e.g., 0-15) and applying the access-class command with the name of the ACL.

By completing these steps, the named ACL will be applied to the VTY lines, controlling access to the device remotely.

User Adrelanos
by
8.5k points