116
Examples
# Configure layer-2 forwarding group
testfg
in scheduler policy
testsp
to match traffic with service VLAN
ID 10.
<Sysname> system-view
[Sysname] qos scheduler-policy testsp
[Sysname-hqos-sp-testsp] layer 2
[Sysname-hqos-sp-testsp-layer2] forwarding-group testfg match service-vlan-id 10
forwarding-group profile (forwarding-group view)
Syntax
forwarding-group
sub-fg-name
profile
fp-name
undo forwarding-group
sub-fg-name
View
Forwarding group view
Default level
2: System level
Parameters
sub-fg-name
: Specifies a child forwarding group name, a case-sensitive string of 1 to 31 characters.
fp-name
: Forwarding profile name, a case-sensitive string of 1 to 31 characters.
Description
Use the
forwarding-group profile
command to nest a child forwarding group in a forwarding group and
specify a forwarding profile for this child forwarding group.
Use the
undo forwarding-group
command to remove the specified child forwarding group from the
forwarding group.
The child forwarding group and the forwarding profile must already exist.
The S5800 Switch Series supports only one parent forwarding group on a port. A parent forwarding
group can nest up to 16 forwarding groups.
If a forwarding group has been applied to a port, you cannot nest child forwarding groups in it or
remove child forwarding groups (if any) from it.
Examples
# Nest child forwarding group
subfg
in forwarding group
testfg
and specify forwarding profile
testfp
for
this child forwarding group.
<Sysname> system-view
[Sysname] qos forwarding-group testfg
[Sysname-hqos-fg-testfg] forwarding-group subfg profile testfp
forwarding-group profile (scheduler-policy view)
Syntax
forwarding-group
fg-name
profile
fp-name
undo forwarding-group
fg-name