نوشته اصلی توسط sitnet
خودم پیدا کردم....
برای دوستان دیگه اگه خواستن:
Depend on the switch model L2 or L3 switch, I will assume you have a layer 2 switch such as 2960 or 3540 etc.
Go to the VLAN interface, lets say you only have VLAN 1 configured.
interface vlan 1
ip address 192.168.1.1 255.255.255.0
then you have to connect your machine to one of the switch ports, by default all switch ports will be in VLAN 1
if its configured for other VLANs then go to the physical interface config.
switchport access vlan 1
you have to assign ip to the vlan interface and then you have to enable vty like ;
line vty 0 4
password ***** <- your password here
copy run start
there now from any where you can telnet your switch, but make sure when you assign ip to vlan interface then make it no shut ... when i did that the first time ... i forget to make no shut and i spend 3 hours of embarrassment