Netgear M4300 Switch Configuration: Complete Step-by-Step Guide

Build a safe, production-ready M4300 baseline from first access through management, VLANs, trunks, Layer 3 routing, resilient features, security and final verification.

Netgear M4300Initial SetupVLANsLayer 3Verification

Lesson overview

In This Lesson

Follow the workflow in order. Establish recoverable management access first, then add segmentation and routing, and finish with security, persistence and evidence-based checks.

  1. Plan the change and identify the management path
  2. Connect by console, service port or in-band management
  3. Reset safely and establish a secure baseline
  4. Configure the management identity and IP address
  5. Create VLANs, access ports and trunks
  6. Enable inter-VLAN routing
  7. Plan LAG, STP, QoS, monitoring and stacking
  8. Save and verify the production configuration
  9. Troubleshoot common access and forwarding failures

From access to production

Quick Learning Map

1

Reach and protect

Identify the correct management interface, create a unique password and preserve a recovery path.

2

Segment and route

Create only the VLANs and trunks the design needs, then add Layer 3 gateways deliberately.

3

Verify and save

Prove management, membership, trunks, routes and redundancy before writing the configuration.

M4300 Configuration at a Glance

The visual summarizes the end-to-end flow. Use the detailed sections below for current firmware notes and copyable commands.

Netgear M4300 workflow showing first access, factory reset, system configuration, VLAN roles, Layer 3 features and save-and-verify commands
The overall M4300 setup path. Firmware defaults can differ: current documentation distinguishes the OOB service port at 192.168.0.239/24 from in-band VLAN 1 at 169.254.100.100/16.

Before You Start: Record the Design and Recovery Path

Identify the exact model

Record the model, serial number, firmware release, installed modules, power supplies and whether the unit belongs to a stack. Features and port layouts vary across the M4300 family.

Prepare management access

Have a console cable and terminal available even if you intend to use the web UI. Record the management VLAN, IP, mask, gateway and permitted administrator subnet before changing anything.

Back up before changing

Export the current configuration and capture show version, show network, show running-config and stack status. Schedule a maintenance window for disruptive work.

Firmware note: examples use the M4300 12.x command family. Use context help (?) and the CLI manual matching your installed release before applying commands to production.

First Access: Console, OOB Service Port and VLAN 1

Console access — confirm the real management state

Connect at 115200 baud, 8 data bits, no parity and 1 stop bit. NETGEAR documentation for recovery procedures uses XON/XOFF flow control; confirm the setting for your console adapter and firmware.

User: admin
Password: [blank on current factory defaults]

(NETGEAR Switch) > enable
(NETGEAR Switch) # show network
(NETGEAR Switch) # show serviceport
(NETGEAR Switch) # show version

Why: show network identifies in-band management, while show serviceport identifies the dedicated OOB interface. Do not assume they share an address or subnet.

Web access — choose the interface you actually connected

OOB service port: if DHCP is unavailable, it falls back to 192.168.0.239/24. Give the PC an unused address such as 192.168.0.201/24.

In-band Ethernet port: VLAN 1 attempts DHCP, then falls back to 169.254.100.100/16. Give the PC an unused address such as 169.254.100.201/16.

Browse to the matching address. Current firmware uses user admin with a blank initial password and requires you to create a password immediately. Older firmware may behave differently.

ezconfig — guided initial addressing

Use the built-in setup utility when you want the switch to prompt for the management address, gateway and password rather than entering each setting manually.

(NETGEAR Switch) # ezconfig

Precaution: changing the management IP can immediately end the current browser or SSH session. Keep console access available and reconnect on the new subnet.

Factory Reset and Secure Baseline

Destructive operation: a factory reset erases the saved configuration. Back up first and disconnect production links when resetting a used switch.

Front-panel reset

With the switch powered on, hold the recessed Factory Defaults control for the documented interval until the status LEDs indicate reset, then allow the switch to reboot fully. Button behavior can vary by model.

Boot-menu recovery

If normal management is unavailable, NETGEAR documents an M4300 boot-menu procedure: interrupt boot from the console, select the erase-configuration option, then reboot. Use the official procedure for the installed model.

First-login security

Create a unique local administrator password, disable unused insecure services, prefer HTTPS and SSH, restrict management to an administrator subnet and synchronize time before relying on logs.

erase startup-config — erase the saved text configuration

(NETGEAR Switch) # erase startup-config
(NETGEAR Switch) # reload

Recovery planning: the command is irreversible unless you exported a backup. Keep physical or console access throughout the reboot.

Configure the Management Identity and Address

This example assigns the management interface 192.168.10.2/24 with gateway 192.168.10.1. Substitute addresses from your design.

