Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to determine if an interface is in port mode Trunk

0

0

Article ID: KB17039 KB Last Updated: 18 Apr 2020Version: 3.0
Summary:

This article discusses the verification of port mode Trunk for interfaces on EX Series switches (excluding the EX 2500 Series).

Solution:

By default, all Gig Ethernet interfaces on EX Series switches are in port mode access. Verify this by checking the configuration hierarchy for a given interface, eg: ge-0/0/0:

user@switch# edit interfaces ge-0/0/0
[edit interfaces ge-0/0/0]
user@switch# show

unit 0 {
family ethernet-switching ;
}

When we set the port-mode of an interface to Trunk on the EX series, we can verify the port mode by checing the configuration as below:

user@switch# show interfaces ge-0/0/0
unit 0 {
family ethernet-switching {
port-mode trunk;
}
}

Then issue the following command to view extensive interface information:

user@switch# run show interfaces ge-0/0/0 extensive

At the end of the output, you will see a flag for the logical interface ge-0/0/0.0 which specifies the port-mode as Trunk:

Logical interface ge-0/0/0.0 (Index 93) (SNMP ifIndex 116) (Generation 158)
Flags: Device-Down SNMP-Traps 0x0 Encapsulation: ENET2
Traffic statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 0 0 bps
Output bytes : 0 0 bps
Input packets: 0 0 pps
Output packets: 0 0 pps
Protocol eth-switch, Generation: 174, Route table: 0
Flags: Trunk-Mode
Modification History:
2020-04-15: Article reviewed for accuracy. No changes made. Article is correct and complete.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search