User guide
28
switch --add-vtu-entry=100:3:2:2:1:1:2:1:1:1:1:0:5 # priority tag of 5 will be
associated with VLAN id 100.
re boot
ThedevicecanbeaccessedviaTELNET,andisrebootedwiththeuseof“reboot”command.TELNETac-
cessmusthoweverbeconguredinthecongurationle.
# The following command enables TELNET access from WAN
telnetd -l /bin/sh
save configuration to flash
PerdefaultdevicecongurationisprovisionedviaDHCPatboot,anditwillbestoredindeviceRAM
memory,whichmeansthatthedevicewouldneedtohavethecongurationloadedateveryboot.
Conceptisifdhcpserviceisout,thedevicewillrestoreitslatestsaved–thelatestsavedcongurationis
theincidentwherethereisadifferencebetweensavedcongurationandprovisionedconguration.Also
theCPEwillgetanad-hoclink-localIPaddress,whichisanautocongurationalgorithmdescribedinthe
IETFDraft“DynamicCongurationofIPv4link-localaddresses”.
Procedure is to
-insertasyntaxinthecongurationle“save_conguration”
Pleasenotethatthesyntax“save_conguration”willbelteredbythedevice,soifyoudoa“cat/tmp/
cong.sh”or“cat/mnt/ash/cong.sh”thiscommandisnotvisible.
When dhcp service comes back, then the device will lease an IP address again, but not fetch any new
conguration,asitwillkeepitsrestoredcongurationuntilnextbootprocess.
# The following command allows the configuration to be saved to flash memory,
and this will be restore if dhcp service is out.
save_configuration
dhcp option 82
DHCPOption82relayfeatureissupportedfromrmwarerevision03_00andlater.
DHCPRelayAgentInformationOption82isanextensiontotheDynamicHostCongurationProtocol
(DHCP),andisdenedinRFC3046andRFC3993.DHCPOption82canbeusedtosendinformationabout
DHCP clients to the authenticating DHCP server. DHCP Option 82 can as an example identify the VLAN
number, port number as well as a customer ID of a client, during any IP address allocation. When DHCP
Option82isenabledontheCPE,itinsertstheperportdenedinformationintotheDHCPpacketsasthey
pass through the CPE on their way to the DHCP server. The DHCP server stores the IP allocation record.
The CPE will strip off the DHCP reply from the DHCP server, so the clients will never see the DHCP option
82 information.
The DHCP Option 82 information can hold a 32 char string per port.
# Syntax is switch --set-port-dhcp-option82=PORT:enable[:<optional text>]
switch --set-port-dhcp-option82=1:1:”VLAN 100, LAN port 1”
switch --set-port-dhcp-option82=2:1:”VLAN 200, LAN port 2”
switch --set-port-dhcp-option82=3:1:”VLAN 300, LAN port 3”
switch --set-port-dhcp-option82=4:1:”VLAN 400, LAN port 4”