network parms — set the management address

Format: network parms ipaddr netmask [gateway]. This syntax is documented for the M4300 management interface.

(NETGEAR Switch) # network parms 192.168.10.2 255.255.255.0 192.168.10.1
(NETGEAR Switch) # show network
(NETGEAR Switch) # write memory

Troubleshooting: reconnect from a host in the new subnet. If reachability is lost, confirm the physical management path, VLAN, mask and gateway from the console.

System identity and management services

Set a descriptive hostname, DNS resolvers, time zone, SNTP servers, HTTPS and SSH through the main UI or the matching firmware CLI. Record the administrator source subnet before applying a management ACL.

(NETGEAR Switch) # configure
(NETGEAR Switch) (Config) # hostname CORE-SW-01
(CORE-SW-01) (Config) # exit
(CORE-SW-01) # write memory
(CORE-SW-01) # show version
(CORE-SW-01) # show network

Best practice: use organization-controlled DNS and NTP servers, not public examples, and test a second administrator session before closing the console.

Create VLANs, Access Ports and a Trunk

The example uses Management VLAN 10, Users VLAN 20, Servers VLAN 30 and Voice VLAN 40. On a standalone M4300, ports normally use 1/0/x notation.

Create the VLANs

(CORE-SW-01) # vlan database
(CORE-SW-01) (Vlan) # vlan 10,20,30,40
(CORE-SW-01) (Vlan) # exit
(CORE-SW-01) # show vlan

Verification: confirm each VLAN exists before assigning ports. Add descriptive names in the main UI if the release-specific CLI naming syntax differs.

Configure access ports

Port 1/0/1 serves a user in VLAN 20; port 1/0/2 serves a server in VLAN 30.

(CORE-SW-01) # configure
(CORE-SW-01) (Config) # interface 1/0/1
(CORE-SW-01) (Interface 1/0/1) # switchport mode access
(CORE-SW-01) (Interface 1/0/1) # switchport access vlan 20
(CORE-SW-01) (Interface 1/0/1) # exit
(CORE-SW-01) (Config) # interface 1/0/2
(CORE-SW-01) (Interface 1/0/2) # switchport mode access
(CORE-SW-01) (Interface 1/0/2) # switchport access vlan 30
(CORE-SW-01) (Interface 1/0/2) # exit

Alternative general-port syntax: older configurations commonly use vlan participation include VLAN plus vlan pvid VLAN. Do not mix approaches without reviewing the existing port state.

Configure an uplink trunk

Port 1/0/24 carries VLANs 10, 20, 30 and 40. VLAN 10 is the native VLAN only if the device at the other end uses the same design.

(CORE-SW-01) (Config) # interface 1/0/24
(CORE-SW-01) (Interface 1/0/24) # switchport mode trunk
(CORE-SW-01) (Interface 1/0/24) # switchport trunk allowed vlan 10,20,30,40
(CORE-SW-01) (Interface 1/0/24) # switchport trunk native vlan 10
(CORE-SW-01) (Interface 1/0/24) # exit
(CORE-SW-01) (Config) # exit
(CORE-SW-01) # show vlan
(CORE-SW-01) # write memory

Precaution: native VLAN mismatches can leak or black-hole untagged traffic. Prefer explicit tagging where the connected platforms support it, and allow only required VLANs.

Enable Inter-VLAN Routing

Use the M4300 as the default gateway only when the network design intends the switch to route between segments. Add ACLs where policy must restrict east-west traffic.

Create routed VLAN interfaces

(CORE-SW-01) # vlan database
(CORE-SW-01) (Vlan) # vlan routing 20
(CORE-SW-01) (Vlan) # vlan routing 30
(CORE-SW-01) (Vlan) # exit
(CORE-SW-01) # configure
(CORE-SW-01) (Config) # ip routing
(CORE-SW-01) (Config) # interface vlan 20
(CORE-SW-01) (Interface vlan 20) # routing
(CORE-SW-01) (Interface vlan 20) # ip address 192.168.20.1 255.255.255.0
(CORE-SW-01) (Interface vlan 20) # exit
(CORE-SW-01) (Config) # interface vlan 30
(CORE-SW-01) (Interface vlan 30) # routing
(CORE-SW-01) (Interface vlan 30) # ip address 192.168.30.1 255.255.255.0
(CORE-SW-01) (Interface vlan 30) # exit

Client configuration: users in VLAN 20 use 192.168.20.1 as their gateway; servers in VLAN 30 use 192.168.30.1.

Verify Layer 3 forwarding

(CORE-SW-01) # show ip interface brief
(CORE-SW-01) # show ip route
(CORE-SW-01) # show arp
(CORE-SW-01) # ping 192.168.20.10
(CORE-SW-01) # ping 192.168.30.10

