[cmaster-next] link-params sub mode

Donald Sharp sharpd at cumulusnetworks.com
Wed Nov 30 08:09:44 EST 2016


Olivier -

We've noticed that link-params creates allot of config lines when you
configure any part of it.  Would you mind if I change the
behavior to this:

    When link-params is configured it auto starts displaying
    6000-02# conf t
    dell-s6000-02(config)# int swp1
    dell-s6000-02(config-if)# link-params
    dell-s6000-02(config-link-params)# admin-grp 0x12345678
    dell-s6000-02(config-link-params)# end
    dell-s6000-02# show run

    interface swp1
     link-params
      enable
      metric 0              <----Remove the metric and bw lines
      max-bw 1.25e+06
      max-rsv-bw 1.25e+06
      unrsv-bw 0 1.25e+06
      unrsv-bw 1 1.25e+06
      unrsv-bw 2 1.25e+06
      unrsv-bw 3 1.25e+06
      unrsv-bw 4 1.25e+06
      unrsv-bw 5 1.25e+06
      unrsv-bw 6 1.25e+06
      unrsv-bw 7 1.25e+06
      admin-grp 305419896
      exit-link-params
    !

    I'd like to reduce this to:

    interface swp1
     link-params
      enable
      admin-grp 0x12345678    <----- Fix this to be what we entered
      exit-link-params
    !

    Finally do we need to display the enable line as well?

donald




More information about the dev mailing list