![Dell Brocade DCX Скачать руководство пользователя страница 215](http://html.mh-extra.com/html/dell/brocade-dcx/brocade-dcx_configuration-manual_85983215.webp)
BigIron RX Series Configuration Guide
143
53-1001810-01
Mirror ports for Policy-Based Routing (PBR) traffic
6
Mirror ports for Policy-Based Routing (PBR) traffic
You can mirror traffic on ports that have policy-based routing (PBR) enabled. This feature is useful
for monitoring traffic, debugging, and enabling application-specific mirroring.
The PBR mirror interface feature allows continued hardware forwarding and, at the same time,
enables you to determine exactly which traffic flows get routed using the policies defined by PBR.
The following section provides a general overview of hardware-based PBR.
About hardware-based PBR
Hardware-based Policy-Based Routing (PBR) routes traffic in hardware based on policies you
define. A PBR policy specifies the next hop for traffic that matches the policy. A PBR policy also
can use an ACL to perform QoS mapping and marking for traffic that matches the policy.
To configure PBR, you define the policies using IP ACLs and route maps, then enable PBR globally
or on individual interfaces. The device programs the ACLs into the Layer 4 CAM on the interfaces
and routes traffic that matches the ACLs according to the instructions in the route maps. You also
can map and mark the traffic's QoS information using the QoS options of the ACLs.
Configuring mirror ports for PBR traffic
When you configure a physical or virtual port to act as a mirror port for PBR traffic, outgoing
packets that match the permit Access Control List (ACL) clause in the route map are copied to the
mirror ports that you specify. You can specify up to four mirror ports for each PBR route map
instance.
For example, to capture all traffic forwarded to an SSL port and mirror it to port 5, enter commands
such as the following.
BigIron RX
(config)# route-map ssl-pbr-map permit 1
BigIron RX
(config-routemap ssl-pbr-map)# match ip address 100
BigIron RX
(config-routemap ssl-pbr-map)# set mirror-interface 5
BigIron RX
(config-routemap ssl-pbr-map)# set next-hop 10.10.10.1
BigIron RX
(config-routemap ssl-pbr-map)# exit
BigIron RX
(config)# interface e 5
BigIron RX
(config-if-e10000-5)# port-name mirror-port
BigIron RX
(config-if-mirror-port)# interface e 10
BigIron RX
(config-if-mirror-port-10)# ip policy route-map ssl-pbr-map
BigIron RX
(config-if-mirror-port-10)# exit
BigIron RX
(config-if-e10000-)#exit
BigIron RX
(config)#access-list 100 permit tcp any any eq ssl
The above commands complete the following configuration tasks.
1. Configures an entry in the PBR route map named “ssl-pbr-map” . The match statement
matches on IP information in ACL 100. The set mirror-interface statement specifies interface e
5 as the mirror port for matched ACL permit clauses. The set next-hop statement sets the IP
address of the route’s next hop router to 10.10.10.1.
2. Identifies interface e 5 as a mirror port by assigning the name “
mirror-port”
.
3. Enables PBR and applies the route map
“ssl-pbr-map
” on interface e 10.
4. Creates an extended ACL (100) that permits all TCP traffic destined for an for an SSL port.
Содержание Brocade DCX
Страница 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Страница 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Страница 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Страница 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Страница 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Страница 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Страница 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Страница 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Страница 566: ...494 BigIron RX Series Configuration Guide 53 1001810 01 QoS for the oversubscribed 16 x 10GE modules 18 ...
Страница 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Страница 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Страница 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Страница 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Страница 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Страница 926: ...854 BigIron RX Series Configuration Guide 53 1001810 01 Generalized TTL security mechanism support 26 ...
Страница 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Страница 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Страница 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Страница 998: ...926 BigIron RX Series Configuration Guide 53 1001810 01 Configuring BFD for the specified protocol 30 ...
Страница 1014: ...942 BigIron RX Series Configuration Guide 53 1001810 01 Displaying multi device port authentication information 31 ...
Страница 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Страница 1072: ...1000 BigIron RX Series Configuration Guide 53 1001810 01 IP source guard 35 Syntax show ip source guard ethernet port num ...
Страница 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Страница 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Страница 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Страница 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Страница 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Страница 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Страница 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...