Menu

Juniper EX4300 support

Help
Stefan
2014-02-12
2014-04-09
  • Stefan

    Stefan - 2014-02-12

    Hi,

    we are successfully operating a bunch of Juniper EX switches with NetDB, but the new EX4300 provides complete different output of the "show Ethernet-switching" commands and probably other commands being used by NetDB to get the required information as well, as for example the EX4200 model provides.

    VLANs are displayed by names and not by VLAN-id:

    $ show ethernet-switching table

    MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
    SE - statistics enabled, NM - non configured MAC, R - remote PE MAC)

    Ethernet switching table : 46 entries, 46 learned
    Routing instance : default-switch
    Vlan MAC MAC Age Logical
    name address flags interface
    asa-core-xfer b8:38:61:7c:74:8e D - ge-1/0/0.0
    asa-core-xfer b8:38:61:7c:74:8f D - ge-1/0/0.0
    asa-core-xfer b8:38:61:7c:75:69 D - ge-0/0/0.0
    asa-core-xfer b8:38:61:7c:75:6a D - ge-0/0/0.0

    MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
    SE - statistics enabled, NM - non configured MAC, R - remote PE MAC)

    Ethernet switching table : 46 entries, 46 learned
    Routing instance : default-switch
    Vlan MAC MAC Age Logical
    name address flags interface
    install f8:bc:12:30:bb:48 D - ge-1/0/13.0
    install f8:bc:12:30:cd:48 D - ge-1/0/9.0
    install f8:bc:12:30:dd:48 D - ge-1/0/8.0
    install f8:bc:12:30:dd:68 D - ge-0/0/13.0
    install f8:bc:12:30:dd:b8 D - ge-0/0/10.0
    install f8:bc:12:31:01:f8 D - ge-0/0/11.0
    install f8:bc:12:31:02:08 D - ge-1/0/12.0
    install f8:bc:12:31:05:18 D - ge-1/0/10.0
    MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
    SE - statistics enabled, NM - non configured MAC, R - remote PE MAC)

    Ethernet switching table : 46 entries, 46 learned
    Routing instance : default-switch
    Vlan MAC MAC Age Logical
    name address flags interface
    mgmt 00:10:86:62:1b:4e D - ge-0/0/32.0
    mgmt 00:1d:09:fc:b0:90 D - ge-1/0/24.0
    mgmt 00:23:ae:eb:ff:b2 D - ge-0/0/24.0
    mgmt 00:23:ae:ec:0b:f8 D - ge-1/0/24.0
    mgmt 00:23:ae:ec:0c:18 D - ge-0/0/24.0
    mgmt 00:23:ae:ff:87:02 D - ge-1/0/24.0
    mgmt 00:23:ae:ff:87:34 D - ge-1/0/24.0
    mgmt 00:23:ae:ff:87:8a D - ge-1/0/24.0
    mgmt 00:23:ae:ff:87:8e D - ge-0/0/24.0
    mgmt 00:23:ae:ff:87:a6 D - ge-1/0/24.0
    mgmt 00:27:f8:d3:af:c0 D - ge-1/0/32.0
    mgmt 00:a0:98:54:fe:98 D - ge-1/0/29.0
    mgmt 00:a0:98:54:fe:9a D - ge-1/0/29.0
    mgmt 00:a0:98:55:07:c2 D - ge-0/0/29.0
    mgmt 00:a0:98:54:fe:9a D - ge-1/0/29.0
    mgmt 00:a0:98:55:07:c2 D - ge-0/0/29.0
    mgmt 00:a0:98:55:07:c4 D - ge-0/0/29.0
    mgmt 0c:27:24:d6:07:9d D - ge-1/0/24.0
    mgmt 0c:27:24:d6:08:1d D - ge-0/0/24.0
    mgmt f0:1f:af:e1:e6:e7 D - ge-1/0/24.0
    mgmt f0:1f:af:e1:e7:39 D - ge-0/0/24.0

    MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
    SE - statistics enabled, NM - non configured MAC, R - remote PE MAC)

    Ethernet switching table : 46 entries, 46 learned
    Routing instance : default-switch
    Vlan MAC MAC Age Logical
    name address flags interface
    v-fs 00:0a:f7:3c:e3:50 D - ae11.0
    v-fs 00:0a:f7:3d:03:10 D - ae11.0
    v-fs 00:0a:f7:3d:09:50 D - ae11.0
    v-fs 00:0a:f7:3d:0e:40 D - ae10.0

    MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
    SE - statistics enabled, NM - non configured MAC, R - remote PE MAC)

    Ethernet switching table : 46 entries, 46 learned
    Routing instance : default-switch
    Vlan MAC MAC Age Logical
    name address flags interface
    unix-server 02:a0:98:54:fe:94 D - ae13.0
    unix-server 02:a0:98:55:07:be D - ae12.0
    unix-server 90:e2:ba:55:e1:cc D - ae12.0
    unix-server 90:e2:ba:55:e1:cd D - ae12.0
    unix-server 90:e2:ba:55:e6:1c D - ae13.0
    unix-server 90:e2:ba:55:e6:1d D - ae13.0
    unix-server c8:1f:66:b7:3f:77 D - ge-0/0/2.0
    unix-server c8:1f:66:b7:68:ab D - ge-1/0/6.0
    unix-server c8:1f:66:b7:7e:85 D - ge-1/0/2.0

    $ show ethernet-switching interface

    Routing Instance Name : default-switch
    Logical Interface flags (DL - disable learning, AD - packet action drop,
    LH - MAC limit hit, DN - interface down )
    Logical Vlan TAG MAC STP Logical Tagging
    interface members limit state interface flags
    ae10.0 65535 tagged
    default 1 65535 Forwarding tagged
    unix-server 15 65535 Forwarding tagged
    v-fs 40 65535 Forwarding tagged
    db-prod 75 65535 Forwarding tagged
    db-simu 76 65535 Forwarding tagged
    mgmt 110 65535 Forwarding tagged
    install 112 65535 Forwarding tagged
    asa-state 120 65535 Forwarding tagged
    asa-failover 121 65535 Forwarding tagged
    asa-core-xfer 212 65535 Forwarding tagged
    cp-core-xfer 213 65535 Forwarding tagged
    RSPAN 999 65535 Forwarding tagged
    Routing Instance Name : default-switch
    Logical Interface flags (DL - disable learning, AD - packet action drop,
    LH - MAC limit hit, DN - interface down )
    Logical Vlan TAG MAC STP Logical Tagging
    interface members limit state interface flags
    ae12.0 65535 untagged
    unix-server 15 65535 Forwarding untagged
    Routing Instance Name : default-switch
    Logical Interface flags (DL - disable learning, AD - packet action drop,
    LH - MAC limit hit, DN - interface down )
    Logical Vlan TAG MAC STP Logical Tagging
    interface members limit state interface flags
    ae13.0 65535 untagged
    unix-server 15 65535 Forwarding untagged
    Routing Instance Name : default-switch
    Logical Interface flags (DL - disable learning, AD - packet action drop,
    LH - MAC limit hit, DN - interface down )
    Logical Vlan TAG MAC STP Logical Tagging
    interface members limit state interface flags
    ge-0/0/1.0 65535 untagged
    cp-core-xfer 213 65535 Discarding untagged

    ...

    Will it be possible to support this switch model as well in the near future?
    I would be of any assistance with providing output and testing.

    Kind regards,

    Stefan

     
  • aterribleloss

    aterribleloss - 2014-02-13

    Can you put that output in a text file, or email it to me directly. This way the formatting is preserved and I can see about adapting the current scraper.

    Thanks

     
  • Stefan

    Stefan - 2014-02-14

    I have attached the file with the Output of the two commands.

    Stefan

     
  • aterribleloss

    aterribleloss - 2014-02-26

    Right now, the issue I am running into is that instead of displaying the VLAN numberings, it displays their name. Further down I see it displays their name in the interface commands, but not for the MAC table command. Currently NetDB only takes either the number of the VLAN or something like V3101.
    I will see what I can do about the interface portion of the scraper, however given it is on multiple lines it may get messy. I also need the output(in a file) of the command: show interfaces descriptions | no-more

    Thanks

     
  • Stefan

    Stefan - 2014-03-04

    I have attached two files - the output of "show interfaces descriptions | no-more"
    and "show vlans brief | no-more".

    Please let me know, if you need more information or command output. I could try to find
    another command if it would be more helpful.

    Thanks,

    Stefan

     
  • Stefan

    Stefan - 2014-03-04

    here the 2nd command's output

     
  • Stefan

    Stefan - 2014-04-09

    Do you think, it will be possible to support this format in a future release? This "new" format is being used in all
    ELS (Enhanced Layer2 Services) based devices such as EX4300/EX9200 and possible also QFX5100 or MX.

     

Log in to post a comment.