XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
27-2
match ipv6 {access-group <acl-index-o
r-name>}
no match ipv6 {access-group }
Set the match standard in the class-map.
3. Configure a policy-map
Command
Explanation
Global Configuration Mode
policy-map <policy-map-name>
no policy-map <policy-map-name>
Create or delete a policy-map.
4. Configure to correlate a policy and a class-map
Command
Explanation
Policy-map Mode
class <class-map-name>
no class <class-map-name>
Correlate with a class, and enter the
policy-map mode.
5. Configure the next hop IPv6 address
Command
Explanation
Policy-class-map Mode
set ipv6 [default] nexthop
[vrf <vrf>]
<nexthop-ip>
no set ipv6 nexthop
Set the next hop IP for the classified flow,
the no command cancels the new assigned
value.
6. Configure the port binding policy-map
Command
Explanation
Port Configuration Mode
service-policy {input <policy-map-nam
e> | output <policy-map-name>}
no service-policy {input <policy-map-n
ame> | output <policy-map-name>}
Apply a policy map to the specified port.
Only one policy map can be applied to
each direction of each port. Egress policy
map is not supported yet.
7. Configure the VLAN binding policy map
Command
Explanation
Global Mode
service-policy input <policy-map-nam
e> vlan <vlan-list>
no service-policy input <policy-map-na
me> vlan < vlan-list >
Apply a policy map to the specified VLAN
interface; the no command deletes the
specified policy map applied to the VLAN
interface.