Example 13 is an inline flow mapping based solution on GigaVUE-HC2. Example 13 has a variety of constructs: an inline network group made up of two protected inline networks, an inline tool group, an inline tool series, an individual inline tool, a rule-based map (VLAN 100) from the inline network group to the inline tool group, a rule-based map (portdst 80) from the inline network group to the inline tool series, a rule-based map (ipsrc 10.123.12.57) from the inline network group to the individual inline tool, and a shared collector from the inline network group to bypass.
Since Example 13 uses protected inline networks on GigaVUE-HC2, they do not need to be configured as described in Example 4: Protected Inline Bypass Using Bypass Combo Modules, so the configuration begins with the inline network group.
On GigaVUE-HC3, unprotected inline bypass can be configured on any module on the node. Protected inline bypass can be configured on the bypass combo module on ports c1..c4.
On GigaVUE-HC1, unprotected inline bypass can be configured on the base module, with the inline networks and inline tools on ports 1/1/x1..x12 and 1/1/g1..g4, or on the bypass combo module on ports x1..x4. Protected inline bypass can be configured on the bypass combo module, or on the TAP-HC1-G10040 module placed in either bay 2 or bay 3, so the ports will be 1/2/g1..g8 or 1/3/g1..g8. On the TAP module, you will need to configure inline network ports and the inline network because they are not created automatically (as they are on bypass combo modules).
Step
Description
Command
- Configure an inline network group consisting of two protected inline networks.
(config) # inline-network-group alias inNetGroup
(config inline-network-group alias inNetGroup) # network-list default_inline_net_7_2_1,default_inline_net_7_2_3
(config inline-network-group alias inNetGroup) # exit
(config) #
- Configure inline tool ports, port type (inline-tool), and administratively enable inline tool ports.
(config) # port 7/2/x2 alias iT1
(config) # port iT1 type inline-tool
(config) # port iT1 params admin enable
(config) # port 7/2/x15 alias iT2
(config) # port iT2 type inline-tool
(config) # port iT2 params admin enable
(config) # port 7/2/x3 alias iT3
(config) # port iT3 type inline-tool
(config) # port iT3 params admin enable
(config) # port 7/2/x4 alias iT4
(config) # port iT4 type inline-tool
(config) # port iT4 params admin enable
(config) # port 7/2/x7 alias iT5
(config) # port iT5 type inline-tool
(config) # port iT5 params admin enable
(config) # port 7/2/x8 alias iT6
(config) # port iT6 type inline-tool
(config) # port iT6 params admin enable
(config) # port 7/2/x13 alias iT7
(config) # port iT7 type inline-tool
(config) # port iT7 params admin enable
(config) # port 7/2/x14 alias iT8
(config) # port iT8 type inline-tool
(config) # port iT8 params admin enable
(config) # port 7/2/x15 alias iT9
(config) # port iT9 type inline-tool
(config) # port iT9 params admin enable
(config) # port 7/2/x16 alias iT10
(config) # port iT10 type inline-tool
(config) # port iT10 params admin enable
- Configure inline tools as follows:
• inTool1 and inTool2 will be used in the inline tool group, inToolGroup
• inTool3 will be the individual inline tool used in Map3
• inTool4 and inTool5 will be used in the inline tool series, inSer
Also, enable inline tools.
Specify that inline tools are going to be shared by different sources. When shared is enabled (true), the inline tools can receive traffic from multiple sources (the inline networks in the inline network group).
(config) # inline-tool alias inTool1 pair tool-a iT1 and tool-b iT2
(config) # inline-tool alias inTool2 pair tool-a iT3 and tool-b iT4
(config) # inline-tool alias inTool3 pair tool-a iT5 and tool-b iT6
(config) # inline-tool alias inTool4 pair tool-a iT7 and tool-b iT8
(config) # inline-tool alias inTool5 pair tool-a iT9 and tool-b iT10
(config) # inline-tool alias inTool1 enable
(config) # inline-tool alias inTool2 enable
(config) # inline-tool alias inTool3 enable
(config) # inline-tool alias inTool4 enable
(config) # inline-tool alias inTool5 enable
(config) # inline-tool alias inTool1 shared true
(config) # inline-tool alias inTool2 shared true
(config) # inline-tool alias inTool3 shared true
(config) # inline-tool alias inTool4 shared true
(config) # inline-tool alias inTool5 shared true
- Enable default heartbeats.
(config) # inline-tool alias inTool1 heart-beat
(config) # inline-tool alias inTool2 heart-beat
(config) # inline-tool alias inTool3 heart-beat
(config) # inline-tool alias inTool4 heart-beat
(config) # inline-tool alias inTool5 heart-beat
- Configure an inline tool group and enable it.
(config) # inline-tool-group alias inToolGroup
(config inline-tool-group alias inToolGroup) # tool-list inTool1,inTool2
(config inline-tool-group alias inToolGroup) # enable
(config inline-tool-group alias inToolGroup) # exit
(config) #
- Configure an inline tool series and enable it.
(config) # inline-serial alias inSer
(config inline-serial alias inSer) # inline-tool-list inTool4,inTool5
(config inline-serial alias inSer) # enable
(config inline-serial alias inSer) # exit
(config) #
- Configure rule-based map, from the inline network group to the inline tool group.
(config) # map alias inMap1
(config map alias inMap1) # type inline byRule
(config map alias inMap1) # from inNetGroup
(config map alias inMap1) # to inToolGroup
(config map alias inMap1) # rule add pass vlan 100
(config map alias inMap1) # exit
(config) #
- Configure rule-based map, from the inline network group to the inline tool series.
(config) # map alias inMap2
(config map alias inMap2) # type inline byRule
(config map alias inMap2) # from inNetGroup
(config map alias inMap2) # to inSer
(config map alias inMap2) # rule add pass portdst 80
(config map alias inMap2) # exit
(config) #
- Configure rule-based map, from the inline network group to the individual inline tool.
(config) # map alias inMap3
(config map alias inMap3) # type inline byRule
(config map alias inMap3) # from inNetGroup
(config map alias inMap3) # to inTool3
(config map alias inMap3) # rule add pass ipsrc 10.123.12.57 255.255.255.248
(config map alias inMap3) # exit
(config) #
- Add a shared collector from the inline network group to bypass.
(config) # map-scollector alias scoll
(config map-scollector alias scoll) # from inNetGroup
(config map-scollector alias scoll) # collector bypass
(config map-scollector alias scoll) # exit
(config) #
- Configure the path of the traffic to inline tool.
(config) # inline-network alias inNet traffic-path to-inline-tool
(config) # inline-network alias default_inline_net_7_2_1 traffic-path to-inline-tool
(config) # inline-network alias default_inline_net_7_2_3 traffic-path to-inline-tool
- Disable physical bypass on the default inline network aliases.
(config) # inline-network alias default_inline_net_7_2_1 physical-bypass disable
(config) # inline-network alias default_inline_net_7_2_3 physical-bypass disable
- Display the configuration for this example.
(config) # show inline-network
(config) # show inline-network-group
(config) # show inline-tool
(config) # show inline-serial
(config) # show inline-tool-group
(config) # show map
'업무이야기 > 패킷전달플랫폼' 카테고리의 다른 글
Gigamon OOB Maps Originating from Inline Network Group (0) | 2021.01.18 |
---|---|
Gigamon OOB Maps Originating from Inline Network (0) | 2021.01.18 |
Gigamon Inline Flow Mapping Based Solution C (0) | 2021.01.17 |
Gigamon Inline Flow Mapping Based Solution B (0) | 2021.01.17 |
Gigamon Inline Flow Mapping Based Solution A (0) | 2021.01.17 |