PAMSPAN501x G.SHDSL.bis EFM Gateway
-
34
After completing the above steps, user will be able to see the permission of multi port
router on the LAN connection main page as shown below:
3.2.3.1.2
Command Line Interface for LAN
User can also use a Command Line Interface to configure the LAN. Below are some
examples:
#> ethernet add transport <ethx> <ethx>
This command adds an <ethx> Ethernet transport and allows you to specify the
<ethx> Port it will use to transport Ethernet data. In order for this command to work,
both <ethx> and <ethx> must be the same.
#> bridge add interface <ethx>
This command adds the interface name <ethx> to the bridge.
#> bridge attach <ethx> <ethx>
This command attaches an existing transport to an existing bridge interface to allow
data to be bridged via the transport. Only one transport can be attached to an
interface. If you use this command when there is already a transport attached to the
interface, the previous transport will be replaced by the new one.
#> ip add interface <name> 192.168.1.1 255.255.255.0
This command adds a named interface and optionally sets its IP address. The IP
address is not mandatory at this stage, but if it is not specified in this command, the
interface will not be configured.
#> ip attachbridge <name>
This command attaches the named bridge to the PAMSPAN501X via an existing IP
interface.
#> ip attachvirtual <virtual interface> <real ip interface>
This command creates a virtual interface. The virtual interface is associated with a
‘real’ IP interface that has already been attached to a transport using the
ip attach
command. Multiple virtual interfaces can be attached to a single ‘real’ IP interface.