aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-23 18:03:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-23 18:03:25 +0000
commite0bc04990d1c9b2b48a48a603589d1becc2bdd35 (patch)
treedeb8c13e8d64f4cc8f29a24c917e2facdf7e7c14
parent1b1f3eb0cf5e8d7a1faa9f41ec5ba9a419123054 (diff)
downloadupstream-e0bc04990d1c9b2b48a48a603589d1becc2bdd35.tar.gz
upstream-e0bc04990d1c9b2b48a48a603589d1becc2bdd35.tar.bz2
upstream-e0bc04990d1c9b2b48a48a603589d1becc2bdd35.zip
add switch config info to network documentation
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4836 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--docs/network.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/network.txt b/docs/network.txt
index 5610e1d6da..69dbaa60ba 100644
--- a/docs/network.txt
+++ b/docs/network.txt
@@ -45,6 +45,35 @@ PPP based protocols (pppoe, pptp, ...) accept these options:
",<interval>" to the keepalive value
demand:
Use Dial on Demand (value specifies the maximum idle time)
+
+ (pptp)
+ server: The remote pptp server IP
For all protocol types, you can also specify the MTU by using the "mtu" option.
+
+
+
+ Setting up the switch (currently broadcom only)
+
+
+The switch configuration is set by adding a 'switch' config section.
+Example:
+
+ config switch eth0
+ option vlan0 "1 2 3 4 5*"
+ option vlan1 "0 5"
+
+On Broadcom hardware the section name needs to be eth0, as the switch driver
+does not detect the switch on any other physical device.
+Every vlan option needs to have the name vlan<n> where <n> is the VLAN number
+as used in the switch driver.
+As value it takes a list of ports with these optional suffixes:
+
+ '*': Set the default VLAN (PVID) of the Port to the current VLAN
+ 'u': Force the port to be untagged
+ 't': Force the port to be tagged
+
+The CPU port defaults to tagged, all other ports to untagged.
+On Broadcom hardware the CPU port is always 5. The other ports may vary with
+different hardware.