H3C S6800交换机基本配置命令

  • 进入配置系统
sys


  • 建立聚合链路
interface Bridge-Aggregation 101
description TO_N9805_1
quit

interface Bridge-Aggregation 102
description TO_N9805_2
quit

interface Bridge-Aggregation 103
description TO_N9805_3
quit

interface Bridge-Aggregation 104
description TO_N9805_4
quit

interface Bridge-Aggregation 105
description TO_N9805_5
quit

interface Bridge-Aggregation 106
description TO_N9805_6
quit

interface Bridge-Aggregation 107
description TO_N9805_7
quit

interface Bridge-Aggregation 108
description TO_N9805_8
quit


  • 设置VLAN
vlan 140


  • 将聚合组设置为动态模式
interface range Bridge-Aggregation 101 to Bridge-Aggregation 108
link-aggregation mode dynamic


  • 将对应物理口加入聚合链路组中
interface Ten-GigabitEthernet 1/0/1
port link-aggregation group 101
quit

interface Ten-GigabitEthernet 1/0/2
port link-aggregation group 102
quit

interface Ten-GigabitEthernet 1/0/3
port link-aggregation group 103
quit

interface Ten-GigabitEthernet 1/0/4
port link-aggregation group 104
quit

interface Ten-GigabitEthernet 1/0/5
port link-aggregation group 105
quit

interface Ten-GigabitEthernet 1/0/6
port link-aggregation group 106
quit

interface Ten-GigabitEthernet 1/0/7
port link-aggregation group 107
quit

interface Ten-GigabitEthernet 1/0/8
port link-aggregation group 108
quit


  • 设置聚合组类型并打上相应VLAN
interface range Bridge-Aggregation 101 to Bridge-Aggregation 108
port access vlan 140

注意:可以单独为每个聚合组设置类型与VLAN

你可能感兴趣的:(H3C S6800交换机基本配置命令)