Support Support Downloads Knowledge Base Service Request 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] [QFX] Example - Configuring an interface range

0

0

Article ID: KB16354 KB Last Updated: 27 Apr 2018Version: 4.0
Summary:

This article provides an example of configuring an interface range in the EX and QFX series of switches.

Solution:

In the following steps, an example interface range "test" is configured and member interfaces are added to the interface range.

Note: For detailed information about configuring an interface range, refer to Interface Ranges.

  1. Configure a VLAN:
    user@juniper# set vlans vlan10 vlan-id 10
  2. Configure the interface range "test" to be a part of a vlan (vlan10, in this case):
    user@juniper# set interfaces interface-range test unit 0 family ethernet-switching vlan members vlan10
  3. Add member interfaces (actual physical interface) to the interface range:
    user@juniper# set interfaces interface-range test member-range ge-0/0/0 to ge-0/0/10
    user@juniper# commit check
    configuration check succeeds
    
    user@juniper# commit
    configuration check succeeds
    commit complete
  4. Verify that all physical interfaces in the interface range have become part of the member VLAN to which the "test" interface range was added:

user@juniper# run show vlans

Name                 Tag                Interfaces
default
                                        ge-0/0/11.0, ge-0/0/12.0, ge-0/0/13.0, ge-0/0/14.0,
                                        ge-0/0/15.0, ge-0/0/16.0*, ge-0/0/17.0, ge-0/0/18.0,
                                        ge-0/0/19.0, ge-0/0/20.0, ge-0/0/21.0, ge-0/0/22.0,
                                        ge-0/0/23.0, ge-0/1/0.0
                                        vlan10 10                            <<<<<<< Interfaces ge-0/0/0 - ge-0/0/10 in vlan10
                                        ge-0/0/0.0, ge-0/0/1.0, ge-0/0/2.0, ge-0/0/3.0,
                                        ge-0/0/4.0, ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0,
                                        ge-0/0/8.0, ge-0/0/9.0, ge-0/0/10.0*

user@juniper# edit interfaces interface-range test
[edit interfaces interface-range test]
user@juniper# show
member-range ge-0/0/0 to ge-0/0/10;
unit 0 {
family ethernet-switching {
vlan {
members 10;
}
}
}

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

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