52
Korenix Feature | Korenix
# ethtool -s lan:3 port off
# ethtool -s lan:3 autoneg off
# ethtool -s lan:3 duplex half
Set LAN interface port 3 vlan pvid to 2
# ethtool -P lan:3 pvid 2
5-2
Vconfig
program name
vconfig
Description
Create and remove VLAN devices on LAN port
Usage
:
Options:
add [interface-name] [vlan_id] tag [port_id] untag [port_id]
[example : vconfig add lan 2 tag 1,2,3 untag 4]
rem [vlan-name]
show [Display Vlan Table]
set_flag [interface-name] [flag-num] [0 | 1]
set_egress_map [vlan-name] [skb_priority] [vlan_qos]
set_ingress_map [vlan-name] [skb_priority] [vlan_qos]
set_name_type [name-type]
Example:
Add a vlan interface
# vconfig add lan 2 untag 1,2,3,4
Delete a vlan interface
# vconfig rem lan.2
Show all vlan interface
# vconfig show