interface port-channel
interface port-channel
description
gigabitethernet
ip access-group {in
jumbo
no ...
openflow-disable
shutdown
spanning-tree [bpduguard|cost
switchport {access vlan
trusted {vlan [add|remove]
xsec {{point-to-point
Description
This command configures an Ethernet port channel.
A port channel allows you to aggregate ports on amanaged device. You can configure a maximum of 8 port channels per supportedmanaged devicewith a maximum of 8 interfaces per port channel.
Note the following when setting up a port channel between amanaged deviceand a Cisco switch (such as a Catalyst 6500 Series Switch):
There must be no negotiation of the link parameters.
The port-channel mode on the Cisco switch must be “on”.
Parameter |
Description |
ID number for this port channel. 0-7 |
|
description |
A character string describing this port-channel. up to 60 characters |
gigabitethernet |
Adds the specified GigabitEthernet interface to the port channel. |
ip |
Applies the specified ACL to the interface. Use the This command requires the PEFNG license. |
in |
Applies ACL to interface’s inbound traffic. |
out |
Applies ACL to interface’s outbound traffic. |
session |
Applies session ACL to interface and optionally to a selected VLAN associated with this port. |
vlan |
Applies session ACL to VLAN. 1-4094 |
jumbo |
Enables or disables jumbo frame MTU configured via firewall on a port channel. Disabled |
no |
Negates any configured parameter. |
openflow-disable |
Enables or disables Openflow on the port channel. Disabled |
shutdown |
Causes a hard shutdown of the interface. |
spanning-tree |
Enables spanning tree. |
bpduguard |
Enables BPDU guard on the port channel. Disabled |
cost |
Specify the cost value of the spanning tree path for an interface. 1 - 65535 |
point-to-point |
Configures the interface as a point to point link. |
port-priority |
Specify the spanning tree priority for the interface. 1 - 255 |
portfast [trunk} |
Enables forwarding of traffic from the interface. Optionally you can choose a trunk port for forwarding the traffic. |
vlan {range |
Configure a VLAN instance or a range of VLAN IDs for the |
switchport |
Sets switching mode parameters for the interface. |
access vlan |
Sets the interface as an access port for the specified VLAN. The interface carries traffic only for the specified VLAN. |
mode {access | trunk} |
Sets the mode of the interface to access or trunk mode only. |
port-security maximum |
Sets the maximum number of MAC addresses that can be configured on the port channel. 16-32768 |
trunk {allowed vlan { |
Sets the interface as a trunk port for the specified VLANs. A trunk port carries traffic for multiple VLANs using 802.1q tagging to mark frames for specific VLANs. You can include all VLANs configured on themanaged device, or add or remove specified VLANs. Optionally you can specify the native VLAN for the trunk mode interface. Frames on the native VLAN are not 802.1q tagged. |
trusted |
Set this interface and range of VLANs to be trusted. VLANs not included in the trusted range of VLANs will be, by default, untrusted. Trusted ports and VLANs are typically connected to internal controlled networks, while untrusted ports connect to third-party APs, public areas, or other networks to which access controls should be applied. WhenArubaAPs are attached directly to amanaged device,将端口设置为可信。 disabled |
vlan [add|remove] |
Sets the specified range of VLANs as trusted. All remaining become untrusted automatically. 例如,如果您设置一个VLAN范围为: Then all VLANs in this range are trusted and all others become untrusted by default. You can also use the However, if you execute the A port supports a user VLAN range from 1-4094. If you want to set all VLANs (1-4094) on a port as untrusted then mark the port itself as untrusted. By default the port and all its associated VLANs are trusted. 1-4094 |
xsec |
Enables and configures the Extreme Security (xSec) protocol. You must purchase and install the xSec software module license in themanaged device. |
point-to-point |
MAC address of the device that is the xSec tunnel termination point, and the 16-byte shared key used to authenticate the device to each other. The key must be the same on both devices. |
allowed vlan |
VLANs that are allowed on the xSec tunnel. |
mtu |
(Optional) MTU size for the xSec tunnel. |
vlan |
xSec VLANID. Formanaged device-to-managed devicecommunications, bothmanaged devices必须belong to the same VLAN. 1-4094 |
Example
The following command configures a port channel:
(host) (config) #interface port channel 7
(host) [mynode] (config-submode)#gigabitethernet 0/0/1
(host) [mynode] (config-submode)#gigabitethernet 0/0/2
Command History
Release |
Modification |
ArubaOS8.2.0.0 |
Updated the new syntax as . |
ArubaOS8.0.0.0 |
Command introduced. |
Command Information
Platforms |
License |
Command Mode |
All platforms |
This command is available in the base operating system. The |
Config mode onMobility Conductor. |