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:
- Access the device's command-line interface (CLI).
- Enter global configuration mode by typing configure terminal.
- Create an ACL by using the access-list command and specifying a unique name.
- Define the desired access restrictions using specific rules and conditions.
- 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.