Page 96 / 165 Scroll up to view Page 91 - 95
Telsey
telecommunications
Command Line Interface
MT500--SIEN12
88
setbridgeprio <bridge> <priority>
Sets the bridge's priority to <priority>. The priority value is an unsigned
16-bit quantity (a number between 0 and 65535), and has no dimension.
Lower priority values are 'better'. The bridge with the lowest priority will
be elected 'root bridge'.
setfd <bridge> <time>
Sets the bridge's 'bridge forward delay' to <time> seconds.
setgcint <bridge> <time>
Sets the garbage collection interval for the bridge <bridge> to <time>
seconds. This means that the bridge will check the forwarding database
for timed out entries every <time> seconds.
sethello <bridge> <time>
Sets the bridge's 'bridge hello time' to <time> seconds.
setmaxage <bridge> <time>
Sets the bridge's 'maximum message age' to <time> seconds.
setpathcost <bridge> <port> <cost>
Sets the port cost of the port <port> to <cost>. This is a dimensionless
metric.
setportprio <bridge> <port> <prio>
Sets the port <port>'s priority to <priority>. The priority value is an
unsigned 8-bit quantity (a number between 0 and 255), and has no
dimension. This metric is used in the designated port and root port
selection algorithms.
stp <bridge> <state>
Controls this bridge instance's participation in the spanning tree protocol.
If <state> is "on" or "yes" the STP will be turned on, otherwise it will be
turned off. When turned off, the bridge will not send or receive BPDUs,
and will thus not participate in the spanning tree protocol. If your bridge
isn't the only bridge on the LAN, or if there are loops in the LAN's
topology, DO NOT turn this option off. If you turn this option off, please
know what you are doing.
OPTIONS:
None.
EXAMPLES:
Display all the learned MAC addresses on br0
brctl showmacs br0
Set the ageing timer value to be 400 seconds on br0
brctl setageing br0 400
Page 97 / 165
Telsey telecommunications
Command Line Interface
89
MT500--SIEN12
Turn off STP
brctl stp br0 off
Page 98 / 165
Telsey
telecommunications
Command Line Interface
MT500--SIEN12
90
CAT
NAME:
cat
- concatenates FILE(s) and prints them to standard output
SYNOPSIS:
cat [FILE] ...
DESCRIPTION:
Concatenates FILE(s) and prints them to standard output
COMMANDS:
None.
OPTIONS:
None.
EXAMPLES:
Display system memory information.
cat /proc/meminfo
Page 99 / 165
Telsey telecommunications
Command Line Interface
91
MT500--SIEN12
DEFAULTGATEWAY
NAME:
defaultgateway
- configure or show the default gateway or default route
SYNOPSIS:
defaultgateway config auto
defaultgateway config static [<ipaddress>] [<interface>]
defaultgateway show
defaultgateway -help
DESCRIPTION:
The primary use of defaultgateway command is to set up a static default
gateway or default route, or to retrieve the default gateway information
automatically from remote ISPs through DHCP protocol for a MER interface or
through PPP protocol for a PPPoA or PPPoE interface. A PPPoA or PPPoE
interface will always retrieve remote gateway information automatically. This
command will save configuration to the Permanent Storage. If the default
gateway is configured with static data, it will override any remote gateway
address received automatically from some WAN interface and become effective
immediately in the runtime system. Ipaddress is optional if the default route is
en route a PPPoE, PPPoA or IpoA interface. If the default gateway is en route a
MER interface, ipaddress must be configured and the interface parameter is
optional. If there is only one IPoA WAN interface, you must configure static
default gateway or default route since IPoA does not support DHCP.If the
default gateway is configured with the "auto" option, the system needs to be
rebooted before it can take effect. If there are multiple WAN interfaces with
DHCP or PPP enabled, multiple remote gateway addresses may be received and
the first received will be chosen to be the default gateway.
COMMANDS:
None
OPTIONS:
ipaddress
the IP address of the default gateway in dotted decimal.
interface
forces the default gateway to be associated with the specified device, as
the kernel will otherwise try to determine the device on its own by
checking already existing routes and devices.
EXAMPLES:
Enable the system to retrieve the default gateway information automatically
from the remote dhcp server when system starts. The system needs to be
rebooted for modified configuration to take effect.
defaultgateway config auto
Set up a static default gateway to 10.6.33.125. It should be effective right
away and is saved to Permanent Storage on the flash memory.
defaultgateway config 10.6.33.125
Page 100 / 165
Telsey
telecommunications
Command Line Interface
MT500--SIEN12
92
DF
NAME:
df
- print the filesystem used space and available space
SYNOPSIS:
df [OPTION]... [FILESYSTEM]...
DESCRIPTION:
df displays the amount of disk space available on the file system of each
filesystem name argument. If no file system name is given, the space available
on all currently mounted filesystems is shown. Disk space is shown in 1 kb
blocks by default.
COMMANDS:
None.
OPTIONS:
-h
print sizes in human readable format (e.g., 1K 243M 2G )
-m
print sizes in megabytes
-k
print sizes in kilobytes (default)
EXAMPLES:
Display the space available on all the mounted file systems
Df
Display the space available on the flash root file system
df /dev/mtdblock0

Rate

4 / 5 based on 1 vote.

Popular Telsey Models

Bookmark Our Site

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

Share
Top