|
Navigate to the Class of service level in the configuration
hierarchy.
|
In the configuration editor hierarchy, select Class
of service.
|
From the top of the configuration hierarchy, 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, enter the name of the previously
configured virtual channels—branch1–vc.
- In the Scheduler map box, enter 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 1.5 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, enter the shaping rate—1.5m.
- Add the shaping rate for the branch2–vc and branch3–vc virtual
channels.
- Click OK.
|
- Enter
set virtual-channel-groups wan-vc-group branch1–vc shaping-rate
1.5m
- Repeat this statement for branch2–vc and branch3–vc.
|
|
Apply the virtual channel group to the logical interface t3–1/0/0.0.
|
- 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.
|
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.
|
- Navigate to the top of the configuration hierarchy
and select Firewall.
- Click Add new entry next to Filter.
- In the Filter name box, enter the name of the firewall
filter—choose-vc.
- Click Add new entry next to Term.
- In the Rule name box, enter the name of the firewall term—branch1.
- Click Configure next to From.
- Click Add new entry next to Destination
address.
- In the Address box, enter 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, enter 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 top of the configuration hierarchy, 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.
|
- Navigate to the top of the configuration hierarchy
and select Interfaces.
- 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, enter the name of the previously configured
firewall filter—choose–vc.
- Click OK.
|
- From the top of the configuration hierarchy, enter
edit interfaces
- Enter
set t3–1/0/0 unit 0 family inet filter output choose-vc
|