Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Networking Requirements

Figure 1.     Policy-Based Routing Configuration Example

...

  • Configure VLAN, VLAN interface and IP address on each switch to achieve network reachable. The configuration on the device Switch is provided in the following steps. Other devices have similar configurations and will therefore be ignored.

  • On Switch, configure match rule based on the source IPv4 address 192.168.10.10/24 (IP address of PC1) for PBR traffic classification.

  • On Switch, configure an action to redirect packets to a next-hop IP address 10.10.0.1/24 (IP address of Router 1) for policy-based routing.

  • On Switch, apply the PBR policy to the VLAN interface VLAN300 where the traffic from PC1 is coming in.

Procedure on Switch

Step 1          Configure VLANs and VLAN interfaces.

...

Code Block
admin@Switch# run show pbr map PBR_map1
Sequence: 100
    match-condition:
        source-ipv4      192.168.10.10/32
action:
        nexthop     10.10.0.1 nexthop-vrf:
        dscp:0
statistics:
        vlan300: 1864 pkts

...