Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@OpenWrt:~# swconfig dev switch0 help
- switch0: mdio@ffe24000(Atheros AR8327), ports: 7 (cpu @ 0), vlans: 128
- --switch
- Attribute 1 (int): enable_vlan (Enable VLAN mode)
- Attribute 2 (none): reset_mibs (Reset all MIB counters)
- Attribute 3 (int): enable_mirror_rx (Enable mirroring of RX packets)
- Attribute 4 (int): enable_mirror_tx (Enable mirroring of TX packets)
- Attribute 5 (int): mirror_monitor_port (Mirror monitor port)
- Attribute 6 (int): mirror_source_port (Mirror source port)
- Attribute 7 (none): apply (Activate changes in the hardware)
- Attribute 8 (none): reset (Reset the switch)
- --vlan
- Attribute 1 (int): vid (VLAN ID (0-4094))
- Attribute 2 (ports): ports (VLAN port mapping)
- --port
- Attribute 1 (none): reset_mib (Reset single port MIB counters)
- Attribute 2 (string): mib (Get port's MIB counters)
- Attribute 3 (int): pvid (Primary VLAN ID)
- Attribute 4 (string): link (Get port link information)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement