# Configuring ANCP Interfaces

ANCP uses several interface-level configuration commands. These commands provide the ability to define GSMP input and output labels associated with the interface and specify the number of branches the ANCP end user can support.

l2c end-user-id

- Use to create the GSMP output label associated with the interface. In addition to the label, this command also specifies the access node using the neighbor keyword.
- Example
  host1(config-if)#l2c end-user-id out_subscriber_port_6 neighbor ACCESS_NODE_1
- Use the no version to remove the output label association.
- See l2c end-user-id.

l2c max-branches

- Use to specify the maximum number of branches the ANCP end user can have.
- Example
  host1(config-if)#l2c max-branches 5
- Use the no version to return the maximum number of branches to its default value, unlimited branches.
- See l2c max-branches.

l2c peer-attachment-id

- Use to create the GSMP input label associated with the interface.
- Example
  host1(config-if)#l2c peer-attachment-id in_multicast_port_5
- Use the no version to remove the input label association.
- See l2c peer-attachment-id.