Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brocade/Ruckus switches running router code discovery and control #1138

Open
jacobghattas opened this issue Dec 12, 2023 · 2 comments
Open
Assignees

Comments

@jacobghattas
Copy link

Expected Behavior

Ruckus switches (ICX8200) running a
Discover the Port Vlans correctly and display them and provide control for changing a vlan on a port.

Current Behavior

Similar to the described in Issue #856
Ruckus has 2 lines of OS to run on 7xxx switches, one for router code and the second for the switch code.
for the Switch code, everything is running perfectly.
for the router code, (Ruckus ICX-8200 switches running RDR10010a.bin), the situation is a bit complex:
The discovery of the switch doesn't show the vlans assigned to the ports.
unless I replace the Foundry.pm file with the one I attached here.
Foundry.zip
but then the change vlan on the port does not function.
Anyhow, if the port is not assigned to a vlan the vlan assignment works.
The port control function works on all versions, all foundry.pm files...

Possible Solution

Steps to Reproduce (for bugs)

1.Install a ruckus switch ICX8200-ZP2
2. Have one of the systems (netdisco 2.057005 or 2.071001)
3. change a vlan on a port which already has one.
Foundry.zip

Context

Not able to change vlans on ports on those kind of switches.

Your Environment

  • Netdisco version used: I have 2 running netdisco servers: 1 running 2.057005 and the second 2.071001.
  • SNMP::Info version used:

Config info (deployment.yml)

NETDISCO 2 CONFIGURATION FILE

Settings in this file override share/config.yml

https://github.com/netdisco/netdisco/wiki/Configuration has

in depth explanations about each setting.

------------------

ESSENTIAL SETTINGS

------------------

database:
name: 'netdisco'
user: 'netdisco'
pass: 'netdisco'
#host: 'localhost'

--------------------

RECOMMENDED SETTINGS

--------------------

Device authentication settings

define snmp communities and ssh credentials here

````````````````````````````````````````````````

device_auth:

  • tag: 'default_v2_readonly'
    community: 'public'
    read: true
    write: true

- tag: 'default_v2_for_write'

community: 'private'

read: false

write: true

community:

  • public
  • private

portctl_nowaps: true

will be stripped from fqdn when displayed in the web UI

also, do not forget the leading dot.

```````````````````````````````````````````````````````

#domain_suffix: ['.example.com']

when serving over HTTPS this should be uncommented (enabled)

````````````````````````````````````````````````````````````

#session_secure: true

¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸

SOME MORE INTERESTING SETTINGS WHERE THE DEFAULTS ARE PROBABLY OKAY

¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸.·´¯·.¸¸

discover Wireless Access Points, but not IP Phones

usually these are visible as device neighbors but don't support

SNMP, which just clogs up the job queue.

```````````````````````````````````````````````````````````````

discover_waps: true
discover_phones: false

#discover_waps: true
wap_platforms:

  • '(?i:\bwap\b)'
  • 'AP'
  • 'Antena'
  • 'Ruckus'
  • 'ruckus'
  • 'undef'

- ' '

wap_capabilities:

  • 'WLAN'
  • '(?i:\bwap\b)'
  • 'wlanAccessPoint'
  • 'Symbol'
  • 'Zebra'
  • 'Antena'
  • 'AP'
  • 'Router Switch'
  • 'Ruckus'
  • 'ruckus'
  • 'undef'

- ' '

# show VLAN names instead of VLAN numbers in Device Ports table.
# hide VLAN 1002-1005 in Device Ports (useful for older Cisco).
#sidebar_defaults:

device_ports:

p_vlan_names: { default: checked }

p_hide1002: { default: checked }

this is the schedule for automatically keeping netdisco up-to-date;

these are good defaults, so only uncomment if needing to change.

(or set "schedule: null" if you wish to disable the scheduler)

````````````````````````````````````````````````````````````````````

#schedule:

discoverall:

when: '5 7 * * *'

macwalk:

when:

min: 20

arpwalk:

when:

min: 50

nbtwalk:

when: '0 8,13,21 * * *'

expire:

when: '30 23 * * *'

makerancidconf: null

number of SNMP workers to run in parallel (in netdisco-backend).

the default is twice the number of CPU cores. increase this if

your system has few cores and the schedule is taking too long.

```````````````````````````````````````````````````````````````

workers:
tasks: 'AUTO * 20'

number of parallel DNS queries for node names

`````````````````````````````````````````````

#dns:

max_outstanding: 5000

set to true to globally disable authentication/login.

create a user called "guest" if you want to assign port/admin rights.

`````````````````````````````````````````````````````````````````````

#no_auth: false

set to false if you MUST maintain backwards compatibility

with Netdisco 1.x web frontend.

`````````````````````````````````````````````````````````

#safe_password_store: true
extra_web_plugins:

  • X::Observium
    plugin_observium:
    location: "http://10.x.x.26"
    open_in_same_window: false

Device information

SSH@CAMPUS977_rsw245_NETOPS>enable
No password has been assigned yet...
SSH@CAMPUS977_rsw245_NETOPS#sh ver
Copyright (c) Ruckus Networks, Inc. All rights reserved.
UNIT 1: compiled on Jul 24 2023 at 06:00:56 labeled as RDR10010a
(129627056 bytes) from Primary RDR10010a.bin (UFI)
SW: Version 10.0.10aT253
Compressed Primary Boot Code size = 2097664, Version:10.2.03T255 (rdu1023)
Compiled on Tue Apr 11 12:00:56 2023

HW: Stackable ICX8200-48ZP2-POE

UNIT 1: SL 1: ICX8200-48ZP2 POE 48-port Management Module
Serial #:FNN4337U059
Software Package: ICX8200_BASE_L3_SOFT_PACKAGE
Current License: 4X25G
P-ASIC 0: type 9823, rev 01 Chip 98DX3530

UNIT 1: SL 2: ICX8200-4x25G 4-port 100G Module

1500 MHz ARMv8.2 Cortex-A55 processor 857 MHz bus
8 MB boot flash memory
8 GB code flash memory
4 GB DRAM
STACKID 1 system uptime is 1 day(s) 12 minute(s) 56 second(s)
The system started at 15:06:40 GMT+00 Mon Dec 11 2023

The system : started=warm start reloaded=by "reload"

https://github.com/netdisco/netdisco/wiki/Snapshot#share-a-snapshot

@inphobia
Copy link
Member

i was under the impression that starting with 10.0 the layer 2 image was phased out and only the layer 3 image was still around.

have 4 ICX7850-48F & 4 8200's which i'm setting up, so will run into whatever issue you're seeing soon enough as well. once they're running i might have a look, but not really thrilled about the way their mib is distributed. vlan configs on icx's are ... interesting to say the least.

but first need to figure out how i can get mct to stop disabling spanning tree on it's vlans. they should replace our nexuses which run spanning tree just fine on vpc channels to connect to aruba JL659A's. i might just give up on the whole cluster thing and move to a stack setup instead....

@inphobia
Copy link
Member

netdisco/netdisco-mibs#214 for the latest mibs
netdisco/snmp-info#512 to make the new mibs work and a list of issues i've already encountered.

progresss on those issues will depend if we keep these devices. price, specs & supoort are great , but code quality, consistency & documentation a nightmare (i mean, what tests did you do if you have a bug in "ping 1.1.1.1 source 22.22.22.22" ? )

with the work you arldy did i might see if there are items that can be quickly resolved, but i don't have older devices to check for breakage. a fork of the code just for router images is also an option (and since this is the only option since 10 we might be able to drop a lot of workarounds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants