home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

interfaces bonding <dpFbondN> vif <vif-id> policy route pbr <name>

Applies a PBR policy to a virtual interface of an Ethernet link bond group.

set interfaces bonding dpFbondN vif vif-id policy route pbr name
delete interfaces bonding dpFbondN vif vif-id policy route pbr [ name ]
show interfaces bonding dpFbondN vif vif-id policy route pbr [ name ]
dpFbondN
The identifier for a bond group. The identifier ranges from dp0bond0 through dp0bond99.
vif-id
A virtual interface (vif) ID. The ID ranges from 1 through 99999.
name
The name of a PBR policy.

Configuration mode



interfaces {
        bonding interface-name {
                vif vif-id {
                        policy {
                                pbr policy-name
                        }
                }
        }
}

A routing policy has no effect on traffic traversing the system until it has been applied to an interface.

To use the policy-based routing feature, you must define a routing policy by using the set policy route pbr name rule number command, and then apply the routing policy to interfaces by using the interfaces bonding dpFbondN vif vif-id policy route pbr name command. Once applied, the rule set acts as a packet filter.

Use the set form of this command to apply a PBR policy to an interface.

Use the delete form of this command to remove a PBR policy, or all PBR policies, from an interface.

Use the show form of this command to display a PBR policy configuration, or all PBR policy configurations, for an interface.