NOTE
l
To configure attributes for the VLANs with consecutive IDs in batches, run the
vlan attrib vlanid to end-
vlanid
command.
l
To configure attributes for the VLANs with inconsecutive IDs in batches, run the
vlan attrib vlan-list
command.
Step 3
(Optional) Configure VLAN description.
To configure VLAN description, run the
vlan desc
command. You can configure VLAN
description to facilitate maintenance. The general VLAN description includes the usage and
service information of the VLAN.
Step 4
(Optional) Configure the VLAN forwarding policy.
vlan-connect
corresponds to the S+C forwarding policy, which ensures higher security by
solving the problems of insufficiency in the MAC address space, MAC address aging, and MAC
address spoofing and attacks.
To configure the VLAN forwarding policy in the VLAN service profile, do as follows:
1.
Run the
vlan service-profile
command to create a VLAN service profile and enter the
VLAN service profile mode.
2.
Run the
forwarding
command to configure the VLAN forwarding policy. The default
VLAN forwarding policy is VLAN+MAC in the system.
3.
Run the
commit
command to validate the profile configuration. The configuration of the
VLAN service profile takes effect only after execution of this command.
4.
Run the
quit
command to quit the VLAN service profile mode.
5.
Run the
vlan bind service-profile
command to bind the VLAN to the VLAN service profile
----End
Example
Assume that a QinQ VLAN with ID of 100 is to be configured for an enterprise user to ensure
higher security and the VLAN forwarding policy is S+C. For the VLAN, description needs to
be configured for easy maintenance. To configure such a VLAN, do as follows:
huawei(config)#
vlan 100 smart
huawei(config)#
vlan attrib 100 q-in-q
huawei(config)#
vlan desc 100 description qinqvlan/forhuawei
huawei(config)#
vlan service-profile profile-id 1
huawei(config-vlan-srvprof-1)#
forwarding vlan-connec
Info: Please use the commit command to make modifications take effect
huawei(config-vlan-srvprof-1)#
commit
huawei(config-vlan-srvprof-1)#
quit
huawei(config)#
vlan bind service-profile 100 profile-id 1
5.2 Configuring an Upstream Port
This topic describes how to add an upstream port for an Internet access service to a VLAN.
Procedure
Step 1
Configure an upstream port for the VLAN.
SmartAX MA5616 Multi-service Access Module
Configuration Guide
5 Configuring the xDSL Internet Access Service
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
165
testar esta programação