Page 941 / 998 Scroll up to view Page 936 - 940
Layer 2 switch on wireless port
Wireless Interface
9-3
iMG/RG Software Reference Manual (Wireless)
dhcpclient update
#Clean up interface ip0 (default)
ip set interface ip0 dhcp disabled
dhcpclient update
ip set interface ip0 ipaddress 0.0.0.0 0.0.0.0
rfc1483 unset transport pvc_0_35 vlan default
ip set interface ip_mgmt dhcp enabled
dhcpclient update
#Management access configuration. 172.30.1.0 and 10.17.90.0 subnets
are located on management networks.
webserver add managementsubnet mgmt1 172.30.1.0 255.255.255.0
172.30.1.1 172.30.1.254
webserver add managementsubnet mgmt2 10.17.90.0 255.255.255.0
10.17.90.1 10.17.90.254
#VoIP network configuration. A DHCP server is used to provides
addresses on this subnet. 172.32.3.1 is the default gateway for this
subnet.
vlan add vlan_voip vid 203 802.1p_priority 7
ip add interface ip_voip
ip set interface ip_voip dhcp enabled
dhcpclient add interfaceconfig ic_voip ip_voip
dhcpclient interfaceconfig ic_voip add requested option subnet-mask
dhcpclient interfaceconfig ic_voip add requested option routers
dhcpclient interfaceconfig ic_voip add requested option domain-name-
servers
dhcpclient interfaceconfig ic_voip add requested option domain-name
dhcpclient set interfaceconfig ic_voip givednstoclient enabled
dhcpclient set interfaceconfig ic_voip givednstorelay disabled
dhcpclient set interfaceconfig ic_voip defaultroute disabled
ethernet add transport vlan_voip
rfc1483 set transport pvc_0_35 vlan vlan_voip frame tagged
ip attach ip_voip vlan_voip
dhcpclient update
#Data network configuration. A DHCP server is used to provides
addresses on this subnet. 172.32.4.1 is the default gateway for this
subnet.
vlan add vlan_data vid 204 802.1p_priority 7
vlan add vlan_data port lan4 frame untagged
vlan add vlan_data port wireless frame untagged
ip add interface ip_data
ip set interface ip_data dhcp enabled
dhcpclient add interfaceconfig ic_data ip_data
dhcpclient interfaceconfig ic_data add requested option subnet-mask
Page 942 / 998
Wireless Interface
Layer 2 switch on wireless port
iMG/RG Software Reference Manual (Wireless)
9-4
dhcpclient interfaceconfig ic_data add requested option routers
dhcpclient interfaceconfig ic_data add requested option domain-name-
servers
dhcpclient interfaceconfig ic_data add requested option domain-name
dhcpclient set interfaceconfig ic_data givednstoclient disabled
dhcpclient set interfaceconfig ic_data givednstorelay disabled
dhcpclient set interfaceconfig ic_data defaultroute enabled
ethernet add transport vlan_data
rfc1483 set transport pvc_0_35 vlan vlan_data frame tagged
ip attach ip_data vlan_data
dhcpclient update
#Video network configuration. No IP addresses are assigned on this
subnet.
vlan add vlan_video vid 205 802.1p_priority 0
vlan add vlan_video port lan1 frame untagged
vlan add vlan_video port lan2 frame untagged
vlan add vlan_video port lan3 frame untagged
ip add interface ip_video
ip set interface ip_video ipaddress 0.0.0.0 0.0.0.0
ethernet add transport vlan_video
rfc1483 set transport pvc_0_35 vlan vlan_video frame tagged
ip attach ip_video vlan_video
#Routing table reconfiguration.
ip add route voice_server 172.30.1.121 255.255.255.255 gateway
172.32.3.1
ip add route voice_server2 172.30.1.123 255.255.255.255 gateway
172.32.3.1
ip add route voice_server3 172.30.1.201 255.255.255.255 gateway
172.32.3.1
ip add route mgmt-1 10.17.90.0 255.255.255.0 gateway 172.32.2.1
ip add route mgmt-2 172.30.1.202 255.255.255.255 gateway 172.32.2.1
#Local time and date configuration.
sntpclient add server ipaddress 172.30.1.202
sntpclient set pollintv 2
sntpclient set timezone MET
#Igmp snooping configuration.
igmp snooping enable vlan_video
igmp snooping set mode snooping
igmp snooping set secondary-netinterface ip_mgmt
#VoIP protocol configuration.
voip sip protocol enable
voip dtmf-relay set mode auto
voip ep analogue create tel1 type al-fxs-del physical-port tel1
Page 943 / 998
Layer 2 switch on wireless port
Wireless Interface
9-5
iMG/RG Software Reference Manual (Wireless)
voip ep analogue set tel1 country usa
voip ep analogue set tel1 clip BELL
voip ep analogue set tel1 clir off
voip ep analogue set tel1 codec g711u
voip ep analogue set tel1 vad off
voip ep analogue set tel1 cng off
voip ep analogue set tel1 lec 8
voip ep analogue create tel2 type al-fxs-del physical-port tel2
voip ep analogue set tel2 country usa
voip ep analogue set tel2 clip BELL
voip ep analogue set tel2 clir off
voip ep analogue set tel2 codec g711u
voip ep analogue set tel2 vad off
voip ep analogue set tel2 cng off
voip ep analogue set tel2 lec 8
voip sip protocol set netinterface ip_voip
voip sip locationserver create loc1 contact 172.30.1.121
voip sip proxyserver create prox1 contact 172.30.1.121
voip sip protocol set internal-call-routing enable
voip sip user create 1723231461 address 1723231461 areacode 604
voip sip user add 1723231461 port tel1
voip sip user create 1723231462 address 1723231462 areacode 604
voip sip user add 1723231462 port tel2
#MpegMon configuration.
mpeg-mon create instance1 membership 224.2.2.50 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance1
mpeg-mon create instance2 membership 224.2.2.51 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance2
mpeg-mon create instance3 membership 224.2.2.56 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance3
mpeg-mon create instance4 membership 224.2.2.57 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance4
mpeg-mon create instance5 membership 224.2.2.58 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance5
#Software update configuration
swupdate set server 172.30.1.9
swupdate set path /public/swupdate/3-4_57_02_04/alpha/iMG634B/upload
swupdate set login root
Page 944 / 998
Wireless Interface
Layer 2 switch on wireless port
iMG/RG Software Reference Manual (Wireless)
9-6
swupdate set passwd friend
swupdate stop_time none
swupdate start_time minute */2 hour * day_of_month * month *
day_of_week *
#Wireless port configuration for WPA-PSK authentication with password
“friendfriend”
port wireless set Disable false
port wireless set ESSID iMG634WA-example
802.1x authenticator set authentication local
802.1x authenticator set authentication enabled
port wireless set WPAEnableWPA1 true
port wireless set WPAEnableWPA2 false
port wireless set WPA true
port wireless set WPAEnablePSK true
port wireless set WPA2EnableTKIP false
port wireless set WPA2EnableAES_CCMP true
port wireless set WPA2EnablePreauth true
port wireless set Authentication WPA-PSK
port wireless set Encryption TKIP
port wireless set WPAEnableWPA2 false
wpa set shared passphrase friendfriend
9.1.2.2 Layer 2 CPE Configuration for ADSL B group wireless products
#Management network configuration. A DHCP server is used to provides
addresses on this subnet. 172.32.2.1 is the default gateway for this
subnet.
vlan create vlan_mgmt 202
ip ad interface ip_mgmt
dhcpclient ad interfaceconfig ic_mgmt ip_mgmt
dhcpclient interfaceconfig ic_mgmt add requested option subnet-mask
dhcpclient interfaceconfig ic_mgmt add requested option routers
dhcpclient interfaceconfig ic_mgmt add requested option domain-name
dhcpclient interfaceconfig ic_mgmt add requested option domain-name-
servers
bridge add vlaninterface vlan_mgmt tagged pvc_0_35_if
ip attach ip_mgmt vlan_mgmt
dhcpclient update
#Clean up interface ip0 (default)
ip set interface ip0 dhcp disabled
dhcpclient update
ip set interface ip0 ipaddress 0.0.0.0 0.0.0.0
bridge delete vlaninterface DefaultVlan pvc_0_35_if
ip set interface ip_mgmt dhcp enabled
Page 945 / 998
Layer 2 switch on wireless port
Wireless Interface
9-7
iMG/RG Software Reference Manual (Wireless)
dhcpclient update
#Management access configuration. 172.30.1.0 and 10.17.90.0 subnets
are located on management networks.
webserver add managementsubnet mgmt1 172.30.1.0 255.255.255.0
172.30.1.1 172.30.1.254
webserver add managementsubnet mgmt2 10.17.90.0 255.255.255.0
10.17.90.1 10.17.90.254
#VoIP network configuration. A DHCP server is used to provides
addresses on this subnet. 172.32.3.1 is the default gateway for this
subnet.
vlan create vlan_voip 203
ip add interface ip_voip
ip set interface ip_voip dhcp enabled
dhcpclient add interfaceconfig ic_voip ip_voip
dhcpclient interfaceconfig ic_voip add requested option subnet-mask
dhcpclient interfaceconfig ic_voip add requested option routers
dhcpclient interfaceconfig ic_voip add requested option domain-name-
servers
dhcpclient interfaceconfig ic_voip add requested option domain-name
dhcpclient set interfaceconfig ic_voip givednstoclient enabled
dhcpclient set interfaceconfig ic_voip givednstorelay disabled
dhcpclient set interfaceconfig ic_voip defaultroute disabled
bridge add vlaninterface vlan_voip tagged pvc_0_35_if
bridge set interface pvc_0_35_if defaultuserpriority 7
ip attach ip_voip vlan_voip
dhcpclient update
#Data network configuration. A DHCP server is used to provides
addresses on this subnet. 172.32.4.1 is the default gateway for this
subnet.
vlan create vlan_data 204
vlan add vlan_data lan4 frame untagged
switch set port lan4 802.1p Enabled
switch set port lan4 defaultpriority 7
bridge add vlaninterface vlan_data untagged wlan_filtered
bridge set interface wlan_filtered defaultuserpriority 7
ip add interface ip_data
ip set interface ip_data dhcp enabled
dhcpclient add interfaceconfig ic_data ip_data
dhcpclient interfaceconfig ic_data add requested option subnet-mask
dhcpclient interfaceconfig ic_data add requested option routers
dhcpclient interfaceconfig ic_data add requested option domain-name-
servers
dhcpclient interfaceconfig ic_data add requested option domain-name

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top