That should do the trick.  You would create the access-list in priviledged mode [RouterA(config)#], not in the line mode [RouterA(config-line)#]
Remember that this will allow ALL hosts within this subnet and will disallow ALL hosts not in this subnet.
 
RouterA#config t
Enter configuration commands, one per line.  End with CNTL/Z.
RouterA(config)#access-list 12 permit 192.88.54.0 0.0.0.255
RouterA(config)#line vty 0 4
RouterA(config-line)#access-class 12 in
RouterA(config-line)#^Z
RouterA#
RouterA#sh run
Building configuration...
 
Current configuration:
!
(snip)
access-list 12 permit 192.88.54.0 0.0.0.255
(snip)
 
line vty 0 4
 access-class 12 in
(snip)
!
end
 
RouterA#
 
Bob
----- Original Message -----
Sent: Sunday, July 16, 2000 2:19 PM
Subject: VTY Access List Control

I am not sure about the correct commands for vty access control.  Is the following command correct to permit any device from network 192.88.54.0 to establish a virtual terminal session with the router?
 
line vty 0 4 
access-list 12 permit 192.88.54.0  0.0.0.255
 
 
line vty 0 4
access-class 12 in
 
 
thanks
 
 
mjs
 
 
 
 

Reply via email to