19 vlan configuration – ADLINK aTCA-N700 User Manual
Page 23
Switch Manager Configuration Guide
23
The following commands are available for trunk configuration.
command
description
Trunk <1-8> add port PORT_LIST Add ports to specified trunk
trunk <1-8> delete port
PORT_LIST
Delete ports form specified trunk
trunk <1-8> mode <0-6>
Set the hash algorithm for specified trunk
trunk destroy
Remove all trunk groups
trunk monitor add <1-8>
Add a specified trunk into monitor
trunk monitor delete <1-8>
Delete a specified trunk from monitor
There are 6 different trunk modes, as described below.
Trunk mode value
description
1 Source
MAC
2 Destination
MAC
3
Source & Destination MAC
4 Source
IP
5 Destination
IP
6
Source & Destination IP
0 zero
Example
Add port xe2-xe4 into trunk 2, to make the three ports into a virtual link. Set the mode of trunk 2 to
1 to make the data stream load balance on trunk 2 based on the source MAC. Then add the trunk
into monitor to monitor the status of ports in the trunk 2.
4.2.19 VLAN Configuration
Ethernet is a network technology based on the Carrier Sense Multiple Access/Collision Detect
(CSMA/CD) mechanism. Because the medium is shared, collisions and excessive broadcasts are
common on Ethernet networks. To address the issue, virtual LAN (VLAN) was introduced to break
a LAN down into separate VLANs.
ATCA-N700# trunk 2 add port xe2-xe4
ATCA-N700# trunk 2 mode 1
ATCA-N700# show trunk
Trunk 2 -- mode: Src_MAC ; ports: xe2-xe4.
ATCA-N700# trunk monitor add 2
ATCA-N700# show trunk monitor
Trunk 2 -- Port03.down Port04.down Port05.up