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
ThedevicecanbeaccessedviaTELNET,andisrebootedwiththeuseof“reboot”command.TELNETac-
cessmusthoweverbeconguredinthecongurationle.
# The following command enables TELNET access from WAN
telnetd -l /bin/sh
save configuration to flash
PerdefaultdevicecongurationisprovisionedviaDHCPatboot,anditwillbestoredindeviceRAM
memory,whichmeansthatthedevicewouldneedtohavethecongurationloadedateveryboot.
Conceptisifdhcpserviceisout,thedevicewillrestoreitslatestsaved–thelatestsavedcongurationis
theincidentwherethereisadifferencebetweensavedcongurationandprovisionedconguration.Also
theCPEwillgetanad-hoclink-localIPaddress,whichisanautocongurationalgorithmdescribedinthe
IETFDraft“DynamicCongurationofIPv4link-localaddresses”.
Procedure is to
-insertasyntaxinthecongurationle“save_conguration”
Pleasenotethatthesyntax“save_conguration”willbelteredbythedevice,soifyoudoa“cat/tmp/
cong.sh”or“cat/mnt/ash/cong.sh”thiscommandisnotvisible.
When dhcp service comes back, then the device will lease an IP address again, but not fetch any new
conguration,asitwillkeepitsrestoredcongurationuntilnextbootprocess.
# 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
DHCPOption82relayfeatureissupportedfromrmwarerevision03_00andlater.
DHCPRelayAgentInformationOption82isanextensiontotheDynamicHostCongurationProtocol
(DHCP),andisdenedinRFC3046andRFC3993.DHCPOption82canbeusedtosendinformationabout
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
Option82isenabledontheCPE,itinsertstheperportdenedinformationintotheDHCPpacketsasthey
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”