[sw1]vlan batch 10 20 30
[sw1]int g0/0/1
[sw1-gigabitethernet0/0/1]port link-type trunk
[sw1-gigabitethernet0/0/1]port trunk pvid vlan 10
[sw1-gigabitethernet0/0/1]port trunk allow-pass vlan 10 20 30
[sw1-gigabitethernet0/0/1]int g0/0/2
[sw1-gigabitethernet0/0/2]port link-type trunk
[sw1-gigabitethernet0/0/2]port trunk pvid vlan 10
[sw1-gigabitethernet0/0/2]port trunk allow-pass vlan 10 20 30
[sw1-gigabitethernet0/0/2]int g0/0/3
[sw1-gigabitethernet0/0/3]port link-type trunk
[sw1-gigabitethernet0/0/3]port trunk allow-pass vlan 10 20 30
[sw2]vlan batch 10 20 30
[sw2]int g0/0/1
[sw2-gigabitethernet0/0/1]port link-type trunk
[sw2-gigabitethernet0/0/1]port trunk allow-pass vlan 10 20 30
[sw2-gigabitethernet0/0/1]int g0/0/2
[sw2-gigabitethernet0/0/2] port link-type trunk
[sw2-gigabitethernet0/0/2] port trunk allow-pass vlan 10 20 30
[ac]vlan batch 10 20 30
[ac]int g0/0/1
[ac-gigabitethernet0/0/1]port link-type trunk
[ac-gigabitethernet0/0/1]port trunk allow-pass vlan 10 20 30
[ac]int vlanif 10
[ac-vlanif10]ip ad 10.1.1.1 24
[ac]wlan
[ac-wlan-view]ap-group name bad
[ac]dhcp enable
[ac]int vlanif 10
[ac-vlanif10]dhcp select inte***ce
[ac-vlanif10]int vlan 20
[ac-vlanif20]ip ad 20.1.1.1 24
[ac-vlanif20]dhcp select inte***ce
[ac-vlanif20]int vlan 30
[ac-vlanif30]ip ad 30.1.1.1 24
[ac-vlanif30]dhcp select inte***ce
[ac]wlan
[ac-wlan-view]regulatory-domain-profile name ygl //建立管理域模板
[ac-wlan-regulate-domain-ygl]country-code cn //配置ac國家碼
[ac-wlan-regulate-domain-ygl]q
[ac-wlan-view]ap-group name bad //域管理繫結至ap組
[ac-wlan-ap-group-bad]regulatory-domain-profile ygl //繫結域管理模板
[ac]capwap source inte***ce vlanif 10
# 配置ap1
[ac]wlan
[ac-wlan-view]ap auth-mode mac-auth //使用mac位址認證
[ac-wlan-view]ap-mac 00e0-fc90-7b80 ap-id 0 //配置認證
[ac-wlan-ap-0]ap-group bad //新增至ap組
# 配置ap2
[ac-wlan-view]ap-mac 00e0-fcc3-6e60 ap-id 1
[ac-wlan-ap-1]ap-group bad
[ac-wlan-view]security-profile name 1
[ac-wlan-view]ssid-profile name 1 //配置ssid模板1
[ac-wlan-ssid-prof-1]ssid 1 //ssid配置1
[ac-wlan-ssid-prof-1]q
[ac-wlan-view]ssid-profile name 2
[ac-wlan-ssid-prof-2]ssid 2
[ac]wlan
[ac-wlan-view]vap-profile name 1 //配置vap模板1
[ac-wlan-vap-prof-1]forward-mode direct-forward //配置直接**
[ac-wlan-vap-prof-1]service-vlan vlan-id 20 //指定業務vlan
[ac-wlan-vap-prof-1]security-profile 1 //呼叫安全模板
[ac-wlan-vap-prof-1]ssid-profile 1 //呼叫ssid模板
以上內容均屬原創,如有不詳或錯誤,敬請指出。
壞壞 利用CAPWAP公升級無線網路
利用capwap公升級無線網路 無線網路和ipv6已經成為校園網路應用的兩大熱點。如何讓校園中已經應用或正在建設的無線網路平穩過渡到ipv6,成為目前的一大熱點。無線網路要做到從ipv4向ipv6的平穩公升級,必須解決好協議處理機制的問題,讓網路做到對ipv4和ipv6的同時支援。目前,多數無線廠商...
無線接入技術
用於2.5ghz 5.7ghz的mmds系統。它採用先進的vofdm技術實現無線通訊,在大樓林立的城市裡利用 多徑 實現單載波6mhz頻寬下傳輸速率高達22mbit s的資料接入,頻譜效率較高,在2.5ghz頻段可達到90 的通訊概率,在5.7ghz頻段可達到80 以上的通訊概率。工作在高頻段的微波...
LoRa無線傳輸技術與LoRaWAN無線模組的區別
有不少人分不清lorawan無線模組與lora閘道器無線傳輸技術到底有什麼區別,他們在物聯網領域的應用到底是什麼樣的。lorawan指的是mac層的組網協議,而lora是乙個物理層的協議。雖然現有的lorawan組網基本上都使用lora作為物理層,但是lorawan的協議也列出了在某些頻段也可以使用...