Configuring SCALANCE XM408-8C: Initial IP Setup and WBM Access

David Krause21 min read
Industrial NetworkingSiemensTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview of the SCALANCE XM408-8C

The SCALANCE XM408-8C (Siemens order number 6GK5408-8GS00-2AM2) belongs to the SCALANCE XM-400 family of managed industrial Ethernet switches. Devices in this family are designed for installation in control cabinets on the plant floor and are characterized by:

  • Conformance with PROFINET and EtherNet/IP standards for industrial Ethernet.
  • Web-Based Management (WBM) and a command-line interface (CLI) as native management surfaces.
  • Support for layer 2 features (VLAN, IGMP snooping, QoS, redundancy protocols such as MRP/HRP) and, depending on firmware and licensing, layer 3 features (static routing).
  • Robustness for industrial environments, including extended temperature ranges and conformal coating variants.

Unlike unmanaged switches, the XM408-8C ships without a configured IP address. The factory default for the management interface is 0.0.0.0, which means that out of the box the device will not respond to IP-based management requests until an initial address has been assigned. This article is the field-tested procedure for that first-commissioning step and for reaching the WBM in a supported browser.

Documentation anchor: The reference chapter for the steps in this article is chapter 3.2 ("Initial assignment of an IP address") of the SCALANCE XM-400 configuration manual. Download it from the official Siemens product support page for 6GK5408-8GS00-2AM2.

Prerequisites

Before starting, verify that you have the following items available.

  • Engineering PC with Windows 10 or Windows 11, administrator rights, and a free Ethernet port. Disable any VPN client during commissioning because split-tunnel routing will break link-local discovery.
  • Patch cable (Cat 5e or higher, RJ45) to connect the PC directly to one of the switch's Ethernet ports. A crossover cable is not required; the XM408-8C has Auto-MDI/MDIX on every copper port.
  • Management IP plan with at least one free IPv4 address in the management subnet, subnet mask, and default gateway.
  • Browser compatible with the firmware load installed on the switch. Internet Explorer 11 is supported only on legacy firmware; recent firmware loads expect Edge (Chromium), Firefox ESR, or Chrome. JavaScript and cookies must be enabled, and the browser must trust the switch's self-signed certificate (or accept the security exception on first contact).
  • Optional tool: one of SINEC Proneta, TIA Portal, STEP 7 (Classic), or PST (Primary Setup Tool). Without one of these, the very first IP must come from DHCP or from the on-board CLI over the serial console.

Hardware Front-Panel Reference

Although the exact layout depends on the variant (e.g., fiber vs. copper port mix), the front panel of the XM408-8C family includes the following elements that you will reference during commissioning.

Element Purpose
Power connector (terminal block) 24 V DC redundant power feed; observe polarity per the printed label.
Fault/MAINT LED Indicates fault state, maintenance mode, or a factory-reset sequence.
Port LEDs (1 per port) Link/activity status; behavior differs for copper vs. SFP/combo ports.
Display panel (some variants) Rotary/push-button for on-device IP assignment without a PC.
Serial/USB console port Direct CLI access; pinout per the manual.
Recessed reset button Triggers factory-default restore when held during power-up.

Default Configuration

The XM408-8C ships with the following parameters. Verify against the manual for your specific firmware load, because Siemens has tightened several defaults over successive releases.

Parameter Factory Value Notes
Management IP address (VLAN 1) 0.0.0.0 Switch will not respond to ARP or ICMP until this is changed.
Subnet mask 0.0.0.0 Assigned automatically when an IP is set.
Default gateway 0.0.0.0 Optional, required only for off-subnet management.
DHCP client Enabled On most firmware loads the DHCP client is enabled by default on VLAN 1.
Default user admin Forces a password change on first login (firmware-dependent).
Default password admin Replace immediately on first successful login.
PROFINET device name empty Required for integration with a PROFINET controller.
Operating mode Layer 2 Layer 3 routing requires a separate license and configuration.
Telnet/SSH Telnet typically disabled on newer firmware; SSH enabled Verify against the version-specific operating instructions.
SNMP Disabled or read-only depending on firmware Configure before integrating with an NMS.

Restoring Factory Defaults

