Configuring a Logical Interface for Trunk Mode
As an alternative to configuring a logical interface for each VLAN, enterprise network administrators can configure a single logical interface to accept untagged packets or packets tagged with any VLAN ID specified in a list of VLAN IDs. Using a VLAN ID list conserves switch resources and simplifies configuration. A logical interface configured to accept packets tagged with any VLAN ID specified in a list is called a trunk interface or trunk port. See vlan members (VLANs).
Use 802.1Q VLAN Trunk to confirm platform and release support for specific features.
Review the Platform-Specific Trunk Mode Logical Interface Configuration Behavior section for notes related to your platform.
To configure a logical interface to accept any packet tagged with a VLAN ID that
matches the list of VLAN IDs, include the interface-mode
statement
and specify the trunk
option:
interface-mode trunk;
You can include this statement at the following hierarchy levels:
-
[edit interfaces interface-name unit logical-unit-number family bridge]
-
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family bridge]
Platform-Specific Trunk Mode Logical Interface Configuration Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific behavior for your platform:
Platform |
Difference |
---|---|
|
|