3com 4210 交換器的ntp server 校時設定
<4210>system view4210>
[4210]ntp-service unicast-server "NTP SERVER的IP"
[4210]quit
<4210>clock timezone t8 add 08:00:00 (註:t8可自訂名稱,例如taiwan,taipei等)4210>
<4210>display clock4210>
12:12:03 t8 Mon 01/26/2015
Time Zone : t8 add 08:00:00
<4210>display ntp-service status4210>
Clock status: synchronized
Clock stratum: 12
Reference clock ID: NTP SERVER的IP
Nominal frequency: 100.0000 Hz
Actual frequency: 99.9999 Hz
Clock precision: 2^18
Clock offset: 0.0000 ms
Root delay: 16.06 ms
Root dispersion: 563.47 ms
Peer dispersion: 11.43 ms
Reference time: 04:12:10.612 UTC Jan 26 2015(D8703D1A.9CB8E086)
<4210>
4210>
SMC 8126L2交換器校時設定
***************************************************************
Vty-0#configure
Vty-0(config)#sntp server 172.20.1.242
Vty-0(config)#clock timezone taiwan hours 8 minute 0 after-UTC (註:taiwan這個名稱可以自訂)
Vty-0(config)#exit
Vty-0#show sntp
Current Time: Jul 7 21:51:35 2015
Poll Interval: 16
Current Mode: unicast
SNTP Status: Enabled
SNTP Server: 172.20.1.242 0.0.0.0 0.0.0.0
Current Server: 172.20.1.242
Vty-0#
星期三, 9月 24, 2014
SMC 8126L2 交換器不通,如何在交換器中下指令偵錯
一天早上,學校反應有一棟樓網路不通,第一反應是看機房主交換器的光纖是否有問題,這一棟的光纖當初因為主交換器的port不夠用,所以接到機房後,先接一台3com 4500交換器的光纖埠,再從3com 4500 的UTP埠接到上層主交換器。
因為機房光纖埠燈號有亮,所以這邊沒問題,接著到不通的那一棟機櫃看,裡頭的SMC 8126L2 光纖燈號也是亮著,直接接到switch,設定管理IP,可以直接連到該交換器的ip,但是切換回來,雖然直接接交換器,就是無法得到dhcp所分配的ip,再設固定IP也無法ping上一層。要深入瞭解原因,只能以console進交換器,才能知道,因為telnet進得去,所以就直接用telnet進交換器
首先,測試第24埠光纖埠的資料,看設定是是否有跑掉!
因為機房光纖埠燈號有亮,所以這邊沒問題,接著到不通的那一棟機櫃看,裡頭的SMC 8126L2 光纖燈號也是亮著,直接接到switch,設定管理IP,可以直接連到該交換器的ip,但是切換回來,雖然直接接交換器,就是無法得到dhcp所分配的ip,再設固定IP也無法ping上一層。要深入瞭解原因,只能以console進交換器,才能知道,因為telnet進得去,所以就直接用telnet進交換器
首先,測試第24埠光纖埠的資料,看設定是是否有跑掉!
Vty-0#show interfaces switchport ethernet
1/24
Information of Eth 1/24
Broadcast Threshold: Enabled, 500 packets/second
Multicast Threshold: Disabled
Unknown Unicast Threshold: Disabled
LACP
Status: Disabled
Ingress Rate Limit: Disabled, 1000 Mbits per second
Egress Rate Limit: Disabled, 1000 Mbits per second
VLAN
Membership Mode: Trunk
Ingress Rule: Disabled
Acceptable Frame Type: All frames
Native VLAN: 1
Priority for Untagged Traffic: 0
GVRP
Status: Disabled
Allowed VLAN: 1(t), 2(t),
6(t),,4093(t),
Forbidden VLAN:
Private-VLAN Mode: NONE
Private-VLAN host-association: NONE
Private-VLAN Mapping: NONE
802.1Q-tunnel Status: Disable
802.1Q-tunnel Mode: NORMAL
802.1Q-tunnel TPID: 8100(Hex)
再測試是否捉到上層的mac資料:
Vty-0#show mac-address-table
Interface MAC Address VLAN Type
--------- ----------------- ----
-----------------
Eth
1/ 1 B8-6B-23-72-CD-20 11 Learned
Eth
1/24 00-16-E0-0B-D6-81 1 Learned
Eth
1/24 00-1E-C1-F7-E4-81 1 Learned
Eth
1/24 00-1E-C1-F7-E4-9B 1 Learned
結果有吔,第24埠有學習到mac,再清除一遍,再測試一次
Vty-0#clear mac-address-table dynamic
Vty-0#show mac-address-table
Interface MAC Address VLAN Type
--------- ----------------- ----
-----------------
Vty-0#show mac-address-table
Interface MAC Address VLAN Type
--------- ----------------- ----
-----------------
Eth
1/24 00-16-E0-0B-D6-81 1 Learned
Eth
1/24 00-1E-C1-F7-E4-9B 1 Learned
Eth
1/24 70-62-B8-9E-28-08 1 Learned
Eth
1/24 00-15-F2-7D-88-6F 11 Learned
Eth
1/24 00-C0-EE-91-67-6B 11 Learned
Eth
1/24 74-27-EA-B7-54-AA 11 Learned
有捉到資料,代表,24埠可以學習到上層的mac,也就是光纖埠彼此是通的,這就要再測試上面串接的3com 4500交換器,回到機房端再測試。
ping 不到,web進不去,telnet到一半就沒資料了,可能當機,所以重開機。
再ping 一次,回應時好時壞,web還是連不進去,研判應該是交換壞掉,剛好有一台備用的交換器,趕緊換上,結果就通了!
今天學到了如何在交換器中下指令去確認問題。
星期四, 11月 07, 2013
SMC8126L2 vlan tag設定筆記
port23帶tag id 66
Vty-0#configure
Vty-0(config)#interface ethernet 1/23
Vty-0(config-if)#switchport allowed vlan add 66
tag
儲存設定
Vty-0(config-if)#exit
Vty-0(config)#exit
Vty-0#copy running-config startup-config
Startup configuration file name [startup1.cfg]:按enter
Write to FLASH Programming.
Write to FLASH finish.
Success.
重開機
Vty-0#reload
System
will be restarted. Continue ?
port 23設為trunk mode 並帶多個tag id
interface ethernet 1/23
switchport allowed vlan add 1 untagged
switchport native vlan 1
switchport mode trunk
switchport allowed vlan add
1-2,6,11,22,33,44,55,66,77,88,99,101,4093 tagged
##################################################################
若port2要下接另外一台網管交換器,
則port2要加vlan tag,則必須設為trunk
設定如下:
先進入交換器的console
Vty-0#configure
Vty-0(config)#interface ethernet 1/2
Vty-0(config-if)#switchport mode trunk
Vty-0(config-if)#switchport allowed vlan add 11,22,33,44,55,66,99,101 tagged
Vty-0(config-if)#exit
Vty-0(config)#exit
儲存設定檔的指令
Vty-0#copy run startup-config
好了按enter
Startup configuration file name [startup1.cfg]:
Write to FLASH Programming.
Write to FLASH finish.
Success.
星期五, 8月 02, 2013
如何設定SMC 2888W與 2555w為WDS橋接模式
假設2888W為A基地台,2555W為B基地台
A基地台的Radio Channel(在radio settings中)要和B基地台一樣,
Security中的SSID也要設定一樣,
假設我們要利用這兩台的802.11a來作WDS
A的設定中
WDS Settings中的設定,Bridge Role要選【Root-Bridge】,Bridge Child的MAC要設B基地台的Radio A的MAC
B的設定中
WDS Settings中的設定,Bridge Role要選【Bridge】,Bridge Parent的MAC要設A基地台的Radio A的MAC
星期四, 5月 19, 2011
smc 交換器vlan設定
若port2要下接另外一台網管交換器,
則port2要加vlan tag,則必須設為trunk
設定如下:
先進入交換器的console
Vty-0#configure
Vty-0(config)#interface ethernet 1/2
Vty-0(config-if)#switchport mode trunk
Vty-0(config-if)#switchport allowed vlan add 11,22,33,44,55,66,99,101 tagged
Vty-0(config-if)#exit
Vty-0(config)#exit
儲存設定檔的指令
Vty-0#copy run startup-config
好了按enter
Startup configuration file name [startup1.cfg]:
Write to FLASH Programming.
Write to FLASH finish.
Success.
訂閱:
文章 (Atom)