User guide

7
Anexampleofacongurationlecouldbethefollowing:
####################################################################
# DKT configuration
# Firmware version: 02_05
####################################################################
switch --enable-lan # enable LAN ports
# VLAN SETTINGS FOR WAN PORT
switch --set-port-802dot1q-mode=0:2
# Sets the WAN port in check mode, allows untagged on ingress if VID (incl
default) is present in VTU
switch --set-port-default-vid=0:102
# Default VLAN for WAN port
switch --add-vtu-entry 102:2:1:1:1:1:2:0
# Management VLAN, enables contact to CPU - untagged on egress
switch --set-port-802dot1q-mode=1:3
# Sets the LAN port in secure mode
switch --set-port-802dot1q-mode=2:3
# Sets the LAN port in secure mode
switch --set-port-802dot1q-mode=3:3
# Sets the LAN port in secure mode
switch --set-port-802dot1q-mode=4:3
# Sets the LAN port in secure mode
switch --add-vtu-entry 104:3:2:2:1:1:2:0
# put WAN and LAN port into VLAN - untagged on egress, IPTV VLAN
switch --set-port-default-vid=1:104
# Default VLAN for LAN port 1, IPTV VLAN
switch --set-port-default-vid=2:104
# Default VLAN for LAN port 2, IPTV VLAN
switch --add-vtu-entry 106:3:1:1:2:1:2:0
# put WAN and LAN port into VLAN - untagged on egress, DATA VLAN
switch --set-port-default-vid=3:106
# Default VLAN for LAN port 3, DATA VLAN
switch --add-vtu-entry 105:3:1:1:1:2:2:0
# put WAN and LAN port into VLAN - untagged on egress, VoIP VLAN
switch --set-port-default-vid=4:105
# Default VLAN for LAN port 4, VoIP VLAN
#
# QoS Settings
#Uplink rate (DATA port 3 and 4, ingress rates of 1 Mbps)
switch --set-port-ingress-rate-limit 3:0:1000:3:FC
# port=3, bucket=0, rate=1000kb/S, bytecounter=layer3,limitaction=flowcontr
ol
switch --port-map-to-pirl-bucket 4:0
# join port 4 to bucket 0. Please notice that thisfeature is NOT valid for
the Gigabit CPE
#Downlink rate (Total for WAN 2Mbps)
switch --set-port-ingress-rate-limit 0:1:2000:3:FC
# port=0(WAN), bucket=0, rate=2Mb/S, bytecounter=layer3,
limitaction=flowcontrol
#
# Turn CATV module off
switch -c 0
#
# The following command enables TELNET access from WAN
telnetd -l /bin/sh
# End of DKT configuration
####################################################################