If a previous engineer has configured the device and the IP address or password is no longer known, restore the factory configuration before continuing. This step is destructive and clears the IP, all VLAN/ACL/QoS settings, certificates, and locally stored logs.

  1. Disconnect the switch from the production network. The reset will briefly flap every port and will cause the connected PROFINET controller (if any) to report station failure.
  2. Power off the switch.
  3. Press and hold the recessed reset button on the front panel. Keep it held.
  4. Re-apply power while continuing to hold the reset button.
  5. Hold the reset button for at least 10 seconds (some firmware loads require longer; verify against the manual). The MAINT LED will change pattern to indicate that the reset sequence has been recognized.
  6. Release the button. The switch reboots with factory defaults.
Caution: If the device was previously a PROFINET device behind a controller, the controller will not recover automatically. Either reconnect the device and re-assign the same PROFINET name, or remove the device from the controller's project tree.

Choosing an Initial IP Assignment Method

The XM408-8C supports five documented paths for the very first IP assignment. Pick the path that matches the tooling available on the engineering station.

Method Tools Required Best Fit
DHCP DHCP server on the network Plants with an existing DHCP infrastructure
TIA Portal / STEP 7 TIA Portal or STEP 7 (Classic) installed Brownfield plants where the engineering PC already has TIA
SINEC Proneta Proneta (free download from Siemens) Pre-commissioning without TIA Portal; recommended for first-time users
Primary Setup Tool (PST) PST (legacy tool, ships with older STEP 7) Service workstations with old STEP 7 installations
On-board CLI Serial cable and terminal emulator Out-of-band commissioning; scripting repeatable setup on many devices

Method 1 - DHCP

Correct DHCP configuration reduces the amount of maintenance required for IP networks and increases their robustness and performance. When the factory-default DHCP client is enabled, the XM408-8C will request an address automatically.

  1. Connect any Ethernet port of the switch to a network segment where a DHCP server is reachable.
  2. Power up the switch and wait 60-90 seconds for the DHCP DISCOVER/OFFER/REQUEST/ACK exchange to complete.
  3. Read the lease table on the DHCP server:
    • Windows DHCP server: PowerShell Get-DhcpServerv4Lease -ScopeId <scope>
    • SCALANCE layer-3 device: Information > DHCP > Leases
    • Linux/ISC DHCP: cat /var/lib/dhcp/dhcpd.leases
  4. Identify the lease associated with the switch's MAC address (printed on the front label).
  5. Note the assigned IPv4 address and subnet mask.
  6. Open a browser on the engineering PC and navigate to the assigned address.

For advanced deployments that include PROFINET device-name assignment via DHCP option 82, refer to the Siemens industry support knowledge base on the product page.

Method 2 - TIA Portal / STEP 7

This is the most common method in plants already running TIA Portal. STEP 7 (Classic) and TIA Portal share the same underlying PROFINET DCP mechanism, so the steps are nearly identical.

  1. Connect the engineering PC's Ethernet port to any port of the XM408-8C using a patch cable.
  2. Set the PC's IPv4 address to a free address in the same subnet you intend to use for the switch. For example, if you plan to assign 192.168.1.1/24 to the switch, set the PC to 192.168.1.100/24.
  3. Open TIA Portal and switch to the project view.
  4. In the Project tree, choose "Online > Accessible nodes" (German UI: "Online > Erreichbare Teilnehmer").
  5. TIA Portal broadcasts a PROFINET DCP discovery packet and lists every device it sees, including the XM408-8C. The entry shows MAC address, device type, and the current IP address (0.0.0.0 if the switch is at factory state).
  6. Select the XM408-8C entry and click "Assign PROFINET device name" or "Assign IP address" in the toolbar.
  7. Enter the IP address, subnet mask, and (optionally) the PROFINET device name.
  8. Confirm the dialog. TIA Portal writes the parameters to non-volatile memory and verifies the assignment.
Firewall note: "Accessible nodes" relies on PROFINET DCP over UDP port 34964. Windows Firewall blocks this port by default. Either allow pnioDcp.exe through the firewall or temporarily disable the firewall for the trusted engineering network. Without this exception, the scan returns an empty list and the device appears "missing".

Method 3 - SINEC Proneta

