[rancid] Rancid and Netgear switches

on at LEFerguson.com on at LEFerguson.com
Wed May 16 13:50:34 UTC 2018


> If you post a snippet of config, somebody might recognise what ODM makes the switches.

Sure, thanks.  The login is

User:
Password:

The not-enabled prompt is the model in parenthesis

(M4100-26G) >

The enable prompt (no password required, at least as we are set up):

(M4100-26G) #

A "terminal length 0" will disable paging or the prompt looks like " --More-- or (q)uit".

The config is exceptionally cisco-like, here's one redacted a bit: 

!Current Configuration:
!
!System Description "M4100-26G ProSafe 24-port Gigabit L2+ Intelligent Edge Managed Switch, 10.0.2.26, B1.0.1.1"
!System Software Version "10.0.2.26"
!System Up Time          "0 days 15 hrs 57 mins 20 secs"
!Additional Packages     QOS,IPv6 Management,Routing
!Current SNTP Synchronized Time: SNTP Client Mode Is Disabled
!
vlan database
vlan 150,153,158,161,163,169-172,192,300,2135,4080-4081
vlan name 150 "stuff"
vlan name 153 "more stuff"
....

no vlan routing 1
vlan routing 192 1
exit

network mgmt_vlan 192
configure
no sntp client mode
sntp server "192.168.1.129"
clock summer-time recurring USA offset 1
time-range
ip name server 192.168.0.1
no ip routing
ip default-gateway 192.168.1.129
username "admin" password stuff  level 15 encrypted
line console
serial timeout 15
exit

line telnet
exit

line ssh
exit

snmp-server sysname "something"
snmp-server location "somewhere"
!
snmp-server community "something"
snmp-server community ipaddr 192.168.1.143 something
snmp-server community ipmask 255.255.255.255 something
no snmp-server community public
no snmp-server community private

interface 0/1
description 'Local switch access'
switchport mode access
switchport access vlan 192
switchport trunk allowed vlan 192
vlan participation auto 1
vlan tagging 192
lldp notification
exit

interface 0/2
description 'something'
switchport mode access
switchport access vlan 192
switchport trunk allowed vlan 192
vlan participation auto 1
lldp notification
exit

interface 0/3
description 'something'
switchport mode access
switchport access vlan 192
switchport trunk allowed vlan 192
vlan participation auto 1
lldp notification
exit

.......


interface vlan 192
routing
ip address 192.168.1.210 255.255.255.128
exit

ip management vlan 192
exit



More information about the Rancid-discuss mailing list