Ip Address - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Before creating a management VLAN interface, make sure the VLAN identified by the vlan-id argument
is created and is configured as the management VLAN.
Note that:
To create the VLAN interface for the management VLAN on a switch operating as the management
device in a cluster, make sure the ID of the management VLAN is consistent with that of the cluster
management VLAN, that is, the vlan-id argument in the management-vlan vlan-id command when you
configure the cluster management VLAN. Otherwise, the configuration fails.
Example
# Create VLAN 10 and configure it as the management VLAN. Create VLAN 10 interface and enter
VLAN 10 interface view.
<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

Syntax
ip address ip-address mask
undo ip address [ ip-address mask ]
View
VLAN interface view
Parameter
ip-address: IP address to be assigned to the management VLAN interface.
mask: Mask of the IP address to be assigned to the management VLAN interface. The mask can be in
dotted decimal notation or an integer in the range of 0 to 32.
Description
Use the ip address command to assign an IP address with the mask to a management VLAN interface.
Use the undo ip address command to remove the IP address assigned to a management VLAN
interface.
Related command: display interface Vlan-interface.
Example
# Assign the IP address 192.168.0.51 (with the mask 255.255.255.0) to the management VLAN
interface. (Assume that VLAN 1 is the management VLAN.)
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
1-14

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents