net sfc chain
net sfc chain(1) BIG-IP TMSH Manual net sfc chain(1)
NAME
chain - Defines a service function chain in the Service Function Chaining (SFC) architecture.
MODULE
net sfc
SYNTAX
Define a SFC chain.
CREATE
create chain [name]
options:
app-service [[string] | none]
description [[string] | none]
hops
[add | delete ] {
[name] ... {
app-service [[string] | none]
description [[string] | none]
hopkey [service-index | interface]
[nexthop-endpoint-ip [ip-address] | nexthop-service [string] | nexthop-terminate]
service-index [integer]
source-interface [[string] | none]
}
path-id [integer]
DISPLAY
list chain
list chain [ [ [name] | [glob] | [regex] ] ... ]
show running-config net sfc chain
show running-config net sfc chain [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
DELETE
delete net sfc chain [all | [name] ]
DESCRIPTION
You can use the net sfc chain to create a n ordered set of abstract service functions and ordering constraints that must be
applied to packets and/or frames and/or flows selected as the result of classification.
There is no modify for net sfc chain. Any modification needs to be done by deleting the chain and then creating it.
EXAMPLES
create net sfc chain SC
Creates a service function chain named SC. (See below).
list net sfc chain SC all-properties
Displays all of the properties of a service function chain.
delete net sfc chain
Deletes a service function chain (see below).
Example :
list net sfc chain chain1 net sfc chain chain1 {
hops {
1 {
nexthop-service sf2-1
service-index 255
}
2 {
nexthop-terminate
service-index 254
}
}
path-id 678 }
app-service
Specifies the name of the application service to which the object belongs. The default value is none. Note: If the
strict-updates option is enabled on the application service that owns the object, you cannot modify or delete the
object. Only the application service can modify or delete the object.
name Specifies a unique name for the chain. This option is required for the commands create and delete.
description
User defined description.
hops The list of next-hops.
name Specifies a unique name for the hop. This option is required for the commands create and delete.
hopkey Specifies the type of hop, service-index or interface. The default is service-index.
nexthop-endpoint-ip
If nexthop-endpoint-ip is specified then it it assumed the next hop is NSH enabled. Only one of nexthop-
endpoint-ip, nexthop-service, nexthop-terminate may be specified.
nexthop-service
The service function (SF) name of the next hop. Only one of nexthop-endpoint-ip, nexthop-service, nexthop-
terminate may be specified.
nexthop-terminate
If nexthop-terminate is specified then the chain is terminated and the NSH header is removed. Only one of
nexthop-endpoint-ip, nexthop-service, nexthop-terminate may be specified.
service-index
The service-index is required when hopkey is service-index.
source-interface
Specifics the interface name, a tunnel or vlan, to match on ingress for this hop. The source-interface is
required when hopkey is interface.
path-id
The service path identifier that uniquely identifies the service function path.
SEE ALSO
create, delete, edit, glob, list, modify, regex, show, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or mechanical, including
photocopying, recording, or information storage and retrieval systems, for any purpose other than the purchaser's personal
use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2018. All rights reserved.
BIG-IP 2018-07-24 net sfc chain(1)