User guide
24
sec.
switch --set-port-egress-rate-limit-ext=2: 1024 # set the LAN6 port to 1Mbit/
sec.
switch --set-port-egress-rate-limit-ext=3:8192 # set the LAN7 port to 8Mbit/
sec.
switch --set-port-egress-rate-limit-ext=4:512 # set the LAN8 port to 512kbit/
sec.
Because the egress rate of the WAN port is in opposite direction than the LAN port the egress rate can be
used to limit the upload rate.
configuration of snmp values
ThefollowingSNMPvaluescanbesetbythecongurationle:
SysContact the administrate contact for the network
echo “syscontact techsupport@example.com” >> /etc/snmp/snmpd.local.conf
SysLocation for the location of the system
echo “syslocation somewhere” >> /etc/snmp/snmpd.local.conf
SysNamethenameofthesysteme.gthecustomeridentication
echo “sysname customerXYZ” >> /etc/snmp/snmpd.local.conf
syslog
Support for remote logging via syslog (RFC 3164)
Tostartsyslog,enterthefollowinglineinyourcongurationle
syslogd [-l <log level>] -R <Remote server IP>
The syslog daemon sends logging information in UDP packets - port 514.
If all IP addresses are handled by the DHCP server, then there is also a way that the syslog daemon may
be started by the DHCP client:
echo “-O logsrv” > /tmp/dhcp_requests.txt
/etc/init.d/udhcpc restart
The daemon will be started by the DHCP client if the log server parameter (DHCP option 7) is received in
the DHCP response.
You may control which extra DHCP options that are requested in DHCP option 55. It is done by creating a
le/tmp/dhcp_requests.txt containing just one line with a list of request commands to the DHCP
client.
The format of the line is:
-O <option name> [-O <option name>] ...
The following values for <option name> are currently supported:
Name DHCP Option Description
dns 6 Domain name server IP
logsrv 7 Log server IP address
hostname 12 Hostname of the box