Feature Configuration

To configure this feature, use the following configuration procedure:

  1. Configure the k8 node labels, on which the SCTP pod should run.

    k8 label sctp-layer key smi.cisco.com/node-type value sctp
    Note
    The label must have a minimum number of two K8 nodes for active or standby pods to work.
  2. Configure the two replicas as active and standby pod for SCTP. The active pod receives the traffic.

    config 
        instance instance-id instance_id 
            endpoint sctp 
                replicas replica_count 
                end 

    NOTES:

    • replicas replica_count —Specify the number of SCTP replicas per node.

  3. Configure the VIP for IPv4 and IPv6 using the following commands:

    config 
        instance instance-id instance_id 
            endpoint sctp 
                vip-ip ipv4_addressoffline { vip-interface interface_name | vip-port port_number } 
                vip-ipv6 ipv6_address { offline  | vip-ipv6-port ipv6_port_number } 
                end 

    NOTES:

    • vip-ip ipv4_address [ offline | vip-interface interface_name | vip-port port_number ] —Specify the IPv4 address of the pod on which VIP is enabled, interface, and the port number. This configuration marks VIP-IP as offline (standby).

    • vip-ipv6 ipv6_address [ offline | vip-ipv6-port ipv6_port_number ] —Specify the IPv6 address of the pod on which VIP is enabled. This configuration marks VIP-IP as offline (standby) if you specify as offline.