環境:
一台RouterOS安裝User Manager做為Radius Server
IP:172.20.1.28
一台Unifi AP
IP:172.20.11.18
1.在RouterOS的User Manager(即Radius Server)新增一台Router(其實就是設定一台可以連線到這台Radius Server的裝置,連線的Shared Secret自行設定,Coa Port預設是3799)
環境:
一台RouterOS安裝User Manager做為Radius Server
IP:172.20.1.28
一台Unifi AP
IP:172.20.11.18
1.在RouterOS的User Manager(即Radius Server)新增一台Router(其實就是設定一台可以連線到這台Radius Server的裝置,連線的Shared Secret自行設定,Coa Port預設是3799)
1.如果只是單純做dhcp server,例如eth5要配發一個172.20.200.0/24的網段,則除了eth5的ip設定好、dhcp 的gateway,dns配置好以及pool設定好之外,要注意Relay不能開啟
HPE Aruba Switch 6100 24g CL4可以在console模式下設定job排程,但firmware要先更新到PL.10.10以上的版本,如果要下載新版的firmware,需要先到
https://networkingsupport.hpe.com/
註冊會員,才能下載
下載新的firmware後,登入交換器的web-UI後到System->Firmware Update,上傳新的firmware,上傳時選擇要取代Primary image 或Secondary image,然後按「上傳」,上傳完畢後,選擇【Reboot】,系統重啟前會提醒將會以目前的設定檔running config重開機
以下指令請參考原廠的command line
https://www.arubanetworks.com/techdocs/AOS-CX/10.11/HTML/cli_832x/Content/fir-int3.htm
以及AOS-CX 10.11 Job Scheduler Guide
https://www.arubanetworks.com/techdocs/AOS-CX/10.11/PDF/job_scheduler.pdf
重開機後,登入console
switch# config
switch(config)# job ? =〉列出job 指令的用法
JOB_NAME Specify a name for the job. The maximum length is 64 characters
consisting of alphanumeric and '_' characters only.
會列出job指令的相關參數
若有列出,代表此版本的firmware有支援job scheduler
##############################################
以下開始建立一個名為POE_PORT1_down的job(工作),此job要設定port 1的poe不供電
switch(config)# job POE_PORT1_down =〉建立一個排程名稱(自訂)
switch(config-job-PTog1)# desc port 1/1/1 poe funtion down =〉建立一個此排程的描述
switch(config-job-PTog1)# 10 cli config =〉進入指令設定模式
switch(config-job-PTog1)# 20 cli interface 1/1/1 =〉進入第1埠,如果指定連續Port例如17-20port,則下interface 1/1/17-1/1/20
switch(config-job-PTog1)# 30 cli no power-over-ethernet =〉設定poe down
switch(config-job-PTog1)# 40 cli end =〉跳脫設定模式
switch(config-job-PTog1)# exit
以上根據AOS-CX 10.11 Job Scheduler Guide做出的一個job,上述命令的數字10,20,30,40,我的理解是可以視為命令的執行列或順序,如果你30 cli no power-over-ethernet,這個設錯了,就重新輸入30 cli [新的指令],即可取代原本位於30的指令內容
根據手冊,job有一些限制:
switch(config)# show POE_PORT1_down =〉show出job POE_PORT1_down的內容
如果要把POE_PORT1_down這個job刪除
switch(config)# no job POE_PORT1_down
再執行show job看是否這個job還存在
###########################################################
接著定義一段POE_PORT1_down執行的時間
switch(config)# schedule POE_PORT1_down_worktime =>名稱自訂
switch(config-schedule-POE_PORT1_down_worktime)# desc 22:20 everyday
switch(config-schedule-POE_PORT1_down_worktime)# 10 job POE_PORT1_down =〉此schedule時間是由哪個job執行,必須在job中有定義的工作名稱,我們在前面是以POE_PORT1_down為例
switch(config-schedule-POE_PORT1_down_worktime)# trigger on 22:20 daily count 7 start 2024-12-05 =〉trigger即代表要執行的時間,時間的定義及使用方式如下方所述
switch(config-schedule-POE_PORT1_down_worktime)# exit =〉離開schedule定義模式
時間的定義格式(參考 Job Scheduler Guide第14頁)
[no] trigger on HH:MM {daily | weekly <1-7> | monthly <1-31>}
[count <1-1000>] [start YYYY-MM-DD]
switch(config)# show schedule POE_PORT1_down_worktime
=〉列出 POE_PORT1_down_worktime的schedule
若要取消這個 schedule則下此指令
switch(config)# no schedule POE_PORT1_down_worktime
#########################################
接著定義第2個job,把port 1的poe啟用
switch(config)# job POE_PORT1_UP =〉建立一個排程名稱
switch(config-job-PTog1)# desc port 1/1/1 poe funtion UP =〉建立一個此排程的描述
switch(config-job-PTog1)# 10 cli config =〉進入指令設定模式
switch(config-job-PTog1)# 20 cli interface 1/1/1 =〉進入第1埠
switch(config-job-PTog1)# 30 cli power-over-ethernet =〉設定poe 啟用
switch(config-job-PTog1)# 40 cli end =〉跳脫設定模式
switch(config-job-PTog1)# exit
定義一段POE_PORT1_UP執行的時間
switch(config)# schedule POE_PORT1_UP_worktime =〉名稱自訂
switch(config-schedule-POE_PORT1_UP_worktime)# desc 23:30 everyday
switch(config-schedule-POE_PORT1_UP_worktime)# 10 job POE_PORT1_UP
switch(config-schedule-POE_PORT1_UP_worktime)# trigger on 23:30 daily count 7 start 2024-12-05
switch(config-schedule-POE_PORT1_UP_worktime)# exit
如此,就可設定port 1的poe功能,於每日22:20停止供電,23:30恢復供電
硬碟低階格式化工具
參考資料:
參考:
參考資料1:
Operational Mode and Configuration Mode
(ref User Guide P.26)
Operational Mode
[edit]user@host# commit and-quitcommit completeExiting configuration modeuser@host>
[edit]user@host# exitExiting configuration modeuser@host>
編輯某一區段
edit
移到上一層
up
移到最上層
top
刪除該區段的指令
delete
增加該段的設定
set
執行前check
commit check
執行所有設定
commit
How to reboot (restart), halt, or shut down the EX Series switch
Power off:關機同時關閉電源,會送一個ACPI訊號通知系統關機
halt:關機但不關閉電源,需手動關閉電池
To Power Off the switch from CLI:
user@switch>request system power-off
To halt the switch from CLI:
user@switch> request system halt
To restart the switch from the CLI:
user@switch> request system reboot
如何監看網路界面的的流量
user@switch> monitor interface traffic

