12-25
12.1.19 switchport
Interface Config commands
Use this command to set switching mode characteristics for the selected interface. The mode can be either
access or trunk.
Syntax
switchport(access|mode|trunk)
switchport
access
vlan <1-4094>
switchport
mode
(
access|trunk
)
switchport
trunk
(allowed|native)
switchport trunk
allowed
vlan(add|none|remove)<
VLAN_ID
>
switchport trunk
native
(tagged|vlan
<1-4094
>)
Parameters
NOTE
A
ge
interface configured as a trunk with
all
VLAN's allowed looses its
configuration and has only VLAN 1 set to allowed.
access (vlan) <1-4094>
Configure the access VLAN of an access-mode port.
•
vlan <1-4094> – Sets the access VLAN when an interface is in access
mode.
mode (access|trunk)
Sets the interface’s switching mode to access or trunk mode. The switching
mode can only be used on physical (layer2) interfaces.
•
access – If
access mode
is selected, the access VLAN will be
automatically set to VLAN1. In this mode, only untagged packets in the
access VLAN (vlan1) will be accepted on this port. All tagged packets will
be discarded.
•
trunk – If
trunk
mode is selected tagged packets in all VLANs will be
accepted. The native VLAN will be automatically set to VLAN1. Untagged
packets will be placed in the native VLAN by the switch. Outgoing
packets in the native VLAN will be sent out untagged.
trunk
is the default mode for both ports.
trunk (allowed|native)
Sets trunking mode characteristics.
•
allowed – Configures trunk characteristics when the port is in trunk-
mode.
•
native – Configures the native VLAN ID of the trunk-mode port.
trunk allowed (vlan)
(add|none|remove)
<VLAN_ID>
Configures trunk characteristics when the port is in trunk-mode.
•
vlan – Sets the allowed VLANs.
•
add – Adds a VLANs to the current list.
•
none – Restricts VLANs to Xmit/Rx through the Layer2 interface.
•
remove – Removes VLANs from the current list.
•
VLAN_ID – VLAN_ID’s to be added or removed. This can be either a range
of vlans (e.g. 55-60) or a list of comma separated vlan ids (e.g. 35,41).
Содержание RFS7000 Series
Страница 1: ... RFS7000 Series RF Switch CLI Reference Guide ...
Страница 10: ...x RFS7000 Series CLI Reference Guide ...
Страница 30: ...Overview 1 10 ...
Страница 150: ...Overview 3 16 RFS7000 show management Mgmt Interface vlan1 Management access permitted via any vlan interface RFS7000 ...
Страница 196: ...Overview 4 46 ...
Страница 270: ...Overview 5 74 ...
Страница 284: ...Overview 6 14 ...
Страница 294: ...Overview 7 10 ...
Страница 304: ...Overview 8 10 ...
Страница 308: ...Overview 9 4 ...
Страница 338: ...Overview 11 36 ...
Страница 366: ...Overview 12 28 ...
Страница 380: ...Overview 13 14 ...
Страница 404: ...Overview 15 2 terminal Sets terminal line parameters page 15 14 Command Description Ref ...
Страница 434: ...Overview 16 18 ...
Страница 466: ...Overview 17 32 ...
Страница 474: ...Overview 18 8 ...
Страница 504: ...Overview 19 30 ...
Страница 572: ...Overview 20 68 ...
Страница 581: ...21 9 new show alarm log count all new acknowledged severity to limit 1 65535 RFS7000 config sole ...
Страница 584: ...Overview 21 12 ...
Страница 586: ...A 2 RFS7000 Series CLI Reference Guide ...
Страница 587: ......
Страница 588: ...MOTOROLA INC 1303 E ALGONQUIN ROAD SCHAUMBURG IL 60196 http www motorola com 72E 103891 01 Revision A January 2008 ...