The method of S series switches to view the IP address of the interface

5

S series switches (except S1700) There are two ways to view the IP address of the specified interface:
- Run the "display ip interface brief [interface-type [interface-number]]" command in any view to check the IP configuration information of the interface.
- Run the "display this" command to check the IP address configured on the interface.

Other related questions:
The method of S series switches to modify interface IP
S series switches (except S1700) delete or modify the interface IP address as follows: - To delete an IP address of an interface, you can execute the command in interface-view:undo ip address[ip-address{mask|mask-length}]�?e.g.�?[HUAWEI] interface Vlanif 100 [HUAWEI-Vlanif100] display this # interface Vlanif100 ip address 10.1.1.1 255.255.255.0 # [HUAWEI-Vlanif100] undo ip address [HUAWEI-Vlanif100] display this # interface Vlanif100 # - To modify an IP address or mask of an interface, you can execute the command again in interface-view:ip address[ip-address{mask|mask-length}]�?e.g.�?[HUAWEI] interface Vlanif 100 [HUAWEI-Vlanif100] display this # interface Vlanif100 ip address 10.1.1.1 255.255.255.0 # [HUAWEI-Vlanif100] ip address 10.2.1.1 255.255.0.0 [HUAWEI-Vlanif100] display this # interface Vlanif100 ip address 10.2.1.1 255.255.0.0 #

Method to check IP addresses allocation on S series switches
For S series switches excluding the S1700, run the following commands as required to check IP addresses allocation: - If IP addresses are assigned based on the interface address pool, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If IP addresses are assigned based on the global address pool, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. Note: - Specify all to check allocation of all the IP addresses. - Specify conflict to check conflicting IP addresses. - Specify expired to check expired IP addresses that are in idle state. - Specify used to check used IP addresses. - Specify start-ip-address [ end-ip-address ] to check allocation of an IP address or some IP addresses.

How to display the source and destination addresses of forwarded packets on S series switches
For S series switches (except the S1700), no command is available to display the source or destination addresses of the forwarded packets. If you want to obtain the addresses, use a tool to capture packets.

How do I view the IP address of an interface on an S series switches
Use either of the following methods to display the interface IP address on an S series switches (except the S1700): - Run the display ip interface brief [ interface-type [ interface-number ] ] command in any view to check the interface IP address. - Run the display this command in the specified interface to check its IP address.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top