|
(Revised 2011-07-21) page 123 of 152VLAN Related CommandsAdd VLAN EntryCommand Name vlan addDescription To create a Port based Virtual LANSyntax vlan add -untagged ] or [-tagged rt mask>]>[-name ][-admit -only|all>] [-mirror -no>]Parameters vlan-idUnique vlan id (2 ~ 4094).mgmt portEither 1 or 0. „1‟ sets this vlan as a management vlan.vlan nameUnique vlan name, which can be used to identify thegroup. The name may include characters and numbers,but should start with an alphabetic. Maximum number ofcharacters must not exceed 25.-untagged port maskList of ports that are to be included under this VLAN. Commascan be used to separate individual ports (2,5,9) and the range canbe specified using a hyphen (10-15). The port numbers cannotexceed the maximum number of ports on the board.-tagged port maskTagged port mask values can be specified in the same way as that ofan untagged port mask.-admitAllow tagged-only or all (untagged and tagged) packets.port-noOptional parameter. Port number that data should be mirrored to.Examples N-TRON/Admin#[1]> vlan add 2 1 –untagged 1-12 –name vlan2 –admit allN-TRON/Admin#[2]> vlan add 3 1 –tagged 13-24 –name “vlan 3” –admit tagged-onlyNOTES Ensure that the ports included in the tagged port list do not exist in the untaggedports-list field. Changing anything on a VLAN will turn on RSTP on all VLANs asa precautionary measure.Show List of Configured VLANsCommand Name vlan show configDescription Displays the list of configured VLANsSyntax vlan show configParameters NoneExamples N-TRON/Admin#[1]> vlan show configNOTES It displays the information of the default vlan if no vlan is configured.
PreviousNext |