EasyManuals Logo

H3C S3100 Series Command Manual

H3C S3100 Series
1244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
1-4
View
VLAN interface view, loopback interface view
Parameters
ip-address: IP address, in dotted decimal notation.
mask: Subnet mask, in dotted decimal notation.
mask-length: Subnet mask length, the number of consecutive ones in the mask. It is in the range of 0 to
32.
Description
Use the ip address command to specify an IP address and mask for a VLAN or loopback interface.
Use the undo ip address command to remove an IP address and mask of a VLAN or loopback
interface.
By default, no IP address is configured for VLAN or loopback interface.
z A newly specified IP address overwrites the previous one if there is any.
z The IP address of a VLAN interface must not be in the same network segment as that of a loopback
interface on a device.
Related commands: display ip interface.
Examples
# Assign the IP address 129.12.0.1 to VLAN interface 1 with subnet mask 255.255.255.0 (S3100-EI).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] ip address 129.12.0.1 255.255.255.0
# Assign the IP address 129.12.0.1 to VLAN interface 10 with subnet mask 255.255.255.0 (S3100-SI).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 10
[Sysname-vlan10] quit
[Sysname] management-vlan 10
[Sysname] interface Vlan-interface 10
[Sysname-Vlan-interface10] ip address 129.12.0.1 255.255.255.0

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals