Step 6
Run:
ip address
ip-address
{
mask
|
mask-length
} [
sub
]
The IP address of the VLANIF interface is configured.
After assigning an IP address to the VLANIF interface, you can run the stelnet command to log
in to a management industrial switch router to manage attached devices.
----End
Checking the Configuration
l
Run the
display vlan
command to check information about the mVLAN. The command
output shows information about the mVLAN in the line started with an asterisk sign (*).
3.7 Configuration Examples
This section provides several configuration examples of VLANs including networking
requirements, configuration roadmap, and configuration procedure.
3.7.1 Example for Configuring Interface-based VLAN Assignment
Networking Requirements
An enterprise requires departments in charge of the same service to communicate with each
other while isolating departments in charge of different services.
, an enterprise has four departments. Department 1 is connected to
RouterA, which is connected to Ethernet 2/0/1 of the Router. Department 2 is connected to
RouterB, which is connected to Ethernet 2/0/2 of the Router. Department 3 is connected to
RouterC, which is connected to Ethernet 2/0/3 of the Router. Department 4 is connected to
RouterD, which is connected to Ethernet 2/0/4 of the Router. The requirements are as follows:
l
Department 1 and Department 2 in VLAN 2 are isolated from Department 3 and Department
4 in VLAN 3.
l
Department 1 and Department 2 in VLAN 2 can communicate with each other.
l
Department 3 and Department 4 in VLAN 3 can communicate with each other.
Figure 3-20
Network diagram of interface-based VLAN assignment
Eth2/0/1
RouterA
Eth2/0/2
Eth2/0/3
Eth2/0/4
Department 1
VLAN2
VLAN3
RouterB
RouterC
RouterD
Router
Department 2
Department 3 Department 4
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
3 VLAN Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
104