設定switch ex的第1埠 mirror到第7埠
{master:0}
admin@CSES_EX3400> configure
Entering configuration mode
{master:0}[edit]
admin@CSES_EX3400# edit forwarding-options analyzer
{master:0}[edit forwarding-options analyzer]
admin@CSES_EX3400# edit tap-srx
tap-srx=>名稱自訂
admin@CSES_EX3400# set input ingress interface ge-0/0/1
{master:0}[edit forwarding-options analyzer tap-srx]
admin@CSES_EX3400# set input egress interface ge-0/0/1
{master:0}[edit forwarding-options analyzer tap-srx]
admin@CSES_EX3400# show
input {
ingress {
interface ge-0/0/1.0;
}
egress {
interface ge-0/0/1.0;
}
}
{master:0}[edit forwarding-options analyzer tap-srx]
{master:0}[edit forwarding-options analyzer tap-srx]
admin@CSES_EX3400# set output interface ge-0/0/7
{master:0}[edit forwarding-options analyzer tap-srx]
admin@CSES_EX3400# show
input {
ingress {
interface ge-0/0/1.0;
}
egress {
interface ge-0/0/1.0;
}
}
output {
interface ge-0/0/7.0;
}
{master:0}[edit forwarding-options analyzer tap-srx]
admin@CSES_EX3400# commit and-quit
configuration check succeeds
commit complete
Exiting configuration mode
{master:0}
admin@CSES_EX3400>
user@switch> monitor interface traffic
看ge/0/0/1及ge/0/0/7的流量是否一致
ssh或telnet client AP
Router# configure terminal
Router(config)# capwap ap ac-ip 172.20.X.X 0.0.0.0
上述第一個IP 是ap控制器的IP,可設定2組
Router(config)# exit
Router# write
Router# show capwap ap ac-ip
確定指令是否設定正確
AC IP: 172.20.X.X 0.0.0.0
Router# reboot
一、如何在studio 2.0匯入已知的套件Ev3 45544,方便建構組裝圖
(1).【File】【Import】【Import Official LEGO Set】
(2).在【Set Number】處,輸入套件編號,如EV3 45544,【IMPORT】選擇【As Palette】,再點【Import】如何便能將此套件的零件匯入,並自成1個區域,以方便繪製僅使用EV3套件建構模型的組裝步驟





