Proneta is the recommended path when TIA Portal is not available. It is a free-of-charge tool from Siemens for network analysis and pre-commissioning.

  1. Download Proneta from the official Siemens support site. Install it on the engineering PC.
  2. Connect the engineering PC directly to the XM408-8C with a patch cable.
  3. Set the PC IP to the same subnet you intend to use for the switch.
  4. Launch Proneta and switch to the "Network analysis" tab.
  5. Click "Start scan". The XM408-8C appears with its MAC address, device type, and current IP.
  6. Right-click the device and choose "Assign IP address". Enter the management IP and subnet mask.
  7. Optionally assign a PROFINET name in the same dialog if the switch will be integrated with a PROFINET controller.
  8. Click "Apply". Proneta confirms the assignment and shows a green status icon next to the device.

Proneta also performs basic cable diagnostics and reports port status, so it is well suited to verifying that the physical layer is healthy before commissioning the controller.

Method 4 - Primary Setup Tool (PST)

PST is the legacy tool that ships with older STEP 7 installations. It still supports the SCALANCE family and is a viable fallback if neither Proneta nor TIA Portal is installed.

  1. Launch PST and verify that the correct Ethernet adapter is selected under "Settings > Network adapter".
  2. Click "Network > Browse" or press F5. The XM408-8C appears in the device list as "Unconfigured" (or with its previously assigned IP).
  3. Select the entry and click "Configure".
  4. Enter the management IP, subnet mask, default gateway, and (optionally) PROFINET device name.
  5. Click "Assign" to write the configuration to the device.
  6. Wait for PST to confirm the transfer before disconnecting.

Method 5 - On-board CLI (Serial Console)

The CLI is the only path that does not require IP connectivity to the switch. It is used for out-of-band commissioning and for scripted batch setup.

  1. Identify the console port on the front panel. Depending on variant, this is an RJ-232 jack or a USB-C port. Use the matching cable (Siemens offers both as accessories).
  2. Connect the cable to the engineering PC. On modern PCs without a serial port, use a USB-to-RS232 adapter or the USB-C variant directly.
  3. Open a terminal emulator (PuTTY, Tera Term, or the Siemens PUTTY bundle) at 115200 baud, 8 data bits, no parity, 1 stop bit (8N1). Flow control off.
  4. Power up the switch and press <Enter> within the first 5 seconds to enter the CLI prompt.
  5. Log in with the default credentials (admin/admin on legacy firmware; on newer firmware the first login forces a password change).
  6. Enter the configuration context and assign the IP:
    enable
    configure terminal
    interface vlan 1
    ip address 192.168.1.1 255.255.255.0
    exit
    ip default-gateway 192.168.1.254
    end
    write memory
    
  7. Confirm with show ip interface brief. The output should list VLAN 1 with the new address and mask.
  8. Type exit to leave the CLI.
