YOYACHT OPTICSINDUSTRIAL CONNECTIVITY Request a Quote

Deleting gateway configuration on aggregation switch

To delete a gateway configuration on an aggregation switch, you need to remove the Layer 3 interface IP addresses, associated routes, and any related services such as DHCP or VRRP.

Steps to Delete Gateway Configuration

1. Access the Switch

  • Log in to the aggregation switch via console, SSH, or web management interface.
  • Enter system view or configuration mode depending on the switch model. 2. Remove Layer 3 Interface IP
  • Identify the VLAN or routed interface acting as the gateway.
  • Use the command to remove the IP address. For Huawei switches, this typically involves:

    CodeCopyinterface Vlan-interface undo ip address

  • This removes the gateway IP from the interface, effectively disabling routing for that subnet. 3. Delete Static Routes or Default Gateway
  • Check for any static routes pointing to the removed gateway.
  • Remove them using:

    CodeCopyundo ip route-static

  • If the switch is using a default route, remove it with:

    CodeCopyundo ip route-static 0.0.0.0 0.0.0.0

4. Remove DHCP or VRRP Configurations (if applicable)

  • If the aggregation switch is providing DHCP services for the subnet, disable or remove the DHCP pool.
  • For VRRP or HSB configurations, remove the virtual IP and associated group:

    CodeCopyundo vrrp vrid

  • This ensures no virtual gateway remains active. 5. Delete Eth-Trunk or Aggregated Interfaces (if gateway is tied to them)
  • If the gateway interface is part of an Eth-Trunk, remove member interfaces first:

    CodeCopyundo trunkport interface-type

  • Then delete the Eth-Trunk itself:

    CodeCopyundo interface eth-trunk

6. Verify Configuration

  • Use display ip interface brief or equivalent to confirm the IP address is removed.
  • Check routing table to ensure no residual routes exist.
  • Test connectivity to ensure no unintended network disruption. 7. Save Configuration
  • Commit changes to avoid losing them after a reboot:

    CodeCopysave

Best Practices

  • Backup configuration before making changes.
  • Plan downtime if the gateway is actively routing traffic.
  • Update dependent devices such as core switches or controllers to reflect the removal of the gateway.
  • Use separate VLANs for management and service traffic to avoid accidental disruption of critical services. By following these steps, you can safely remove gateway configurations from an aggregation switch while maintaining network stability .

Configuring MC-LAG in UniFi Network – Ubiquiti Help Center

Configuring MC-LAG in UniFi Network Multi-Chassis Link Aggregation Group (MC-LAG) enables redundancy and load balancing by

Port Aggregation Configurations

Port aggregation is useful for implementing load balancing and provides a redundant link backup. To allow port aggregation, the

Link Aggregation and Ethernet Bonding Feature Overview and

Introduction and overview This guide includes two sample configurations for Link Aggregation Control Protocol (LACP), or dynamic

Standalone AC Solution: Aggregation Switches Function as Gateways

In this example, aggregation switches set up stacks that function as gateways for wired and wireless users on the entire network and

Ubiquiti Networks UniFi Aggregation Switch USW-Aggregation

Comprehensive user manual for the Ubiquiti Networks UniFi Aggregation Switch USW-Aggregation, covering setup, operation,

Configuring Devices to Be Managed by the Controller (in the Hybrid

Configure the subnet for aggregation and access switches on the core switches. Enable the DHCP server function on the gateway

Route Aggregation on Border Routers and Transport Gateways

Information About Route Aggregation on Border Routers and Transport Gateways Route aggregation is a method for reducing the

Switch Stacks Create and Delete Configuration | Network as Code

Switch Stack Management Switch stack creation and deletion configuration in Meraki networks provides administrators with

Assigning the Switch IP Address and Default Gateway

Understanding the Boot Process To start your switch, you need to follow the procedures in the hardware installation guide for

Still Have a Technical Question?

Our team can help review your product selection.

Ask Our Team