Ubiquiti EdgeSwitch ES-24-250W Administration Manual page 270

User interface for poe switches
Hide thumbs Also See for EdgeSwitch ES-24-250W:
Table of Contents

Advertisement

EdgeSwitch
Administration Guide
4. Enable IP Routing (Global configuration).
config
ip routing
exit
After this step, if traffic with the following characteristics is sent, it will be routed from VLAN routing
interface 10 to VLAN routing interface 20.
Source IP: 1.1.1.2
Destination IP: 2.2.2.2
In order to policy route such traffic to VLAN routing interface 30, continue with the following steps:
5. Create an access-list matching incoming traffic.
config
access-list 1 permit 1.1.1.2 0.0.0.255
exit
6. Create a route-map and add match/set terms to the route-map.
configure
route-map pbr_test permit 10
match ip address 1
set ip next-hop 3.3.3.3
exit
exit
7. Assign a route-map to VLAN routing interface 10.
config
interface vlan 10
ip policy pbr_test
exit
exit
After this step, traffic mentioned in the diagram "Policy-Based Routing Example" on page 267 is
policy-routed to VLAN interface 30. Counters are incremented in the "show route-map" command
indicating that traffic is being policy routed.
8. Run the show command.
(UBNT EdgeSwitch) #show route-map pbr_test
route-map pbr_test permit 10
Match clauses:
ip address (access-lists) : 1
Set clauses:
ip next-hop 3.3.3.3
Policy routing matches: 19922869 packets, 1275063872 bytes
Ubiquiti Networks, Inc.
Configuration Examples
269

Advertisement

Table of Contents
loading

Table of Contents