Save before disconnect: Always run write memory (or use WBM's "Save Configuration" button) before disconnecting power. The XM408-8C keeps the running configuration in RAM; without an explicit save, the change is lost at the next reboot.

Common CLI Commands Reference

The following commands cover the most common commissioning tasks once you have CLI access. Always cross-check against the version-specific command reference in the manual.

Task Command
Show running configuration show running-config
Show startup configuration show startup-config
Save running config to startup write memory or copy running-config startup-config
Show IP interfaces show ip interface brief
Show VLANs show vlan brief
Show port status show interfaces status
Show MAC table show mac-address-table
Show ARP table show arp
Show PROFINET diagnostics show profinet
Reboot device reload
Factory reset restore factory-defaults (confirmation prompt)

Reaching WBM in a Browser

Once the switch has a valid IP address and the engineering PC is on the same subnet, open a browser and enter:

https://<IP-address-of-XM408-8C>

WBM is served over HTTPS on TCP port 443 by default. On recent firmware versions plain HTTP is disabled; trying to reach the switch on port 80 returns a redirect to HTTPS or simply does not respond.

Browser Compatibility Matrix

Browser Legacy Firmware Recent Firmware (V2.x+)
Microsoft Edge (Chromium) Supported Recommended
Mozilla Firefox ESR Supported Supported
Google Chrome Supported Supported
Internet Explorer 11 Supported (some pages need ActiveX) Limited or not supported
Microsoft Edge (legacy) Supported Not recommended

Diagnosing the "Siemens Page" Symptom in Internet Explorer

When the HTTPS handshake to the XM408-8C fails for any reason, Internet Explorer often displays a generic Siemens landing or error page instead of the WBM login. The most common root causes are listed below.

Symptom Likely Root Cause Resolution
"We could not connect to the device" page PC and switch are on different subnets, or HTTPS is blocked by a firewall Set PC IP to the same /24 as the switch; allow TCP 443 in the firewall
"Certificate error" page The switch presents a self-signed certificate that the browser does not trust Click "Continue to this website (not recommended)" or import the certificate into the trusted CA store
Blank page, no progress A corporate proxy intercepts local addresses Add the switch IP to the proxy bypass list, or disable proxy for local addresses
Browser auto-redirects to siemens.com The hostname (not the IP) was typed and DNS resolved to a Siemens-owned domain Always enter the numeric IP, never a hostname, during commissioning
"Site not secure" but no WBM TLS 1.0/1.1 disabled by newer firmware but enabled in the browser Enable TLS 1.2 in Internet Options > Advanced; better, switch to Edge
Recommendation: Internet Explorer 11 reached end of life in mid-2022. If WBM does not load in IE, switch to Microsoft Edge (Chromium), Firefox ESR, or Chrome. The WBM is HTML5 and works in all of them without ActiveX.

Step-by-Step WBM First-Login Configuration

After successful login to WBM, perform the following configuration steps. The exact menu labels depend on the firmware load; the structure below matches current SCALANCE XM-400 firmware.

  1. Change the default password. The first login enforces a complexity policy. Use a password that meets the plant's credential policy and store it in the password vault.
  2. Set identifying fields. Navigate to "System > Configuration". Enter hostname, location, and contact. These populate SNMP sysName, sysLocation, and sysContact and make the device identifiable in the NMS.
  3. Configure time synchronization. Go to "System > Time > NTP". Configure at least two internal NTP sources and the correct UTC offset. Without accurate time, certificates and audit logs become unreliable.
  4. Configure the management VLAN. Under "Layer 2 > VLAN", verify VLAN 1 carries the management IP. If your plant uses a dedicated management VLAN (recommended), create it, move the management IP to the new SVI, and remove VLAN 1 from all ports.
  5. Configure user accounts. Under "Security > User Accounts", create named accounts for each operator. Disable the default admin account for daily use and store the admin password in a sealed envelope in the cabinet.
  6. Configure SNMP. Under "System > SNMP", set the read and write community strings (or better, configure SNMPv3 with authentication and privacy) and add the NMS IP.
  7. Configure redundancy. If the switch participates in an MRP ring, navigate to "Layer 2 > Redundancy > MRP" and assign the correct ring role (Manager or Client) and ring ports.
  8. Save the configuration. Click the disk icon or navigate to "System > Save Configuration". The change is written to non-volatile memory. A reboot is not required for the change to take effect.

PROFINET Integration

If the XM408-8C will be used as a PROFINET device (for example, to be monitored by a PROFINET controller), additional steps are required.

  1. Assign a PROFINET device name through TIA Portal, Proneta, or WBM (System > PROFINET). The name must match the controller's project.
  2. Export the GSDML file from the device (WBM: System > PROFINET > Export GSDML) and import it into the TIA Portal project if it is not already available.
  3. Drag the device into the PROFINET topology in TIA Portal and connect the ports.
  4. Compile and download the hardware configuration. The controller will establish a PROFINET AR (Application Relationship) to the switch and report diagnostics through the standard PROFINET alarm model.

Layer 3 Features (License-Dependent)

On XM-400 devices with a Layer 3 license, static routing can be configured to interconnect VLANs without an external router. Use the following WBM paths as a starting point, and verify the exact menu structure against your firmware load.

  • Layer 3 > Static Routes: define a destination network, subnet mask, and next-hop IP.
  • Layer 3 > Interfaces: assign an IP address to a VLAN SVI (router-on-a-stick topology).
  • Layer 3 > DHCP Relay: forward DHCP requests from clients to a centralized DHCP server across subnet boundaries.
Dynamic routing: OSPF, BGP, and other dynamic routing protocols require the appropriate KEY-PLUG or license file. Without it, the WBM hides the corresponding menu entries.

Network Redundancy Protocols

Industrial plants typically require sub-500 ms recovery from a single link failure. The XM408-8C supports the following protocols; select based on the existing topology.

Protocol Topology Typical Recovery Time Notes
MRP (Media Redundancy Protocol) Ring < 500 ms PROFINET-standard ring; one Manager, multiple Clients.
HRP (High-availability Redundancy Protocol) Ring < 300 ms Siemens-proprietary ring; faster than MRP.
Spanning Tree (RSTP / MSTP) Any with loops Seconds (RSTP: < 2 s) Use when interoperability with non-Siemens switches is required.
Passive Listening Ring with RSTP islands -- Allows RSTP devices to coexist inside an MRP ring.
Field tip: Mixing MRP and RSTP in the same ring without passive listening will cause broadcast storms. Always plan the redundancy protocol before adding the second switch to the ring.

QoS and Traffic Prioritization

PROFINET real-time traffic must take precedence over FTP, HTTP, and other best-effort traffic to meet cycle-time guarantees. Configure QoS on the XM408-8C as follows.

  1. Open "Layer 2 > QoS > Trust Mode" and select the appropriate trust boundary (typically "DSCP").
  2. Map DSCP values to the four egress queues:
    • Queue 7 (highest): PROFINET RT class 3 / DSCP CS7 (EF)
    • Queue 6: PROFINET RT class 2 / DSCP AF46
    • Queue 5: Voice / DSCP EF
    • Queue 0 (lowest): Best-effort / DSCP BE
  3. Apply the queue mapping to every switch port in the production VLAN.
  4. Verify in WBM under "Information > QoS > Statistics" that real-time traffic is using the high-priority queues.

Port Configuration Best Practices

  • Access ports: assign a single VLAN as untagged; disable Spanning Tree on access ports that connect to single end devices (or enable BPDU guard).
  • Trunk ports: tag all VLANs that need to traverse the link; configure the native VLAN to an unused VLAN ID rather than VLAN 1.
  • Uplink ports: configure at line speed; disable Energy Efficient Ethernet (EEE) if jitter-sensitive traffic traverses the port.
  • Unused ports: shut them down and assign them to a blackhole VLAN with no SVI. This prevents rogue devices from gaining network access.

Verification

After every change, perform the following checks before handing the switch over to operations.

  • Layer 2: ping <switch-IP> from the engineering PC returns <1 ms on a directly connected port. The WBM shows a green link indicator on every connected port.
  • Layer 3: (if applicable) traceroute from the switch to a known off-subnet destination traverses the configured default gateway without loss.
  • PROFINET: (if applicable) The controller transitions from "Station failure" to "Station OK" and the switch's PROFINET diagnostics are visible in TIA Portal's "Online > Diagnostics".
  • WBM: Force-reload (Ctrl+F5) the WBM URL to confirm that the latest parameters are persisted.
  • Backup: Export the running configuration through WBM (System > Backup). Save the file with a clear naming convention, e.g., XM408-8C_V2.4.0_2024-05-12.cfg, and archive it in the plant's network documentation system.
  • Firmware: Confirm that the running firmware matches the approved version for the plant. Note the version under "Information > Start Page".

Configuration Backup and Restore

The XM408-8C supports multiple ways to back up and restore the configuration. Use them as part of every change-management cycle.

Method Backup Procedure Restore Procedure
WBM System > Backup > Save to local PC System > Backup > Load from PC
CLI copy running-config tftp://<server>/<file> copy tftp://<server>/<file> running-config
TIA Portal Right-click device > "Backup configuration" Right-click device > "Restore configuration"
Proneta Export device configuration to CSV Re-import through Proneta's setup dialog
Security: The exported configuration file contains sensitive information such as community strings and hashed passwords. Store it encrypted, restrict access to the engineering team, and never email it in clear text.

Firmware Management

Firmware updates on managed industrial switches are sensitive operations. Apply them only during planned maintenance windows and follow this sequence.

  1. Export a configuration backup before the update.
  2. Download the target firmware image from the official Siemens product support page for 6GK5408-8GS00-2AM2. Verify the file checksum against the value published by Siemens.
  3. In WBM, navigate to "System > Firmware". Upload the new firmware image.
  4. Activate the firmware and reboot the switch.
  5. After reboot, verify the running version under "Information > Start Page".
  6. Restore the configuration if the firmware update wiped it. (Most XM-400 firmware updates preserve configuration, but always verify.)
Always check release notes: Major firmware versions can introduce behavior changes in PROFINET, SNMP, and ACL processing. Read the firmware release notes before applying any update in a production plant.

Security Hardening Checklist

Beyond changing the default password, the following hardening steps should be applied to every XM408-8C before it goes into production.

  • Disable unused services: Telnet, HTTP, SNMPv1/v2c, FTP, TFTP.
  • Use SNMPv3 with authentication and privacy instead of community strings.
  • Restrict management access (WBM, SSH, SNMP) to a dedicated management VLAN or to specific source IPs through an ACL.
  • Enable syslog forwarding to a central log server and configure the switch to log authentication, configuration changes, and link state changes.
  • Replace the self-signed HTTPS certificate with one issued by the plant's internal CA, or import a CA-signed certificate so browsers do not show certificate errors.
  • Configure port security on access ports to prevent unauthorized devices from being plugged in.
  • Enable BPDU guard and root guard on access ports to protect spanning-tree topology.

Comprehensive Troubleshooting Matrix

Symptom Likely Cause First Action
WBM unreachable, ping fails PC and switch in different subnets Set PC IP to same /24 as switch
WBM unreachable, ping OK HTTPS blocked or browser proxy intercepting Bypass proxy for local addresses; try direct HTTPS
Login fails repeatedly Password changed by previous engineer Factory reset via front-panel button
Browser shows generic Siemens page TLS handshake failure or wrong URL Use numeric IP, accept cert, switch to Edge
TIA Portal "Accessible nodes" empty Firewall blocking UDP 34964 Allow pnioDcp.exe in firewall
Proneta does not see device Different VLAN or wrong PC IP Set PC IP, reconnect cable
CLI does not respond on serial Wrong baud rate or pinout Try 115200/8N1, then 9600/8N1
Configuration changes lost after reboot "Save Configuration" not executed Click Save in WBM or write memory in CLI
PROFINET controller reports station failure Device name mismatch Re-assign PROFINET name to match project
Loop detected, MAINT LED lit Spanning tree or MRP not configured Enable STP/MRP, remove loop, or shut redundant port
MAINT LED solid red after firmware update Configuration incompatibility Re-import saved configuration; reset to factory if needed
Slow WBM response Switch under high CPU load from diagnostics Check "Information > System Load"; disable unused features
DHCP client does not obtain an address DHCP server on different VLAN or scope exhausted Verify scope and VLAN; connect switch to DHCP scope
Telnet works but SSH is rejected SSH not yet enabled or host key not trusted Enable SSH in WBM and re-import host key

FAQ

What is the default IP address of the SCALANCE XM408-8C?

The factory default IP address is 0.0.0.0 (no IP assigned). The switch will not respond to any IP-based management request until an initial address has been assigned via DHCP, TIA Portal, Proneta, PST, or the serial CLI.

Do I need TIA Portal to configure the SCALANCE XM408-8C?

No. After the very first IP is assigned, the switch can be configured entirely through the Web-Based Management (WBM) interface or the CLI. TIA Portal, STEP 7, Proneta, or PST is only required for the initial IP assignment if no DHCP server is reachable.

Why does Internet Explorer show a generic Siemens page instead of the WBM login?

This typically happens when the HTTPS connection fails due to a self-signed certificate, a TLS version mismatch, or because the PC and switch are on different subnets. Enter the numeric IP address (not a hostname), confirm TLS 1.2 is enabled, and verify the PC IP is in the same subnet as the switch. Switch to Edge, Firefox, or Chrome for a more reliable experience.

How do I reset the SCALANCE XM408-8C to factory defaults?

Power-cycle the switch while holding the recessed reset button on the front panel for at least 10 seconds until the MAINT LED indicates a reset. Release the button and wait for the device to reboot. This clears all IP, VLAN, and security settings.

Which Siemens tools can assign the first IP without TIA Portal?

SINEC Proneta (recommended for pre-commissioning), the legacy Primary Setup Tool (PST), or the on-board CLI over the serial console. If the network has a DHCP server, simply connecting the switch is sufficient because the DHCP client is enabled by default in the factory state.

Back to blog