Switching

last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Simple Trunking Question

    Posted 06-29-2009 10:45

    Hi All,

     

          This is a simple question but I cant find the answer anywhere.  How can I view the status of my trunk ports on an EX switch.  Or even how to I view what ports are trunking

     

    Cisco has the show int trunk commands which works great.

     

    anyone have the answer?

     

    Thanks!



  • 2.  RE: Simple Trunking Question

    Posted 06-30-2009 02:32

    Hi,

     

    show interfaces aeo terse:

     

    The output confirms that the ae0 link is up and shows the family and IP address
    assigned to this link.

     

    If you are using LACP:

     

    show lacp interfaces xe-0/1/0

     

     



  • 3.  RE: Simple Trunking Question

    Posted 06-30-2009 06:18

    Hi,

     

    you could use Op script (attached). Please consider following disclaimer BEFORE you start using scripts (BEFORE USING JUNOS SCRIPTS PLEASE READ THIS..., http://forums.juniper.net/jnet/board/message?board.id=JUNOS&thread.id=12).

     

    Steps how to use it:

    1) Upload  show-trunk.slax to /var/db/scripts/op/

    2) From configure mode: "set system scripts op file show-trunk.slax"

    3) From operational mode: op show-trunk OR from configuration mode: run op show-trunk

     

    Output would look like:

    root@VC2> op show-trunk
    Interface    State    VLAN Member             Blocked       Description
    ae0          down     blue                    RTG Blocked  
                          vlan200                 RTG Blocked
                          red                     RTG Blocked
                          yellow                  RTG Blocked
    ae1          up       blue                    unblocked    
                          vlan200                 unblocked  
                          red                     unblocked  
                          yellow                  unblocked  
    ge-0/0/20    down    
    ge-0/0/21    down     blue                    unblocked    
    ge-1/0/0     up       vlan100                 unblocked    
                          vlan200                 unblocked  
                          vlan300                 unblocked   

     

    Kind Regards

    Michael



  • 4.  RE: Simple Trunking Question

    Posted 06-30-2009 06:27

    Do not forget "commit" before you go to step 3.

     

    Kind Regards

    Michael



  • 5.  RE: Simple Trunking Question

    Posted 01-13-2012 12:14

     

    show ethernet-switching interfaces detail | match Trunk

     

    Will give you a simple list of trunking ports

     

    ccb@BSMT-stack> show ethernet-switching interfaces detail | match Trunk
    Interface: ge-0/0/0.0, Index: 66, State: up, Port mode: Trunk
    Interface: ge-0/1/3.0, Index: 114, State: up, Port mode: Trunk
    Interface: ge-2/1/3.0, Index: 259, State: up, Port mode: Trunk
    Interface: ge-3/0/46.0, Index: 161, State: down, Port mode: Trunk

    {master:1}
    ccb@BSMT-stack>

     

    This vc has four trunking ports

     

    Then you could use show ethernet-switching interfaces detail <interface-name> to get more info

     



  • 6.  RE: Simple Trunking Question

    Posted 01-30-2012 14:37

    Hi,

     

    Slight variation on the answer above that gives you a little more info:

     

    > show ethernet-switching interfaces | except untagged

     

    [edit interfaces]
    root@switch# run show ethernet-switching interfaces | except untagged
    Interface    State  VLAN members        Tag   Tagging  Blocking
    ge-0/0/0.0    up     mgt-150                    150     tagged   unblocked
                                    tor-1751                    1751   tagged   unblocked
    ge-0/0/21.0  up     vlan100                     100     tagged   unblocked

     

    Hope it helps 🙂

     

    Ben.