
Procedure
l
Run the
display ip interface
[
brief
] [
interface-type
[
interface-number
] ] command to
check the IP configuration on the interface.
l
Run the
display interface
[
interface-type
[
interface-number
] ] command to check
interface information.
----End
1.4 Configuration Examples
This section provides several examples of IP address configuration.
1.4.1 Example for Setting Primary and Secondary IP Addresses
This section provides a configuration example of setting primary and secondary IP addresses.
Networking Requirements
, Ethernet 0/0/1 of the Switch is connected to a LAN, in which hosts
belong to two different network segments, that is 172.16.1.0/24 and 172.16.2.0/24. It is required
that the Switch can access the two network segments but the host in 172.16.1.0/24 cannot
interconnect with the host in 172.16.2.0/24.
Figure 1-1
Networking diagram for setting IP addresses
172.16.1.0/24
172.16.2.0/24
Switch
Ethernet 0/0/1
VLANIF 100
172.16.1.1/24
172.16.2.1/24 sub
Configuration Roadmap
The configuration roadmap is as follows:
1.
Analyze the address of the network segment to which each interface is connected.
2.
Set the secondary IP addresses for an interface.
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
1 IP Addresses Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5