How to Restrict Access to the Virtual Terminal of a Router – Step-by-Step Guide

A network administrator needs to configure a standard ACL so that only the workstation of the administrator with the IP address 192.168.15.23 can access the virtual terminal of the main router. Which two configuration commands can achieve the task?

To achieve the task of allowing only the administrator’s workstation with the IP address 192.168.15.23 to access the virtual terminal of the main router,

you can use two configuration commands on the router.

1. Create an access control list (ACL):

Create an ACL that specifies the IP address of the administrator’s workstation. In this case, we will use ACL number 10.

“`
Router(config)# access-list 10 permit host 192.168.15.23
“`

2. Apply the ACL to the virtual terminal line:

Apply the ACL to the virtual terminal (vty) lines on the router. Typically, there are multiple vty lines, and you will need to configure this ACL on all of them. In this example, we will apply it to line 0.

“`
Router(config)# line vty 0
Router(config-line)# access-class 10 in
“`

These two configuration commands will allow only the workstation with IP address 192.168.15.23 to access the virtual terminal of the main router. Any other workstations or devices will be denied access based on the configured ACL.

More Answers:
Understanding Access Control Lists (ACLs) in IPv6: The Power of Prefix-Lists for Traffic Control and Routing
Understanding ACL Matching Range: How the access-list 1 permit 172.16.0.0 0.0.15.255 Statement Works
Converting an ACL Filter with Wildcard Mask 0.0.1.255 to a Range of IP Addresses

Error 403 The request cannot be completed because you have exceeded your quota. : quotaExceeded

Share:

Recent Posts

Mathematics in Cancer Treatment

How Mathematics is Transforming Cancer Treatment Mathematics plays an increasingly vital role in the fight against cancer mesothelioma. From optimizing drug delivery systems to personalizing

Read More »