configuring gigabit ethernet interfaces (cli procedure)

Upload: soldierfrt

Post on 06-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/16/2019 Configuring Gigabit Ethernet Interfaces (CLI Procedure)

    1/4

    figuring Gigabit Ethernet Interfaces (CLI Procedure) - Technical Documentation - Support - Juniper Networks

    //www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli-els.html[16-May-16 21:41:58]

    TechLibr ary

    Supported 

     Platforms

    EX Series

    Related 

     Documentation

    EX Series

    Configuring Gigabit

     Ethernet Interfaces (J-

    Web Procedure)

    Monitoring Interface

     Status and Traffic

    show interfaces xe-

    Understanding

     Interface Naming

     Conventions on EX

     Series Switches

    EX Series, QFabric

     System, QFX Series

     standalone switches

    show interfaces ge-

    Documentation Tasks for 

    EX Series

    Release

     Information

    Configuring Gigabit Ethernet Interfaces

     (CLI Procedure)

     Note: This task uses Junos OS for EX Series switches with support

     for the Enhanced Layer 2 Software (ELS) configuration style. If your 

     switch runs software that does not support ELS, see Configuring

     Gigabit Ethernet Interfaces (CLI Procedure). For ELS details, see

     Getting Started with Enhanced Layer 2 Software.

    An Ethernet interface must be configured for optimal performance in a high-traffic network.

     EX Series switches include a factory default configuration that:

    Enables all the network interfaces on the switch

    Sets a default interface mode (access)

    Sets default link settings

    Specifies a logical unit (uni t 0) and assigns it to f ami l y ether net-

    swi t chi ng (except on EX8200 switches and Virtual Chassis)

    Specifies Rapid Spanning Tree Protocol (RSTP) and Link Layer Discovery Protocol

     (LLDP)

    This topic describes:

    Configuring VLAN Options and Interface Mode

    Configuring the Link Settings

    Configuring the IP Options

    Configuring VLAN Options and Interface Mode

    By default, when you boot a switch and use the factory default configuration, or when you

     boot the switch and do not explicitly configure a port mode, all interfaces on the switch are

     in access mode and accept only untagged packets from the VLAN named def aul t . You

     can optionally configure another VLAN and use that instead of defaul t . You can also

    Home   → Support   → TechLibrary   →

    TechLibrary Search

     New and improved!

    CLI Explorer 

    Compliance

     Advisor 

    Content Explorer 

    Documentation

     Help

    Enterprise MIBs

    EOL

     Documentation

    Feature Explorer 

    Glossary

    Pathfinder 

    Portable

     Libraries

    SNMP MIB

     Explorer 

    Rate and give feedback: Junos OS 14.1

     

     Network Interfaces for EX4300 Switches

     

    Products & Services Support Training

    How to Buy

     

    EX Series

    http://www.juniper.net/us/en/how-to-buy/http://www.juniper.net/techpubs/en_US/release-independent/junos/information-products/pathway-pages/ex-series/product/index.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-j-web.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-j-web.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-j-web.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/verification/interfaces-ex-series-monitoring.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/verification/interfaces-ex-series-monitoring.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/command-summary/show-interfaces-xe-10-gigabit-ethernet-ex-series.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/command-summary/show-interfaces-ge-gigabit-ethernet-ex-series.htmlhttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Release+Information&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Release+Information&family=EX+Serieshttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/getting-started-els.htmlhttp://www.juniper.net/http://www.juniper.net/support/http://www.juniper.net/techpubs/http://www.juniper.net/techpubs/content-applications/cli-explorer/http://pathfinder.juniper.net/compliance/http://pathfinder.juniper.net/compliance/http://www.juniper.net/techpubs/content-applications/content-explorer/http://www.juniper.net/techpubs/en_US/internal/information-products/pathway-pages/using-the-technical-documentation.htmlhttp://www.juniper.net/techpubs/en_US/internal/information-products/pathway-pages/using-the-technical-documentation.htmlhttp://www.juniper.net/techpubs/software/index_mibs.htmlhttp://www.juniper.net/techpubs/hardware/eol.htmlhttp://www.juniper.net/techpubs/hardware/eol.htmlhttp://pathfinder.juniper.net/feature-explorer/http://www.juniper.net/techpubs/en_US/release-independent/glossary/index.htmlhttp://pathfinder.juniper.net/http://www.juniper.net/techpubs/resources/index.htmlhttp://www.juniper.net/techpubs/resources/index.htmlhttp://contentapps.juniper.net/mib-explorer/http://contentapps.juniper.net/mib-explorer/http://www.juniper.net/techpubs/en_US/junos14.1/information-products/pathway-pages/ex-series/interfaces-els-x53.html#configurationhttp://www.juniper.net/us/en/products-services/https://www.juniper.net/customers/support/http://www.juniper.net/us/en/training/http://www.juniper.net/us/en/how-to-buy/http://www.juniper.net/in/en/http://www.juniper.net/in/en/http://www.juniper.net/us/en/how-to-buy/http://www.juniper.net/us/en/training/https://www.juniper.net/customers/support/http://www.juniper.net/us/en/products-services/http://www.juniper.net/techpubs/en_US/junos14.1/information-products/pathway-pages/ex-series/interfaces-els-x53.html#configurationhttp://contentapps.juniper.net/mib-explorer/http://contentapps.juniper.net/mib-explorer/http://www.juniper.net/techpubs/resources/index.htmlhttp://www.juniper.net/techpubs/resources/index.htmlhttp://pathfinder.juniper.net/http://www.juniper.net/techpubs/en_US/release-independent/glossary/index.htmlhttp://pathfinder.juniper.net/feature-explorer/http://www.juniper.net/techpubs/hardware/eol.htmlhttp://www.juniper.net/techpubs/hardware/eol.htmlhttp://www.juniper.net/techpubs/software/index_mibs.htmlhttp://www.juniper.net/techpubs/en_US/internal/information-products/pathway-pages/using-the-technical-documentation.htmlhttp://www.juniper.net/techpubs/en_US/internal/information-products/pathway-pages/using-the-technical-documentation.htmlhttp://www.juniper.net/techpubs/content-applications/content-explorer/http://pathfinder.juniper.net/compliance/http://pathfinder.juniper.net/compliance/http://www.juniper.net/techpubs/content-applications/cli-explorer/http://www.juniper.net/techpubs/http://www.juniper.net/support/http://www.juniper.net/http://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/getting-started-els.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli.htmlhttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Release+Information&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Release+Information&family=EX+Serieshttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/command-summary/show-interfaces-ge-gigabit-ethernet-ex-series.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/command-summary/show-interfaces-xe-10-gigabit-ethernet-ex-series.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/verification/interfaces-ex-series-monitoring.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/verification/interfaces-ex-series-monitoring.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-j-web.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-j-web.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-j-web.htmlhttp://www.juniper.net/techpubs/en_US/release-independent/junos/information-products/pathway-pages/ex-series/product/index.html

  • 8/16/2019 Configuring Gigabit Ethernet Interfaces (CLI Procedure)

    2/4

    figuring Gigabit Ethernet Interfaces (CLI Procedure) - Technical Documentation - Support - Juniper Networks

    //www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli-els.html[16-May-16 21:41:58]

    Design

    Configure

    Install

    Operate

    Troubleshoot

     configure a port to accept untagged packets from the user-configured VLAN. For details on

     this concept (native VLAN), see Understanding Bridging and VLANs on EX Series

     Switches

    If you are connecting either a desktop phone, wireless access point or a security camera to a

     Power over Ethernet (PoE) port, you can configure some parameters for the PoE interface.

     PoE interfaces are enabled by default. For detailed information about PoE settings, see

     Configuring PoE (CLI Procedure).

    If you are connecting a device to other switches and to routers on the LAN, you need to

     assign the interface to a logical port and configure the logical port as a trunk port. See Port

     Role Configuration with the J-Web Interface (with CLI References) for more information

     about port configuration.

    If you are connecting to a server that contains virtual machines and a VEPA for packet

     aggregation from those virtual machines, configure the port as a tagged-access port. See

     Understanding Bridging and VLANs on EX Series Switches for more information about

     tagged access.

    To configure a 1-Gigabit, 10-Gigabit, or 40-Gigabit Ethernet interface for trunk port mode:

    [edi t ]

    user @swi t ch# set i nt erf aces interface-name   uni t logical-unit-number   f ami l y et her net- swi t chi ng i nt erf ace- mode  trunk

    Configuring the Link Settings

    EX Series switches include a factory default configuration that enables interfaces with the

     link settings provided in Table 1.

    Table 1: Factory Default Configuration Link Settings for EX Series Switches

    Ethernet

     InterfaceAutonegotiation

    Flow

     ControlLink Mode Link Speed  

    1 gigabit Enabled Enabled Autonegotiation

     

    (full duplex or 

     half duplex)

    Autonegotiation

     

    (10 Mbps, 100

     Mbps, or 1

     Gbps)

    10 gigabit

    (using a

     DAC

     cable)

    Enabled Enabled Full duplex 10 Gbps

    10 gigabit

    (using a

     fiber-optic

     cable)

    Disabled Enabled Full duplex 10 Gbps

    System Log

     Explorer 

    XML API

     Explorer New

    http://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Design&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Configure&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Install,+Upgrade,+and+Deploy&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Maintain,+Manage,+and+Operate&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Monitor+and+Troubleshoot&family=EX+Serieshttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/bridging-ex-series-understanding.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/bridging-ex-series-understanding.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/poe-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/general/ex-series-gigabit-interfaces-port-role-configuration.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/general/ex-series-gigabit-interfaces-port-role-configuration.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/general/ex-series-gigabit-interfaces-port-role-configuration.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/bridging-ex-series-understanding.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/interface-mode-edit-interfaces.htmlhttp://contentapps.juniper.net/syslog-explorer/http://contentapps.juniper.net/syslog-explorer/http://contentapps.juniper.net/xmlapi/http://contentapps.juniper.net/xmlapi/http://contentapps.juniper.net/xmlapi/http://contentapps.juniper.net/xmlapi/http://contentapps.juniper.net/xmlapi/http://contentapps.juniper.net/xmlapi/http://contentapps.juniper.net/syslog-explorer/http://contentapps.juniper.net/syslog-explorer/http://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/interface-mode-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/bridging-ex-series-understanding.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/general/ex-series-gigabit-interfaces-port-role-configuration.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/general/ex-series-gigabit-interfaces-port-role-configuration.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/poe-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/bridging-ex-series-understanding.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/bridging-ex-series-understanding.htmlhttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Monitor+and+Troubleshoot&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Maintain,+Manage,+and+Operate&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Install,+Upgrade,+and+Deploy&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Configure&family=EX+Serieshttp://www.juniper.net/techpubs/content-applications/content-explorer/#cat=Design&family=EX+Series

  • 8/16/2019 Configuring Gigabit Ethernet Interfaces (CLI Procedure)

    3/4

    figuring Gigabit Ethernet Interfaces (CLI Procedure) - Technical Documentation - Support - Juniper Networks

    //www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/ex-series-gigabit-interfaces-cli-els.html[16-May-16 21:41:58]

    40 gigabit

    (using a

     DAC

     cable)

    Enabled Enabled Full duplex 40 Gbps

    40 gigabit

    (using a

     fiber-optic

     cable)

    Disabled Enabled Full duplex 40 Gbps

     Note: On EX4300 switches, the interfaces operate in full duplex

     mode only.

    To configure the link mode and speed settings for a 1-Gigabit, 10-Gigabit, or 40-Gigabit

     Ethernet interface:

    [edi t ]

    user @swi t ch# set i nt erf aces interface-name

    To configure additional link settings for a 1-Gigabit, 10-Gigabit, or 40-Gigabit Ethernet

     interface:

    [edi t ]

    user @swi t ch# set i nt erf aces interface-name   et her - opt i ons

    For detailed information about the FPC, PIC, and port numbers used for EX Series switches,

     see Understanding Interface Naming Conventions on EX Series Switches.

    Configurable link settings include:

    802. 3ad —Specify an aggregated Ethernet bundle. See Configuring Aggregated 

     Ethernet Links (CLI Procedure).

    aut o-negot i ati on —Enable or disable autonegotation of flow control, link mode,

     and speed.

    f l ow- cont r ol  —Enable or disable flow control.

    l i nk- mode —Specify full duplex, half duplex, or autonegotiation. On EX4300

     switches, the interfaces operate in full duplex mode only.

    l oopback —Enable or disable loopback mode.

    speed —Specify 10 Mbps, 100 Mbps, 1 Gbps, or autonegotiation.

    Configuring the IP Options

    To specify an IP address for the logical unit using IPv4:

    [edi t ]

    user @swi t ch# set i nt erf aces interface-name  uni t logical-unit-

    number   f ami l y i net addr ess ip-address

    To specify an IP address for the logical unit using IPv6:

    [edi t ]

    user @swi t ch# set i nt erf aces interface-name  uni t logical-unit-

    http://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/8023ad-interfaces-ex-series.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/link-aggregation-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/link-aggregation-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/link-aggregation-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/auto-negotiation-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/flow-control-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/link-mode-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/loopback-edit-interfaces-ethernet.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/speed-edit-interfaces-ethernet.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/speed-edit-interfaces-ethernet.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/loopback-edit-interfaces-ethernet.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/link-mode-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/flow-control-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/auto-negotiation-edit-interfaces.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/link-aggregation-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/task/configuration/link-aggregation-cli.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/reference/configuration-statement/8023ad-interfaces-ex-series.htmlhttp://www.juniper.net/documentation/en_US/junos14.1/topics/concept/interfaces-naming-conventions.html

  • 8/16/2019 Configuring Gigabit Ethernet Interfaces (CLI Procedure)

    4/4

    figuring Gigabit Ethernet Interfaces (CLI Procedure) - Technical Documentation - Support - Juniper Networks

    //www juniper net/documentation/en US/junos14 1/topics/task/configuration/ex-series-gigabit-interfaces-cli-els html[16-May-16 21:41:58]

    number   f ami l y i net6 addr ess ip-address

     Note: Access interfaces on EX4300 switches are set to f ami l y

      et her net- swi t chi ng by default. You might have to delete this

     or any other user-configured family setting before changing the

     setting to f ami l y i net  or f ami l y i net 6.

    Published: 2014-10-13

    Solutions About Juniper  Partners Community

    Request a Quote

    How to Buy

    Feedback 

    Contact Us

    Careers

    Image Library

    RSS Feeds

    Corporate Responsibility

    Privacy Policy

    Legal Notices

    Insights

    Site Map

    Country Selector 

     © 1999 - 2016 Juniper Networks, Inc. All rights reserved 

    United StatesUnited States

    http://www.juniper.net/us/en/solutions/http://www.juniper.net/us/en/company/http://www.juniper.net/us/en/partners/http://www.juniper.net/us/en/community/social/http://www.juniper.net/us/en/how-to-buy/request-a-quote.pagehttp://www.juniper.net/us/en/how-to-buy/http://www.juniper.net/us/en/feedback/http://www.juniper.net/us/en/contact-us/http://www.juniper.net/us/en/company/careers/http://www.juniper.net/us/en/company/press-center/images/http://rss.juniper.net/http://www.juniper.net/us/en/company/corporate-responsibility/http://www.juniper.net/us/en/privacy-policy/http://www.juniper.net/us/en/legal-notices/http://www.juniper.net/us/en/insights/http://www.juniper.net/us/en/site-map/https://plus.google.com/101354207496812916953/abouthttps://plus.google.com/101354207496812916953/abouthttps://www.linkedin.com/company/juniper-networkshttps://www.linkedin.com/company/juniper-networkshttp://www.youtube.com/junipernetworkshttp://www.youtube.com/junipernetworkshttp://twitter.com/JuniperNetworks/http://twitter.com/JuniperNetworks/http://www.facebook.com/JuniperNetworks/http://www.facebook.com/JuniperNetworks/http://forums.juniper.net/http://forums.juniper.net/http://www.juniper.net/us/en/site-map/http://www.juniper.net/us/en/insights/http://www.juniper.net/us/en/legal-notices/http://www.juniper.net/us/en/privacy-policy/http://www.juniper.net/us/en/company/corporate-responsibility/http://rss.juniper.net/http://www.juniper.net/us/en/company/press-center/images/http://www.juniper.net/us/en/company/careers/http://www.juniper.net/us/en/contact-us/http://www.juniper.net/us/en/feedback/http://www.juniper.net/us/en/how-to-buy/http://www.juniper.net/us/en/how-to-buy/request-a-quote.pagehttp://www.juniper.net/us/en/community/social/http://www.juniper.net/us/en/partners/http://www.juniper.net/us/en/company/http://www.juniper.net/us/en/solutions/