configurar_etherchannel
Configure EtherChannel link aggregation on Cisco switches by grouping multiple ports into a channel group using LACP, PAgP, or static mode.
Instructions
Configura EtherChannel (Link Aggregation) en un switch Cisco.
Modos: active/passive — LACP (IEEE 802.3ad, recomendado) desirable/auto — PAgP (Cisco propietario) on — Sin negociación (ambos lados deben ser 'on')
puertos: lista de interfaces a agrupar, ej: ['FastEthernet0/1', 'FastEthernet0/2']
channel_group: número del port-channel (1-48)
Ejemplo: configurar_etherchannel('SW1', ['FastEthernet0/1', 'FastEthernet0/2'], 1, 'active')
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"switch": "<switch>",
"puertos": "<puertos>",
"channel_group": "<channel_group>"
},
"name": "configurar_etherchannel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modo | No | active | |
| switch | Yes | ||
| puertos | Yes | ||
| channel_group | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |