|
Navigate to the Class of service level
in the configuration hierarchy.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- Next to Class of service, click Configure or Edit.
|
From the [edit] hierarchy level, enter
edit class-of-service
|
|
Define the virtual channels branch1–vc, branch2–vc, branch3–vc, and the default virtual channel. You
must specify a default virtual channel.
|
- Click Add new entry next
to Virtual channels.
- In the Channel name box, type the name of the virtual
channel—for example, branch1–vc.
- Click OK.
- Create additional virtual channels for branch2–vc, branch3–vc, and default-vc.
|
- Enter
set virtual-channels branch1–vc
- Repeat this statement for branch2–vc, branch3–vc, and default-vc.
|
|
Define the virtual channel group wan-vc-group to include
the four virtual channels, and assign each virtual channel the scheduler
map bestscheduler.
|
- Click Add new entry next
to Virtual channel groups.
- In the Group name box, type the name of the virtual
channel group—wan-vc-group.
- Click Add new entry next to
Channel.
- In the Channel name box, type the name of the previously
configured virtual channels—branch1–vc.
- In the Scheduler map box, type the name of the
previously configured scheduler map—bestscheduler.
- Click OK.
- Add the virtual channels branch2–vc, branch3–vc, and default-vc. Select the Default box when adding the virtual channel default-vc.
|
- Enter
set virtual-channel-groups wan-vc-group branch1–vc
scheduler-map bestscheduler
- Repeat this statement for branch2–vc, branch3–vc, and default-vc.
- Enter
set virtual-channel-groups wan-vc-group default–vc
default
|
|
Specify a shaping rate of 2 Mbps for each virtual channel within
the virtual channel group.
|
- Click branch1–vc in the list of virtual channels.
- Select the Shaping rate box.
- Click Configure.
- Select Absolute rate from
the Rate choice box.
- In the Absolute rate box, type the shaping rate—2m.
- Add the shaping rate for the branch2–vc and branch3–vc virtual channels.
- Click OK three times.
|
- Enter
set virtual-channel-groups wan-vc-group branch1–vc
shaping-rate 2m
- Repeat this statement for branch2–vc and branch3–vc.
|
|
Apply the virtual channel group to the logical interface t3–1/0/0.0.
(See the interface naming conventions in Network Interface Naming.)
|
- Click Add new entry next
to Interfaces.
- In the Interface name box, type the name of the
interface—t3–1/0/0.
- Click Add new entry next to
Unit.
- In the Unit number box, type the logical interface
unit number—0.
- In the Virtual channel group box, type the name
of the previously configured virtual channel group—wan-vc-group.
- Click OK.
|
From the [edit class of service] hierarchy level, enter
set interfaces t3–1/0/0 unit 0 virtual-channel-group
wan-vc-group
|
|
Create the firewall filter choose-vc to select the
traffic that is transmitted on a particular virtual channel.
|
- On the main Configuration page next to Firewall,
click Configure or Edit.
- Click Add new entry next to
Filter.
- In the Filter name box, type the name of the firewall
filter—choose-vc.
- Click Add new entry next to
Term.
- In the Rule name box, type the name of the firewall
term—branch1.
- Click Configure next to From.
- Click Add new entry next to
Destination address.
- In the Address box, type the IP address of the
destination host—192.168.10.0/24.
- Click OK twice.
- On the firewall term page, click Configure next to Then.
- Select Accept from the Designation
box.
- In the Virtual channel box, type the name of the
previously configured virtual channel—branch1–vc.
- Click OK.
- Repeat these steps for the virtual channels branch2–vc and branch3–vc.
|
- From the [edit] hierarchy level, enter
edit firewall
- Enter
set family inet filter choose-vc term branch1 from destination
192.168.10.0/24
- Enter
set family inet filter choose-vc term branch1 then accept
- Enter
set family inet filter choose-vc term branch1 then virtual-channel
branch1–vc
- Repeat these steps for virtual channels branch2–vc and branch3–vc.
|
|
Apply the firewall filter choose-vc to output traffic
on the t3–1/0/0.0 interface.
|
- On the main Configuration page next to Interfaces,
click Configure or Edit.
- Click t3–1/0/0 in the
list of configured interfaces.
- Click 0 in the list of configured
logical units for the interface.
- Click Edit next to Inet.
- Click Configure next to Filter.
- In the Output box, type the name of the previously
configured firewall filter—choose–vc.
- Click OK.
|
- From the [edit] hierarchy level, enter
edit interfaces
- Enter
set t3–1/0/0 unit 0 family inet filter output choose-vc
|