Main index | Section 8 | Options |
| |
Specifies the etherswitch(4) control file that represents the switch to be configured. It defaults to /dev/etherswitch0. | |
| |
When reporting port information, also list available media options for that port. | |
| |
Produce more verbose output. Without this flag, lines that represent inactive or empty configuration options are omitted. | |
vlan_mode mode | |
Sets the switch VLAN mode (depends on the hardware). | |
pvid number | |
Sets the default port VID that is used to process incoming frames that are not tagged. | |
media mediaspec | |
Specifies the physical media configuration to be configured for a port. | |
mediaopt mediaoption | |
Specifies a list of media options for a port. See ifconfig(8) for details on media and mediaopt. | |
led number style | |
Sets the display style for a given LED. Available styles are: default (usually flash on activity), on, off, and blink. Not all switches will support all styles. | |
And the following flags (please note that not all flags are supported by all switch drivers):
addtag | |
Add VLAN tag to each packet sent by the port. | |
| |
Disable the add VLAN tag option. | |
striptag | |
Strip the VLAN tags from the packets sent by the port. | |
| |
Disable the strip VLAN tag option. | |
firstlock | |
This options makes the switch port lock on the first MAC address it sees. After that, usually you need to reset the switch to learn different MAC addresses. | |
| |
Disable the first lock option. Note that sometimes you need to reset the switch to really disable this option. | |
dropuntagged | |
Drop packets without a VLAN tag. | |
| |
Disable the drop untagged packets option. | |
doubletag | |
Enable QinQ for the port. | |
| |
Disable QinQ for the port. | |
ingress | |
Enable the ingress filter on the port. | |
| |
Disable the ingress filter. | |
vlan VID | |
Sets the VLAN ID (802.1q VID) for this VLAN group. Frames transmitted on tagged member ports of this group will be tagged with this VID. Incoming frames carrying this tag will be forwarded according to the configuration of this VLAN group. | |
members port,... | |
Configures which ports are to be a member of this VLAN group. The port numbers are given as a comma-separated list. Each port can optionally be followed by "t" to indicate that frames on this port are tagged. | |
/dev/etherswitch? | |
Control file for the Ethernet switch driver. | |
# etherswitchcfg vlangroup1 vlan 2 members 0,5t port0 pvid 2
ETHERSWITCHCFG (8) | October 2, 2016 |
Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.