No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
remove port ipv4_route

remove port ipv4_route

Function

The remove port ipv4_route command is used to remove an IPv4 route configured for a port.

Format

remove port ipv4_route eth_port_id=? target_ip=? mask=? gateway=?

Parameters

Parameter

Description

Value

eth_port_id=?

ID of a port.

To obtain the value, run "show port general".

target_ip=?

Address of the IPv4 network segment where a host resides.

Example: 192.168.2.0.

mask=?

IPv4 subnet mask of a host.

-

gateway=?

IPv4 gateway address of a port.

-

Level

Administrator

Usage Guidelines

Before running this command, please guarantee that the port had the IPv4 route.

Example

To remove an IPv4 route configured for the port whose ID is "ENG0.A3.P0", where the target network segment address is "192.168.3.0", run the following command. The ID and output vary depending on a specific product.

admin:/>remove port ipv4_route eth_port_id=ENG0.A3.P0 target_ip=192.168.3.0 mask=255.255.255.0 gateway=192.168.0.1 
DANGER: You are going to remove the route of port. 
This operation will interrupt the connection between the storage system and host. 
Suggestion: Before you perform this operation, ensure that you have stopped the service on the route. 
Have you read danger alert message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n) 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 312454

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next