config t
vlan 6
name new-user-vlan
exit
interface vlan6 (note no space after vlan to set up the IP address of the switch)
description new user LAN 10.0.6.0
ip address 10.0.6.251 255.255.255.0 (this is the address of the new switch for vlan 6)
ip helper-address 10.0.10.10 (dhcp server ip address)
no ip route-cache
no shutdown
exit
To configure the new switch for telenet and allow vlan 3 to connect
(configure the access list)
conf t (abbreviating config as conf works)
ip access-list standard TELNET-ACCESS (the new access list name is TELNET-ACCESS)
permit 10.0.3.0 0.0.0.255 (this allows addresses 10.0.3.1 through 10.0.3.254 to connect.
permit 10.0.6.0 0.0.0.255 (this allows addresses 10.0.6.1 through 10.0.6.254 to connect.
ex (abbreviating exit works)
(configure vlan 3)
config t
vlan 3
name main-user-lan
exit
int vlan3 (abbreviate interface as int)
description Existing user LAN 10.0.3.0
ip address 10.0.3.251 255.255.255.0 (this is the address of the new switch for vlan 3)
ip helper-address 10.0.10.10 (dhcp server ip address)
no ip route-cache
no shut (abbreviate shutdown as shut)
exit
(configure telnet access over lan and apply access list)
line vty 0 15 (configures all 16 virtual telnet lines 0-15)
login (allows login from lan)
password YourTelnetPassword (must set a password)
access-class TELNET-ACCESS in (applies the access list TELNET-ACCESS inbound)
exit
I hope this helps someone.
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (1)
Commented:
Nice write-up.