User Manual

Table Of Contents
If this is executed with the "no" syntax, the application of the route map is cleared from the interface.
[Note]
The types of interfaces to which this can be adapted are as follows.
VLAN interface
Route maps that can be applied to an interface include up to one for IPv4 and IPv6 each. If a route map has already been
applied, an error will occur.
An error will also occur if no valid entries exist.
The conditions for valid entries are shown below.
“match” must be set
An IPv6 access list must be specified
At least one “permit” entry must exist in the access list
In the case of “permit”, “set” must be set*
“ipv6 next-hop” or “interface null” must be specified
*In the case of “deny”, “set” does not need to be set (it will be ignored if it has been configured)
This command cannot be used if the stack function is enabled.
[Example]
This applies “vlan10” to the route map used to forward communications from the segment of source 3ffe:506::/32 to the next
hop 2001:db8:1::1.
SWX3220(config)#access-list 3001 permit 3ffe:506::/32
SWX3220(config)#route-map 100 permit 10
SWX3220(config-route-map)#match access-list 3001
SWX3220(config-route-map)#set ipv6 next-hop 2001:db8:1::1
SWX3220(config-route-map)#exit
SWX3220(config)#interface vlan10
SWX3220(config-if)#ipv6 policy route-map 100
7.15.9 Enable/disable PBR function
[Syntax]
pbr switch
no pbr
[Parameter]
switch : Behavior of the PBR function
Setting value Description
enable Enable the PBR function
disable Disable the PBR function
[Initial value]
pbr enable
[Input mode]
global configuration mode
[Description]
Enables the PBR function.
If "disable" is specified, the PBR function is disabled.
If this command is executed with the "no" syntax, the setting returns to the default value (same as when specifying “enable”).
[Note]
Even when the function is disabled, the PBR-related settings will remain, making it possible to restore the previous state when
the function is re-enabled.
[Example]
Enables the PBR function.
342 | Command Reference | Layer 3 functions