Junos OS

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  How to set the duplex on ge-0/1/3 of EX-4100

    Posted 13 days ago

    Hello Experts, 

    I converted the vcp ports to network ports of EX-4100. When I connect the interface ge-0/1/3 of EX4100  to a Juniper switch, the interface is up and I can ping the remote Juniper switch. However, when I connect the port ge-0/1/3 of EX-4100 to Cisco ASR, the interface ge-0/1/3 shows up but the interface of Cisco ASR shows down. The Cisco ASR interface is set to full-duplex and auto-nego. I see the interface of ge-0/1/3 doesn't have the duplex settings and I don't see the option to set the duplex on ge-0/1/3. Can you tell me how to set the duplex on ge-0/1/3 of ex-4100? I appreciate your help. 

    # set interfaces ge-0/1/3 ether-options ?
    Possible completions:
    > 802.3ad              IEEE 802.3ad
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups
      asynchronous-notification  Enable sending asynchronous notification to peer on CCC-down
      auto-negotiation     Enable auto-negotiation
      autostate-exclude    Interface will not contribute to IRB state
    > ethernet-switch-profile  Ethernet virtual LAN/media access control-level options
      flow-control         Enable flow control
      ieee-802-3az-eee     IEEE 802.3az Energy Efficient Ethernet(EEE)
      ignore-l3-incompletes  Ignore L3 incomplete errors
      loopback             Enable loopback
    > mpls                 MPLS options
      no-auto-mdix         Disable auto MDI/MDIX
      no-auto-negotiation  Don't enable auto-negotiation
      no-flow-control      Don't enable flow control
      no-loopback          Don't enable loopback

    > show interfaces ge-0/1/3   
    Physical interface: ge-0/1/3, Enabled, Physical link is Up
      Interface index: 664, SNMP ifIndex: 546
      Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 1000mbps,
      BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None,
      MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
      Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online,
      Media type: Fiber

    > show configuration interfaces ge-0/1/3    
    speed 1g;
    ether-options {
        auto-negotiation;
    }
    unit 0 {
        family inet {
            address x.x.x.x/30;
        }
    }

    > show interfaces ge-0/1/3 terse 
    Interface               Admin Link Proto    Local                 Remote
    ge-0/1/3                up    up
    ge-0/1/3.0              up    up   inet     x.x.x.x/30  

    > show virtual-chassis mode 
    fpc0:
    --------------------------------------------------------------------------
    Current mode :  network-port mode
    Future mode after reboot :  network-port mode

    Thank you



    ------------------------------
    Ahsan Khan
    ------------------------------


  • 2.  RE: How to set the duplex on ge-0/1/3 of EX-4100

    Posted 13 days ago

    You generally need to turn off auto-neg and set both speed and duplex manually when these missed negotiations occur.  I think these are the three commands you'll use.

    set interfaces ge-0/1/3 speed 1g

    set interfaces ge-0/1/3 ether-options link-mode full-duplex

    set interfaces ge-0/1/3 gigether-options no-auto-negotiation



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: How to set the duplex on ge-0/1/3 of EX-4100

    Posted 13 days ago

    Hi Steve, 

    Thank you for your response. I don't see the option for link-mode to set the full-duplex. 

    # set interfaces ge-0/1/3 ether-options ?     
    Possible completions:
    > 802.3ad              IEEE 802.3ad
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups
      asynchronous-notification  Enable sending asynchronous notification to peer on CCC-down
      auto-negotiation     Enable auto-negotiation
      autostate-exclude    Interface will not contribute to IRB state
    > ethernet-switch-profile  Ethernet virtual LAN/media access control-level options
      flow-control         Enable flow control
      ieee-802-3az-eee     IEEE 802.3az Energy Efficient Ethernet(EEE)
      ignore-l3-incompletes  Ignore L3 incomplete errors
      loopback             Enable loopback
    > mpls                 MPLS options
      no-auto-mdix         Disable auto MDI/MDIX
      no-auto-negotiation  Don't enable auto-negotiation
      no-flow-control      Don't enable flow control
      no-loopback          Don't enable loopback

    Thank you,



    ------------------------------
    Ahsan Khan
    ------------------------------



  • 4.  RE: How to set the duplex on ge-0/1/3 of EX-4100

     
    Posted 12 days ago

    Hi,

    On the ex4100 the command to set the duplex on an interface is:  set interfaces ge-0/0/9 link-mode full-duplex

    set interfaces ge-0/0/9 link-mode ?
    Possible completions:
      full-duplex          Full-duplex operation
      half-duplex          Half-duplex operation

    Hope this helps 

    Marcel



    ------------------------------
    Marcel ten Berg

    http://www.juniper.net
    ------------------------------



  • 5.  RE: How to set the duplex on ge-0/1/3 of EX-4100

    Posted 12 days ago

    Hi Marcel, 

    Thank you for your response. I am using EX4100-F-12T model.  I do see the option for link-mode on the copper ports but not on the fiber uplink ports. I converted the vcp ports to the network ports. I found this KB below.  When I try to set to no-auto-nego, I get the error. 

    https://supportportal.juniper.net/s/article/EX4100-switch-Uplink-Port-shows-up-but-peer-device-is-down?language=en_US 

    # set interfaces ge-0/0/6 ?    
    Possible completions:
      accounting-profile   Accounting profile name
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups
      description          Text description of interface
      disable              Disable this interface
    > dsl-sfp-options      DSL SFP options
      encapsulation        Physical link-layer encapsulation
    > esi                  ESI configuration of multi-homed interface
    > ether-options        Ethernet interface-specific options
      flexible-vlan-tagging  Support for no tagging, or single and double 802.1q VLAN tagging
    > gigether-options     Gigabit Ethernet interface-specific options
      gratuitous-arp-reply  Enable gratuitous ARP reply
    > hold-time            Hold time for link up and link down
      input-native-vlan-push  Control native-vlan-id insertion to untagged frames when input-vlan-map push is configured
      link-mode            Link operational mode
      mac                  Hardware MAC address
      mtu                  Maximum transmit packet size (256..9216)
      native-vlan-id       Virtual LAN identifier for untagged frames (0..4094)
      no-gratuitous-arp-reply  Don't enable gratuitous ARP reply
      no-gratuitous-arp-request  Ignore gratuitous ARP request
      no-per-unit-scheduler  Don't enable subunit queuing on Frame Relay or VLAN IQ interface
      no-traps             Don't enable SNMP notifications on state changes
    > optics-options       Optics options
      passive-monitor-mode  Use interface to tap packets from another router
      per-unit-scheduler   Enable subunit queuing on Frame Relay or VLAN IQ interface
      speed                Link speed
    > tdm-options          Time division multiplexing (TDM) interface-specific options
    > traceoptions         Interface trace options
      traps                Enable SNMP notifications on state changes
    > unit                 Logical interface
      vlan-tagging         802.1q VLAN tagging support


    # set interfaces ge-0/1/3 ?           
    Possible completions:
      accounting-profile   Accounting profile name
    + apply-groups         Groups from which to inherit configuration data
    + apply-groups-except  Don't inherit configuration data from these groups
      description          Text description of interface
      disable              Disable this interface
    > dsl-sfp-options      DSL SFP options
      encapsulation        Physical link-layer encapsulation
    > esi                  ESI configuration of multi-homed interface
    > ether-options        Ethernet interface-specific options
      flexible-vlan-tagging  Support for no tagging, or single and double 802.1q VLAN tagging
    > gigether-options     Gigabit Ethernet interface-specific options
      gratuitous-arp-reply  Enable gratuitous ARP reply
    > hold-time            Hold time for link up and link down
      input-native-vlan-push  Control native-vlan-id insertion to untagged frames when input-vlan-map push is configured
      mac                  Hardware MAC address
      mtu                  Maximum transmit packet size (256..9216)
      native-vlan-id       Virtual LAN identifier for untagged frames (0..4094)
      no-gratuitous-arp-reply  Don't enable gratuitous ARP reply
      no-gratuitous-arp-request  Ignore gratuitous ARP request
      no-per-unit-scheduler  Don't enable subunit queuing on Frame Relay or VLAN IQ interface
      no-traps             Don't enable SNMP notifications on state changes
    > optics-options       Optics options
      passive-monitor-mode  Use interface to tap packets from another router
      per-unit-scheduler   Enable subunit queuing on Frame Relay or VLAN IQ interface
      speed                Link speed
    > tdm-options          Time division multiplexing (TDM) interface-specific options
    > traceoptions         Interface trace options
      traps                Enable SNMP notifications on state changes
    > unit                 Logical interface
      vlan-tagging         802.1q VLAN tagging support
    {master:0}[edit]

    > show configuration interfaces ge-0/1/3    
    speed 1g;

    {master:0}
    > edit 
    Entering configuration mode

    {master:0}[edit]
    # ... ether-options no-auto-negotiation         

    {master:0}[edit]
    # commit check 
    [edit interfaces]
      'ge-0/1/3'
        Speed and Duplex needs to be set before auto negotiation is disabled.
    error: configuration check-out failed

    {master:0}[edit]

    Thank you,



    ------------------------------
    Ahsan Khan
    ------------------------------



  • 6.  RE: How to set the duplex on ge-0/1/3 of EX-4100

    Posted 12 days ago

    Hi Experts, 

    I got it working. I had to set the speed first and commit, then disable the auto-nego using gigether-options and then commit again. 

    [edit interfaces]
    +   ge-0/1/3 {
    +       speed 1g;
    +       gigether-options {
    +           no-auto-negotiation;
    +       }

    Thank you,



    ------------------------------
    Ahsan Khan
    ------------------------------



  • 7.  RE: How to set the duplex on ge-0/1/3 of EX-4100

    Posted 11 days ago

    Hi aljoush, 

    >I do see the option for link-mode on the copper ports but not on the fiber uplink ports. 

    We never see link-mode option on fiber ports, because fiber ports always work in full duplex mode. 

    Actually, "speed" command means nothing on fiber ports, except uplink ports with breakouts, when 40g is divided on 4x10g ports. 

    Indeed, no-auto-neg always requests speed and link-mode to be set.

    From time to time you can use useful command, which shows auto-neg results at the end:

    >show interface ge-0/0/0 media



    ------------------------------
    WBW,
    Dmitriy
    ------------------------------