Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Feature Requests
  3. Драйвер для коммутаторов Quidway

Драйвер для коммутаторов Quidway

Scheduled Pinned Locked Moved Feature Requests
russian
4 Posts 2 Posters 18.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    E
    enp
    wrote on last edited by
    #1

    Можно ли написать драйвер для коммутаторов Quidway? Вывод:

    nxsnmpwalk -c public sw-1 .1.3.6.1
    

    прилагаю. Что приложить еще?


    quidway.dump.bz2

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Еще хорошо бы MIB файлы (или ссылку), чтобы мне самому не искать их.

      1 Reply Last reply
      0
      • E
        E
        enp
        wrote on last edited by
        #3

        Приложенные подходят


        huawei-3com-oid.mib

        huawei-lsw-dev-adm.mib

        huawei-splat-devm.mib

        1 Reply Last reply
        0
        • E
          E
          enp
          wrote on last edited by
          #4

          Еще лучше подходят приложенные:

          snmpwalk -c public 192.168.199.11 hwdot1qVlanPorts
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.1 = Hex-STRING: 04 00 00 0C 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.3 = Hex-STRING: 04 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.11 = Hex-STRING: C3 01 00 03 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.896 = Hex-STRING: 00 02 00 03 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.898 = Hex-STRING: 2C EE 1E 03 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.900 = Hex-STRING: 04 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.901 = Hex-STRING: 10 12 E1 03 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          HUAWEI-LswVLAN-MIB::hwdot1qVlanPorts.1458 = Hex-STRING: 04 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
          00 00 00 00
          

          Я не понял, как интерпретировать эти биты. В документации (ее я не могу приложить из-за ограничения на размер вложения) пишут:

          Port list that belongs to the VLAN. Each bit of hwdot1qVlanPorts represents a port within fabric-wide. In fabric, any port has an exclusive fabric-wide portId. So each bit can means only one fabric wide port. MAX_PORT_NUM_PER_UNIT (=52 for 3600) is a macro which help to distinguish the port of different unit. MAX_PORT_NUM_PER_UNIT indicates the max port number of a unit. So the exclusive fabric wide port acquired number from can be local-unit port number by this way portId (fabric wide) = (unitId-1)*MAX_PORT_NUM_PER_UNIT+portid (unit-wide). The range of unitId Portid(unit-wide) is [1..8] is [0..MAX_PORT_NUM_PER_UNIT-1] For example, the first port on unit 2 has a fabric-wide port id (2-1)*MAX_PORT_NUM_PER_UNIT + 0=64. So the 64th h3cdot1qVlanPorts bit of represents the first port on unit 2.


          huawei-lsw-inf.mib

          huawei-lsw-vlan.mib

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups