Type the following commands to create a VLAN, bind interfaces to it,
verify the configuration, and display the statistics. If you have
already created the VLAN, skip the first command.
- add vlan
- bind vlan [-ifnum ]
- show vlan []
Example
> add vlan 2
Done
> bind vlan 2 -ifnum 1/8
Done
> show vlan 2
1) VLAN ID: 2
Member Interfaces : 1/8 Tagged: None
Done
>
> stat vlan 2
VLAN ID 2Rate (/s) Total
Packets received 0 0
Bytes received 0 0
Packets sent 0 0
Bytes sent 0 0
Packets dropped -- 0
Broadcast pkts sent & received -- 0
Done
>
Post a Comment