Troubleshooting: a VLAN interface normally needs at least one active member port before it becomes operational. Confirm VLAN membership, link state, addressing, client gateway and ACL direction.

Production Features: LAG, STP, QoS, Monitoring, Stacking and Security

Link aggregation

Bundle links only when both endpoints use matching speed, duplex, VLAN membership and LACP/static mode. Configure the logical LAG first, then verify member and partner state before moving traffic.

RSTP or MSTP

Choose the intended root bridge, protect edge ports with BPDU controls and never disable STP simply to clear a blocked link. Confirm topology after every trunk or LAG change.

QoS and voice

Classify trusted traffic at the edge, map DSCP/802.1p values to queues and avoid trusting markings from unmanaged devices. Validate with congestion and queue counters, not configuration alone.

SNMP and logging

Prefer SNMPv3, restrict manager addresses, send logs to a protected collector and synchronize time. Monitor link state, errors, temperature, power, stack state and configuration changes.

Stacking

Match firmware and supported stack hardware, cable the documented topology, set member identity and master preference deliberately, and verify redundancy before production traffic is introduced.

Management security

Use SSH/HTTPS, strong unique local credentials or centralized AAA, a dedicated management segment and ACLs. Disable Telnet and HTTP unless a controlled legacy requirement is documented.

Port numbering: M4300 stacks use unit/slot/port notation. A first-unit port can appear as 1/0/1; the same physical position on unit 2 appears as 2/0/1.

Save and Verify the Configuration

Do not treat a successful command as proof of a working network. Verify the data plane and management plane, then save and export evidence.

Save running configuration to startup configuration

(CORE-SW-01) # write memory

# Equivalent explicit form:
(CORE-SW-01) # copy system:running-config nvram:startup-config

Critical: unsaved changes are lost at reboot. Export a known-good backup after the verification checklist passes.

Run the final verification set

show version
show network
show serviceport
show interfaces status
show interfaces counters
show vlan
show ip interface brief
show ip route
show arp
show spanning-tree
show running-config
show startup-config

Evidence: capture the output, test management from an approved workstation, test an endpoint in each VLAN, confirm trunk reachability and perform a controlled reboot test during the maintenance window.

Troubleshooting Common M4300 Problems

SymptomLikely causeWhat to check
Web UI does not openWrong interface, subnet or DHCP assumptionIdentify OOB vs VLAN 1, check DHCP, show network, show serviceport and PC addressing.
Access port has no networkWrong VLAN/PVID or inactive linkCheck port state, access VLAN, VLAN existence, endpoint IP and gateway.
Trunk misses one VLANVLAN not allowed or native mismatchCompare both ends, allowed list, tagging and native VLAN.
VLANs cannot routeRouting disabled, SVI down or client gateway wrongCheck ip routing, VLAN routing, interface state, routes, ARP and ACLs.
LAG does not formMode, speed, VLAN or partner mismatchCompare both endpoints and inspect LACP/member state before adding traffic.
Configuration disappears after rebootRunning configuration was not savedUse write memory and compare running with startup configuration.
Stack member does not joinFirmware or stack-cable mismatchMatch firmware, validate supported cables/topology and inspect member/stack-port status.

Official NETGEAR References

Use the manual that matches the installed firmware and hardware model. Release notes take precedence where defaults or supported features have changed.

Netgear M4300 Configuration Frequently Asked Questions

What is the default IP address of a Netgear M4300?

The OOB service port falls back to 192.168.0.239/24. The in-band VLAN 1 interface falls back to 169.254.100.100/16 when DHCP is unavailable. Check the DHCP server and use show network/show serviceport to confirm the active address.

What are the default M4300 login credentials?

The administrator name is admin. On current firmware the initial password is blank and a new local password is required at first login. Older releases can differ, so follow the documentation for the installed firmware.

How do I save an M4300 configuration?

From privileged EXEC mode, use write memory or copy system:running-config nvram:startup-config. Then compare the running and startup configurations.

Why can I not reach the M4300 web interface?

Confirm whether you connected to the OOB service port or an in-band port, place the PC in the matching subnet, check DHCP leases and verify the management VLAN, gateway and access policy.

Does the M4300 support inter-VLAN routing?

Yes. Create the VLANs, enable VLAN routing, give each VLAN interface an IP address, enable global IP routing and use those interface addresses as client default gateways.

How are ports numbered on an M4300 stack?

M4300 interfaces use unit/slot/port notation. The first standalone-unit port is commonly 1/0/1; the same position on stack unit 2 is 2/0/1. Confirm numbering on the actual model.