Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Файл конфигурации BS, в результате настроек, описанных выше:
Code Block
languagejavatext
themeDJangoEmacs
#System parameters
#Factory password mode: single
sys name Node1
sys prompt Node1
sys user admin
setpass $1$5ieEa$9sTTnyEx4/1thTlmfb/S6.

#Radio module parameters
rf rf5.0 grid 40 4930-5930/20
rf rf5.0 grid 20 4920-5940/20
rf rf5.0 grid 10 4915-5945/5
rf rf5.0 grid 5 4915-5945/5
rf rf5.0 band 20
rf rf5.0 mimo
rf rf5.0 freq 5860 bitr 130000 sid 10101010 burst
rf rf5.0 txpwr -5 pwrctl distance auto(4) 

#DFS configuration
dfs rf5.0 dfsoff
dfs rf5.0 freq auto
dfs rf5.0 cot off

#Interfaces parameters
ifc lo0  127.0.0.1/32
ifc eth0 media auto mtu 1500 up
ifc eth0 10.10.20.2/24
ifc rf5.0 mtu 1500 up
ifc svi100 mtu 1500 up
        # group 100
ifc svi100 192.168.103.36/24
ifc vlan100 mtu 1500 up
ifc vlan100 vlan 100 vlandev eth0



#QoS manager
qm option rtp dot1p notos noicmp notcpack nostrict

#MINT configuration
mint rf5.0 -name "Node1"
mint rf5.0 -nodeid 00001
mint rf5.0 -type master
mint rf5.0 -mode fixed
mint rf5.0 -key "12345678"
mint rf5.0 -scrambling
mint rf5.0 -autobitrate
mint rf5.0 -minbitrate 13000
mint rf5.0 -hiamp 2 -loamp 0
mint rf5.0 -log
mint rf5.0 prof 1 -freq auto -sid 10101010 -bitr 130000 -band 20 \
			-nodeid 22363 -type slave -netid 0 \
			-minbitr 13000 -autobitr -mimo \
			-key "12345678"
mint rf5.0 -roaming leader
mint rf5.0 -authmode public
mint rf5.0 -airupdate passive normal
mint rf5.0 -rcmdserver enabled
mint rf5.0 poll start
mint rf5.0 start

#MAC Switch config
switch list LST1 numrange add 101-103

switch group 1 add 1 eth0 rf5.0 
switch group 1 vlan LST1
switch group 1 trunk on
switch group 1 start
switch group 100 add 2 vlan100 rf5.0
switch group 100 start
     # group 100 attached to 'svi100'

switch start

#Switch Virtual Interface config
svi 100 group 100

#WEB configurator
webcfg start

#LLDP parameters
lldp eth0 enable txrx 
  • Файл конфигурации CPE1, в результате настроек, описанных выше (сценарий с портом trunk):

Code Block
languagejavatext
themeDJangoEmacs
#System parameters
#Factory password mode: single
sys name Node2
sys prompt Node2
sys user admin
setpass $1$TC3kB$oILIriOiwU/knH3a5EkH70

#Radio module parameters
rf rf5.0 band 20
rf rf5.0 mimo
rf rf5.0 freq 5860 bitr 130000 sid 10101010 burst
rf rf5.0 txpwr 10 pwrctl distance auto(4) 

#DFS configuration
dfs rf5.0 dfsonly

#Interfaces parameters
ifc lo0 127.0.0.1/32
ifc eth0 media auto mtu 1500 up
ifc eth0 10.10.20.1/24
ifc rf5.0 mtu 1500 up
ifc svi100 mtu 1500 up
            # group 100
ifc svi100 192.168.103.36/24
ifc vlan100 mtu 1500 up
ifc vlan100 vlan 100 vlandev eth0
         
#QoS manager
qm option rtp dot1p notos noicmp notcpack nostrict

#MINT configuration
mint rf5.0 -name "Node2"
mint rf5.0 -nodeid 00002
mint rf5.0 -type slave
mint rf5.0 -mode fixed
mint rf5.0 -key "12345678"
mint rf5.0 -scrambling
mint rf5.0 -autobitrate
mint rf5.0 -minbitrate 13000
mint rf5.0 -hiamp 2 -loamp 0
mint rf5.0 -log
mint rf5.0 prof 1 -freq 5860 -sid 10101010 -bitr 130000 -band 20 \
			-nodeid 00002 -type slave -netid 0 \
			-minbitr 13000 -autobitr -mimo \
			-key "12345678"
mint rf5.0 -roaming enable
mint rf5.0 -authmode public
mint rf5.0 -airupdate passive normal
mint rf5.0 -rcmdserver enabled
mint rf5.0 start

#MAC Switch config
switch group 101 add 1 eth0 rf5.0 
switch group 101 vlan 101
switch group 101 in-trunk 1
switch group 101 start

switch group 100 add 2 rf5.0 
switch group 100 start
     # group 100 attached to 'svi100'

switch start

#Switch Virtual Interface config
svi 100 group 100

#WEB configurator
webcfg start

#LLDP parameters
lldp eth0 enable txrx

#end