H3C S3100-52P Command Manual page 5

Ip address and performance configuration
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – IP Address and Performance Configuration
H3C S3100-52P Ethernet Switch
By default, a VLAN or loopback interface has no IP address.
Generally, it is enough to configure one IP address for an interface. However, you can
configure up to five IP addresses for an interface so that it can be connected to several
subnets. Among these IP addresses, one is the primary IP address and all the others
are secondary ones. The relationship between the primary address and the secondary
addresses is as follows:
When you configure a primary IP address for an interface which already has a
primary IP address, the new address will replace the old one.
If you execute the undo ip address command without any parameter, the switch
deletes both primary and secondary IP addresses of the interface. The undo ip
address ip-address { mask | mask-length } command is used to delete the primary
IP address. The undo ip address ip-address { mask | mask-length } sub
command is used to delete secondary IP addresses.
Note that a VLAN interface cannot be configured with a secondary IP address if the
interface has been configured to obtain an IP address through BOOTP or DHCP.
Related command: display ip interface.
Example
# Specify the IP address and subnet mask of VLAN-interface1 to 129.12.0.1 and
255.255.255.0 respectively.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] ip address 129.12.0.1 255.255.255.0
Chapter 1 IP Address Configuration
1-4
Commands

Advertisement

Table of Contents
loading

Table of Contents