IBM Heritage Network Router User Manual


 
7-8
Command Sets for Command Line Interface
3. device list
Syntax:
device list
Description:
This command lists all the devices that are currently attached to the
bridge. It does not show the stored configuration (which can be seen
with the
config print command).
Example:
DSL bridge> device list
4. ethertype
Syntax:
ethertype [<port> any|ip|pppoe]
Description:
This command enables filtering of Ethernet packets according to the
ETHER_TYPE field in the header. Only packets of the type specified
using this command will be sent on the port specified; packets of all
types will always be received. By default, all bridge ports are set to
“any”, which means that the type of the packet will never be checked.
The meaning of the other options is as follows:
Option Permitted ETHER_TYPE values
“ip” 0x0800
– IP
0x0806 – ARP
“pppoe” 0x8863, 0x8864 – PPP Over Ethernet (RFC 2516)
The port is specified as an integer, as displayed by the
device list
command. When using this command in the initbridge
configuration file, ports are numbered in the order in which the
device add commands are given, starting from 1.
If no arguments are given, the current settings for each port are
displayed.
Example:
DSL bridge> ethertype 2 any