- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
02-Access Controller Module Basic Configuration | 52.53 KB |
Table of Contents
1 Access Controller Module Basic Configuration·
Access Controller Module Basic Configuration
Configuring the Internal Ports of the Switch
Configuring the Access Controller Module
Configuring LSQM1WCMB0, LSBM1WCM2A0, or LSRM1WCM2A1
Configuring LSWM1WCM20 or LSWM1WCM10
l Support of the H3C WX series access controllers for features may vary by device model. Refer to section "Feature Matrices" in Compatibility Matrices for details.
l The access controller modules in this manual refer to the access controller modules inserted on the expansion slots on the switch. For the compatibility matrix of the access controller modules and the Ethernet switches, refer to Compatibility Matrices for details.
l Do not execute the shutdown command on the Ethernet interface that connects the switch and the access controller module.
l The models listed in this manual are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
Access Controller Module Basic Configuration
An access controller module installed in the expansion slot on the switch is connected to the switch through internal ports of the switch. To enable the H3C S7500/S7500E/S9500 switch to collaborate with the module, you need to configure the ports on the switch.
Before configuration, make sure that your switch has been installed with the following:
l SRPU
l I/O module
l Access controller module
Perform the following configuration on the switch:
l Configure the two internal ports connecting the access controller module and permitted VLANs on the ports.
l Aggregate the two internal ports of the switch.
Configuring the Internal Ports of the Switch
Follow these steps to configure the internal ports of the switch:
To do… |
Use the command… |
Remarks |
Enter system view |
system-view |
— |
Create VLANs and enter VLAN view |
vlan { vlan-id1 [ to vlan-id2 ] | all } |
Required |
Exit from VLAN view |
quit |
— |
Create a manual aggregation group |
link-aggregation group agg-id mode manual |
Required The LSQM1WCMB0 and the LSBM1WCM2A0 do not support creating or configuring aggregation groups. |
Enter Ethernet port view |
interface interface-type interface-number |
— |
Set the link type of the port to trunk |
port link-type trunk |
Required |
Set the default VLAN on the trunk port |
port trunk pvid vlan vlan-id |
Optional The default VLAN of the trunk port is the system default VLAN. |
Add the port to the aggregation group |
port link-aggregation group agg-id |
Required Ports on the LSQM1WCMB0 and the LSBM1WCM2A0 cannot be added to aggregation groups. |
l The numbers of the internal ports connecting the access controller module are related to the slot where the access controller module is seated. For example, in slot 2, the two internal ports are numbered GE 2/0/1 and GE 2/0/2.
l The manual link aggregation approach must be adopted.
l For the configuration commands of the switch, refer to the user manual of the switch.
Configuring the Access Controller Module
In order for the access controller module to collaborate with the switch, you need to do some configuration on the module. The access controller module is connected to the switch through the internal port (a GigabitEthernet or Ten-GigabitEthernet interface).
Follow these steps to configure the access controller module:
To do… |
Use the command… |
Remarks |
Enter system view |
system-view |
— |
Create VLANs and enter VLAN view |
vlan { vlan-id1 [ to vlan-id2 ] | all } |
Required |
Exit from VLAN view |
quit |
— |
Enter Ethernet interface view |
interface interface-type interface-number |
— |
Set the link type of the port to trunk |
port link-type trunk |
Required |
Permit the specified VLANs to pass the trunk port |
port trunk permit vlan { vlan-id-list | all } |
Required By default, the trunk port permits only VLAN 1 to pass. |
Set the default VLAN on the trunk port |
port trunk pvid vlan vlan-id |
Optional By default, the default VLAN of a trunk port is VLAN 1. |
Refer to VLAN Configuration in the Access Volume and MAC Address Table Management in the System Volume for the introduction to the vlan, port link-type trunk, port trunk permit vlan, port trunk permit vlan, and port trunk pvid vlan commands.
Configuration Examples
Configuring LS8M1WCMA0
Network requirements
An access controller module LS8M1WCMA0 is inserted in slot 4 of the switch. Packets on VLAN 1, VLAN 8, VLAN 9, and VLAN 10 are permitted to transfer between the module and the switch. By default, packets on VLAN 1 are permitted to transfer between the module and the switch.
Configuration procedure
1) Configure the switch
<Switch>system-view
# Create VLAN 8 through VLAN 10.
[Switch]vlan 8 to 10
# Create a manual aggregation group.
[Switch]link-aggregation group 1 mode manual
# Configure GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 of the switch.
[Switch]interface gigabitethernet4/0/1
[Switch-GigabitEthernet4/0/1]port link-type trunk
[Switch-GigabitEthernet4/0/1]port trunk permit vlan 8 to 10
[Switch-GigabitEthernet4/0/1]port link-aggregation group 1
[Switch]interface ethernet4/0/2
[Switch-GigabitEthernet4/0/2]port link-type trunk
[Switch-GigabitEthernet4/0/2]port trunk permit vlan 8 to 10
[Switch-GigabitEthernet4/0/2]port link-aggregation group 1
2) Configure the access controller module.
<Switch>oap connect slot4
<AC>system-view
# Create VLAN 8 through VLAN 10.
[AC]vlan 8 to 10
# Configure GigabitEthernet 1/0/1 of the access controller module.
[AC]interface gigabitethernet 1/0/1
[AC-GigabitEthernet1/0/1]port link-type trunk
[AC-GigabitEthernet1/0/1]port trunk permit vlan 8 to 10
Configuring LSQM1WCMB0, LSBM1WCM2A0, or LSRM1WCM2A1
Network requirements
An access controller module LSQM1WCMB0, LSBM1WCM2A0 or LSRM1WCM2A1 is inserted in slot 4 of the switch. Packets on VLAN 1, and VLAN 8 through VLAN 10 are permitted to transfer between the switch and the module. By default, packets on VLAN 1 are permitted to transfer between the module and the switch.
You can create VLANs on the Ten-GigabitEthernet interface connecting the switch and the access controller module LSQM1WCMB0, LSBM1WCM2A0, or LSRM1WCM2A1, and then configure the port of the switch.
Configuration procedure
1) Configure the switch
<Switch>system-view
# Create VLAN 8 through VLAN 10.
[Switch]vlan 8 to 10
# Configure the port of the switch.
[Switch]interface Ten-gigabitethernet4/0/1
[Switch-Ten-GigabitEthernet4/0/1]port link-type trunk
[Switch-Ten-GigabitEthernet4/0/1]port trunk permit vlan 8 to 10
2) Configure the access controller module.
<Switch>oap connect slot4
<AC>system-view
# Create VLAN 8 through VLAN 10.
[AC]vlan 8 to 10
# Configure the port of the access controller module.
[AC]interface Ten-gigabitethernet 1/0/1
[AC-Ten-GigabitEthernet1/0/1]port link-type trunk
[AC-Ten-GigabitEthernet1/0/1]port trunk permit vlan 8 to 10
Configuring LSWM1WCM20 or LSWM1WCM10
Network requirements
An access controller module LSWM1WCM20 or LSWM1WCM10 is inserted in the switch. Packets on VLAN 1, and VLAN 8 through VLAN 10 are permitted to transfer between the switch and the module. By default, packets on VLAN 1 are permitted to transfer between the module and the switch.
l For access controller module LSWM1WCM20, you need to first aggregate the two GigabitEthernet ports connecting the switch and the access controller module, create VLANs on the aggregation port, and then configure the port of the switch.
l You can create VLANs on the Ten-GigabitEthernet interface connecting the switch and the access controller module LSQM1WCMB0, LSBM1WCM2A0, or LSRM1WCM2A1, and then configure the port of the switch.
Configuration procedure
1) Configure the switch
<Switch> system-view
# Create VLAN 8 through VLAN 10.
[Switch] vlan 8 to 10
# Create a Layer 2 aggregation port.
[Switch]interface Bridge-Aggregation 1
[Switch-Bridge-Aggregation1]quit
# Add the GigabitEthernet port corresponding to the interface GigabitEthernet 1/0/1 of LSWM1WCM20 to the aggregation port.
[Switch]interface GigabitEthernet 1/0/1
[Switch-GigabitEthernet1/0/1]port link-aggregation group 1
[Switch-GigabitEthernet1/0/1]quit
# Add the GigabitEthernet port corresponding to the interface GigabitEthernet 1/0/2 of LSWM1WCM20 to the aggregation port.
[Switch]interface GigabitEthernet 1/0/2
[Switch-GigabitEthernet1/0/2]port link-aggregation group 1
[Switch-GigabitEthernet1/0/2]quit
# Set the link type of the aggregation port and assign the port to the VLANs.
[Switch]interface Bridge-Aggregation 1
[Switch-Bridge-Aggregation1]port link-type trunk
[Switch-Bridge-Aggregation1]port trunk permit vlan 8 to 10
[Switch-Bridge-Aggregation1]quit
[Switch]quit
2) Configure the access controller module
# Take LSWM1WCM20 as an example, log into the AC on the switch.
<Switch>mcms connect slot 1 system SubSlot1
<AC>system-view
# Create VLANs.
[AC]vlan 8 to 10
# Configure the port of the access controller module.
[AC]interface Bridge-Aggregation 1
[AC-Bridge-Aggregation1]port link-type trunk
[AC-Bridge-Aggregation1]port trunk permit vlan 8 to 10