17- Service Chain Configuration Guide
17- Service Chain Configuration Guide
This configuration guide is applicable to the following switches and software versions: INTELBRAS SDC 5850 switch
series (Release 6628P48 and later)
Preface
This configuration guide describes the service chain fundamentals.
This preface includes the following topics about the documentation:
• Audience.
• Conventions.
Audience
This documentation is intended for:
• Network planners.
• Field technical support and servicing engineers.
• Network administrators working with the SDC 5850 switch series.
Conventions
The following information describes the conventions used in the documentation.
Command conventions
Convention Description
Boldface Bold text represents commands and keywords that you enter literally as shown.
Italic Italic text represents arguments that you replace with actual values.
[] Square brackets enclose syntax choices (keywords or arguments) that are optional.
Braces enclose a set of required syntax choices separated by vertical bars, from which
{ x | y | ... }
you select one.
Square brackets enclose a set of optional syntax choices separated by vertical bars,
[ x | y | ... ]
from which you select one or none.
Asterisk marked braces enclose a set of required syntax choices separated by vertical
{ x | y | ... } *
bars, from which you select a minimum of one.
Asterisk marked square brackets enclose optional syntax choices separated by vertical
[ x | y | ... ] *
bars, from which you select one choice, multiple choices, or none.
The argument or keyword and argument combination before the ampersand (&) sign
&<1-n>
can be entered 1 to n times.
GUI conventions
Convention Description
Window names, button names, field names, and menu items are in Boldface. For
Boldface example, the New User window opens; click OK.
Multi-level menus are separated by angle brackets. For example, File > Create >
>
Folder.
Symbols
Convention Description
An alert that calls attention to important information that if not understood or followed
WARNING! can result in personal injury.
An alert that calls attention to important information that if not understood or followed
CAUTION: can result in data loss, data corruption, or damage to hardware or software.
Convention Description
i
Configuring service chains
Overview
Service chain is a forwarding technology used to guide network traffic through service nodes. It is
based on the Overlay technology and combines the software defined network (SDN) centralized
management theory. You can configure servic e chains by using a virtual converged framework
controller (VCFC).
A switch in a service chain can act as a proxy node or an access point.
Node types
A service chain can have the following types of nodes:
• Proxy node—A switch that uses service chain policies deploy ed by a VCFC to determi ne
whether to forward a packet into a service chain.
• Access point—A switch that acts as a VXLAN tunnel end point (VTEP). It uses routing policies
deployed by the VCFC to verify whether a packet is qualified to enter a service chain. If the
packet is qualified, the access point encapsulates the packet into a VXLAN packet.
• Service node—A physical device or a NFV device that applies services to the received traffic.
A service chain can contain multiple service nodes.
1
Figure 1 Network framework
Service node 2:
Service list: IPS
Service chain 1
Service node
Service node Service node
Service node 1: Service node 3:
Service list: FW Service list: LB
2
1
3
IP network
Packet Proxy node
Host A
VCF controller
How it works
The V CFC deploys service chain policies to the proxy node based on different tenant applications.
The proxy node us es the service chain policies to perform packet forwarding and service chain
processing as follows:
1. When the proxy node receives an IP packet, it uses a service chain policy to verify whether the
packet is qualified to enter a service chain.
If the packet is qualified, the proxy node forwards the packet to a service node.
If the packet is not qualified, the proxy node forwards the packet without service chain
processing.
2. When the service node receives the packet, it processes the packet and then forwards it back
to the proxy node.
3. When the proxy node receives the packet, it verifies whether the packet is qualified to enter
another service chain.
This procedure is repeated so that the packet can be processed by different service nodes.
2
Figure 2 Network framework
Service node 2
Service list: NAT
VM VM
Service node 1 Service node 3
Service list: FW Service list: LB
Service node
IP packets VXLAN packets
Server Access point Service node Service node Access point Server
Site 1 Site 2
VCF controller
Packet format
Figure 3 shows the format of a VXLAN packet that carries service chain information.
Figure 3 Packet format
VXLAN ID Reserved
A service chain uses the following fields in the VXLAN header to identify packets:
• Flags— W hen the S bit is set to 1, the Service chain field is valid. When the S bit is set to 0, the
Service chain field is invalid.
• Service chain—A 24- bi t fi el d that i ncl udes the D bit and s ervi c e path ID. W hen the D bit is s et
to 0, the packet is a forward packet. When the D bit is set to 1, the packet is a reverse packet.
The 23-bit service path ID is used to identify a service chain.
How it works
The VCFC deploys routing policies to access points and service nodes based on different tenant
applications. The access points and the service nodes use t he routing policies to perform packet
forwarding and service chain processing as follows:
1. When an access point receives an IP packet, it uses the routing policy to verify whether the
packet is qualified to enter a service chain.
If the packet is qualified, the access point encapsulates the packet into a VXLAN packet and
adds service chain information to the VXLAN header. The packet is then forwarded to a
service node.
If the packet is not qualified, the access point forwards the packet without service chain
processing.
3
2. When the service node receives the VXLAN packet, it performs the following tasks:
a. Decapsulates the packet.
b. Performs a local lookup for a service chain matching the service path ID in the VXLAN
header of the packet. If a match is found, the service node applies the service to the packet.
c. Encapsulates the packet into a VXLAN packet and adds service chain information to the
VXLAN header of the packet according to the routing policy.
d. Forwards the packet to the next service node.
3. After the last service node completes processing the packet, it encapsulates the packet into a
VXLAN packet without adding service chain information to the VXLAN header. The packet is
then forwarded to the peer access point.