To do...
Enter Ethernet port
view
Configure VLAN
mapping
Configuration example
# Configure VLAN mapping to change VLAN IDs of all the incoming packets from network
segment 10.1.1.0/24 into 1001 on GigabitEthernet 1/0/1 (assume that GigabitEthernet
1/0/1 carries VLAN 2 and is connected to network segment 10.1.1.0/24).
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1]
remark-vlan 1001
Configuring Queue Scheduling
Refer to
Queue Scheduling
Configuration prerequisites
The queue scheduling algorithm to be used and the related parameters have been
determined.
Configuration procedures
1) Configuring SP queuing
Follow these steps to configure SP queuing:
To do...
Enter system view
Configure SP
queuing
Use the command...
interface interface-type
interface-number
traffic-remark-vlanid
inbound acl-rule remark-vlan
vlan-id [ all-packet |
tagged-packet |
untagged-packet ]
traffic-remark-vlanid
for information about queue scheduling.
Use the command...
system-view
For S5100-EI series switches:
undo queue-scheduler [ queue-id ]
&<1-8>
For S5100-SI series switches:
undo queue-scheduler [ queue-id ]
&<1-4>
1-35
Remarks
—
Required
By default, VLAN mapping is
not configured.
The S5100-EI series switches
do not support the all-packet
keyword or the tagged-packet
keyword.
inbound
ip-group
Remarks
—
Optional
By default, SP
queuing is used on all
the output queues of
a port.
2000