Figure 13: Passing 802.1p Values to the DHCP Server
DHCP client
DHCP relay
DHCP server
Sends DHCP packet
with assigned 802.1p
Ingress VLAN policy
maps 802.1p
(user priority) to UPC
Relay Agent copies
UPC into option 82
vendor-specific suboption
Uses UPC in option 82
vendor-specific suboption
to determine the IP address
that grants the desired service
g016430
The following example describes a sample procedure that creates an environment
that passes 802.1p values to the DHCP server, which then assigns an IP address that
enables the desired service to the DHCP client.
1.
Configure a layer 2 policy that maps 802.1p values to user packet class values
for a VLAN interface.
host1(config)#
vlan classifier-list dot1p0 user-priority 0
host1(config)#
vlan classifier-list dot1p1 user-priority 1
host1(config)#
vlan classifier-list dot1p2 user-priority 2
host1(config)#
vlan classifier-list dot1p3 user-priority 3
host1(config)#
vlan classifier-list dot1p4 user-priority 4
host1(config)#
vlan classifier-list dot1p5 user-priority 5
host1(config)#
vlan classifier-list dot1p6 user-priority 6
host1(config)#
vlan classifier-list dot1p7 user-priority 7
host1(config)#
vlan policy-list dot1pToUpc
host1(config-policy-list)#
classifier-group dot1p0
host1(config-policy-list-classifier-group)#
user-packet-class 0
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p1
host1(config-policy-list-classifier-group)#
user-packet-class 1
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p2
host1(config-policy-list-classifier-group)#
user-packet-class 2
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p3
host1(config-policy-list-classifier-group)#
user-packet-class 3
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p4
host1(config-policy-list-classifier-group)#
user-packet-class 4
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p5
host1(config-policy-list-classifier-group)#
user-packet-class 5
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p6
host1(config-policy-list-classifier-group)#
user-packet-class 6
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
classifier-group dot1p7
host1(config-policy-list-classifier-group)#
user-packet-class 7
host1(config-policy-list-classifier-group)#
exit
host1(config-policy-list)#
exit
host1(config)#
profile atm1483BaseProfile
host1(config-profile)#
vlan policy input dot1pToUpc statistics enabled
host1(config-profile)#
exit
host1(config)#
2.
(Optional) Verify the policy list configuration.
508
■
Configuring DHCP Relay and BOOTP Relay
JUNOSe 11.0.x Broadband Access Configuration Guide
Содержание JUNOSE 11.0.X MULTICAST ROUTING
Страница 6: ...vi...
Страница 28: ...xxviii Table of Contents JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 36: ...xxxvi List of Tables JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 42: ...2 Managing Remote Access JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 204: ...164 Managing RADIUS and TACACS JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 274: ...234 CLI Commands Used to Modify RADIUS Attributes JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 292: ...252 Monitoring RADIUS Relay Server JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 336: ...296 RADIUS Client Terminate Reasons JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 368: ...328 Managing L2TP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 408: ...368 Configuring the Weighted Load Balancing Method JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 444: ...404 PPP Accounting Statistics JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 492: ...452 Monitoring Operational Status within the Current VR Context JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 494: ...454 Managing DHCP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 510: ...470 DHCP Local Server Configuration Tasks JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 528: ...488 Configuring the Router to Work with the SRC Software JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 556: ...516 Configuring DHCP Relay Proxy JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 616: ...576 Managing the Subscriber Environment JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 632: ...592 Subscriber Management Configuration Examples JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 636: ...596 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 672: ...632 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 674: ...634 Managing Subscriber Services JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 767: ...Part 7 Index Index on page 729 Index 727...
Страница 768: ...728 Index JUNOSe 11 0 x Broadband Access Configuration Guide...