Junos OS

Expand all | Collapse all

MX204 rate selectable ports

  • 1.  MX204 rate selectable ports

    Posted 06-27-2019 04:22

    We're planning on using our new MX204 as an edge router.

    I've got a question regarding the rate selectability of the PIC 0 ports.

     

    If you would use the port checker tool then, on port level, you are not allowed to configure all ports either at 10g or 1g, speed. The following error is displayed:

    Configuration status: 🚫
    Reason: Not enough MACs left on asic EA-0

    However, below does pass the 'commit check', only to show 'invalid port profile configuration' a few minutes later.

    2019-06-27 19:05:32 UTC Minor FPC 0 PIC 1 Invalid port profile configuration

    2019-06-27 19:05:29 UTC Minor FPC 0 PIC 0 Invalid port profile configuration

     

    oot# show chassis
    fpc 0 {
        pic 0 {
            port 0 {
                speed 10g;
            }
            port 1 {
                speed 10g;
            }
            port 2 {
                speed 10g;
            }
            port 3 {
                speed 10g;
            }
        }
        pic 1 {
            port 0 {
                speed 10g;
            }
            port 1 {
                speed 10g;
            }
            port 2 {
                speed 10g;
            }
            port 3 {
                speed 10g;
            }
            port 4 {
                speed 10g;
            }
            port 5 {
                speed 10g;
            }
            port 6 {
                speed 10g;
            }
            port 7 {
                speed 10g;
            }
        }
    }

    Configuring one of the PIC 0 ports as 100g, the alarm never comes back.

     

    Can anyone verify that, with one 100g port, I can configure the rest as either 10g or 1g?



  • 2.  RE: MX204 rate selectable ports

     
    Posted 06-27-2019 04:57

    Hi,

     

    If you check in the port checker tool, configuration status shows green when PIC level port profile is checked. From which I can understand that when you want to use all the ports at the same speed on both the PIC's, then operate the PIC's in PIC mode instead of port mode. Your configuration is in port mode with speed configured at every individual port.

     

    Read through "Configuring Rate Selectability on MX204 at PIC Level" for further understanding on how to configure them at PIC level. You might have restart the PIC's for the mode to rake effect.

     

    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/chassis-mx204-rate-select-configuring.html

     

    [edit chassis fpc 0 pic 0]
    user@host# show 
    pic-mode 10G;

     

    Hope this helps.

     

    Thanks,
    Pradeep
    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!! 



  • 3.  RE: MX204 rate selectable ports

    Posted 06-27-2019 05:11

    Yes, that's correct.

    I've read the docs and used the port checker.

    I guess I just wanted confirmation from the forum.

     

    See below screenshot. At least 1x 100g port and the checker is green.

     

    Screenshot 2019-06-27 at 14.09.28.png

     

    And below is what I wanted to achieve, but I guess that's not possible.

     

    Screenshot 2019-06-27 at 14.10.26.png

     



  • 4.  RE: MX204 rate selectable ports

     
    Posted 06-27-2019 06:19

    Hi,

     

    True, even if the device has the capacity, it is the with different modes. Only a mix of different speeds is allowed in port mode. At the same time, only same speeds are supported in PIC mode which is the default setting.

     

    Port checker is a good tool to play around with the combinations before having the configuration done.

     

    Thanks,
    Pradeep
    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!



  • 5.  RE: MX204 rate selectable ports

    Posted 06-28-2019 01:22

    Port-checker is indeed a good tool, and I really want to believe that 🙂

     

    However, the following does work as well:

     

    root# show chassis
    fpc 0 {
        pic 0 {
            pic-mode 10G;
        }
    }
    
    root# run show interfaces xe-0/0/1:2 extensive
    Physical interface: xe-0/0/1:2, Enabled, Physical link is Up
      Interface index: 146, SNMP ifIndex: 518, Generation: 374
      Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps,
      BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None,
      Loopback: None, Source filtering: Disabled, Flow control: Enabled,
      Speed Configuration: 1G
    
    root# run show interfaces xe-0/1/0
    Physical interface: xe-0/1/0, Enabled, Physical link is Up
      Interface index: 156, SNMP ifIndex: 530
      Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps,
      BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None,
      Loopback: None, Source filtering: Disabled, Flow control: Enabled,
      Speed Configuration: 1G
    
    oot# run ping 10.0.0.2
    PING 10.0.0.2 (10.0.0.2): 56 data bytes
    64 bytes from 10.0.0.2: icmp_seq=0 ttl=64 time=0.629 ms
    64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.534 ms
    64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.569 ms
    64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.593 ms
    ^C
    --- 10.0.0.2 ping statistics ---
    4 packets transmitted, 4 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.534/0.581/0.629/0.035 ms

    No invalid port profile configuration alarms:

     

    root> show chassis alarms
    3 alarms currently active
    Alarm time               Class  Description
    2019-06-28 14:26:07 UTC  Major  Host 0 fxp0 : Ethernet Link Down
    2019-06-28 14:25:08 UTC  Major  PEM 1 Not Powered
    2019-06-28 14:25:06 UTC  Major  Management Ethernet Links Down

    Can anyone confirm that this works ( I can 😛 ) and that it is valid and stable and safe to use?

     

    Software the MX204 is running on is 18.1R3-S3.

    "NOTE Starting in Junos OS Release 18.1R1, the 10-Gbps port can operate in 1-Gbps mode also using the speed (Gigabit Ethernet interface) configuration statement at Gigabit Ethernet interface level."

    But I thought it only applied to port mode, I guess not.