136
Manual Documentation Number: EIRM-EXTEND-8-1
m
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com
B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com
VLANID <2-4094> The ID of the VLAN or VLANs that will be added to,
or removed from, the Layer-2 interface.
For a VLAN range, specify two VLAN numbers: lowest, then highest
number in the range, separated by a hyphen.
For a VLAN list, specify the VLAN numbers separated by commas.
egress-tagged
enable Enable the egress tagging for the outgoing frames.
disable Disable the egress tagging for the outgoing frames.
4.
Example:
The following example specifies to
add
the interface fe1 (port 1) to
VLANID (
2
) and
enable
the
egress-tagged
for the outgoing frames on
interface fe1 (port 1):
switch_a(config)#interface fe1
switch_a(config-if)#switchport hybrid allowed vlan add 2 egress-
tagged enable
switch_a(config-if)#
Switchport trunk allowed vlan:
1.
Command Mode: Interface mode
Logon to Configure Mode (Configure Terminal Mode).
Then logon to Interface mode.
fe1 means port 1.
The
switch_a(config-if)#
prompt will show on the screen.
switch_a(config)#interface fe1
switch_a(config-if)#
2.
Usage:
Use this command to set the switching characteristics of the Layer-2
interface to trunk. The all parameter indicates that any VLAN ID is part of
its port’s member set. The none parameter indicates that no VLAN ID is
configured on this port. The add and remove parameters will add and
remove VLAN IDs to/from the port’s member set.
Use the no parameter to remove all VLAN IDs configured on this port.
3.
Command Syntax:
switchport trunk allowed vlan all
switchport trunk allowed vlan none
switchport trunk allowed vlan add VLANID
switchport trunk allowed vlan remove VLANID
switchport trunk allowed vlan except VLANID