-
DTP: Dynamic Trunking Protocol
چهارشنبه 13 شهریور 1392 13:18
در این یادداشت میخواهیم پروتکل DTP را روی اینترفیس های سوئیچ فعال کنیم: در این حالت پیشنهاد Trunking میدهد و می پذیرد: Switch(config-if)#switchport mode dynamic desirable در این حالت فقط پیشنهاد Trunking می پذیرد: Switch(config-if)#switchport mode dynamic auto در دو حالت زیر نیز پروتکل DTP غیر فعال است :...
-
Trunk
چهارشنبه 13 شهریور 1392 12:49
در این یادداشت میخواهیم vlanning را بر روی بیشتر از یک سوئیچ داشته باشیم درنتیجه باید ارتباطات بین سوئیچ ها را Trunk تعریف کنیم. Switch(config)#interface gigabitEthernet 1/1 Switch(config-if)#switchport mode trunk با دستور زیر میتوانیم لیست اینترفیسهای Trunkشده را ببینیم: Switch#show interfaces trunk در صورتیکه از...
-
VLAN
چهارشنبه 13 شهریور 1392 11:57
در این یادداشت میخواهیم روی سوییچ ،دو Vlan بنام های IT و QC که بترتیب Vlan2 و Vlan3 هستند را ایجاد کرده و اینترفیس های سوئیچ را بصورت زیر، به عضویت Vlan ها درآوریم: [Vlan 2=Interface fastEthernet 0/1 up to 0/10] [Vlan 3=Interface fastEthernet 0/11 up to 0/20] Switch>en Switch#conf t Switch(config)#vlan 2...
-
Port Security
دوشنبه 21 مرداد 1392 16:16
Switch>en Switch#conf t Switch(config)#interface range fastEthernet 0/1-2, Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport port-security Switch(config-if-range)#exit Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport port-security mac-address 0001.4269.9ED2 (1)...
-
کپی کردن فایل running config به داخل NVRAM سوئیچ :
دوشنبه 21 مرداد 1392 12:46
Switch>en Switch# copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] OR Switch>en Switch#write memory Building configuration... [OK]
-
کپی کردن فایل IOS سوئیچ به یک سرور TFTP :
دوشنبه 21 مرداد 1392 12:27
Switch>en Switch#conf t Switch(config)#interface vlan 1 Switch(config-if)#no shutdown Switch(config-if)#ip address 192.168.1.1 255.255.255.0 Switch#dir flash: Directory of flash:/ 1 -rw- 3058048 <no date> c2950-i6q4l2-mz.121-22.EA4.bin <-IOS file name 64016384 bytes total (60958336 bytes free) Switch#copy...
-
چگونه در لحظه ورود به کانفیگ سوئیچ، یک Banner داشته باشیم:
دوشنبه 21 مرداد 1392 11:24
Switch>en Switch#conf t Switch(config)#banner motd .'$' Enter TEXT message. End with the character ********************************************************* Welcome to Tehran Switch ********************************************************* $
-
راه اندازی SSH برای اتصال به کانفیگ سوئیچ :
دوشنبه 14 مرداد 1392 15:28
Switch>enable Switch#conf terminal Switch(config)#interface vlan 1 Switch (config-if)#no shutdown S witch(config-if)#ip address 192.168.1.1 255.255.255.0 S witch(config-if)#exit Switch(config)#enable secret cisco....(OR)....Switch(config)#enable password cisco Switch(config)#username cisco password cisco...
-
راه اندازی Telnet برای اتصال به کانفیگ سوئیچ :
دوشنبه 14 مرداد 1392 15:16
Switch>enable Switch#conf terminal Switch(config)#interface vlan 1 switch(config-if)#no shutdown switch(config-if)#ip address 192.168.1.1 255.255.255.0 switch(config-if)#exit Switch(config)#enable secret cisco....(OR)....Switch(config)#enable password cisco Switch(config)#line vty 0 15 Switch(config-line)#password...
-
فعال کردن username و password در user mode برای وصل شدن به Switch در روش vty :
یکشنبه 13 مرداد 1392 15:25
Switch>enable Switch#conf terminal Switch(config)#username cisco password cisco Switch(config)#line vtye 0 15 Switch(config-line)#login local
-
فعال کردن username و password در user mode برای وصل شدن به Switch در روش console :
یکشنبه 13 مرداد 1392 15:24
Switch>enable Switch#conf terminal Switch(config)#username cisco password cisco Switch(config)#line console 0 Switch(config-line)#login local
-
فعال کردن password در user mode برای وصل شدن به Switch در روش vty :
یکشنبه 13 مرداد 1392 15:21
Switch>enable Switch#conf terminal Switch(config)#line vty 0 15 Switch(config-line)#password cisco
-
فعال کردن password در enable mode برای وصل شدن به Switch :
یکشنبه 13 مرداد 1392 15:19
Switch>enable Switch#conf terminal Switch(config)#enable password cisco
-
فعال کردن password در user mode برای وصل شدن به Switch در روش console :
یکشنبه 13 مرداد 1392 15:14
Switch>enable Switch#conf terminal Switch(config)#line console 0 Switch(config-line)#password cisco Switch(config-line)#login