NEXPEED NBG440 User’s Manual
NexComm Systems, Inc. 69 PAGE
Parameters
<vid> - A VLANid , Valid parameter range is from 2 to 4094.
<port> - Port name
Usage Examples:
(conf)# ethsw add 100 p1 lan
=> creates one VLAN (id 100) and then assign ports p1 and lan to that VLAN.
Deleting a VLAN
This command deletes one or more ports from the specific VLAN. If you delete all
ports from the VLAN, the VLAN becomes vanished automatically.
COMMAND
(conf)# ethsw del <vid> <port> [<port> ...]
Parameters
<vid> - A VLANid , Valid parameter range is from 2 to 4094.
<port> - Port name
Usage Examples:
(conf)# ethsw del 100 p1
Setting a port to trunk or access (for egress port)
As traffic from an interface is forwarded out of the unit, it determines if the destination
port requires the frames to be tagged or untagged.
- A trunk port should use tagged frame formats for outgoing frames and carries the
traffic of multiple VLANs over a single link. But if a packet has a VLANid that is the
same as the outgoing port PVID, the packet is sent untagged.
- An access port should use untagged frame formats for outgoing frames. Frames are
sent to the port without a tag. An access port strips the tag from tagged frames and sends
it.
By default, all ports are the access ports. To set a specific port to trunk or access, use the
following command.
COMMAND
(conf)# ethsw trunk enable|disable <port> [<port> ...]
Parameters
enable: sets as the trunk port