【3端口指定为vlan 9】
(ESNB_AGV_Aruba-70301_29.11) [mynode] (config) #interface gigabitethernet 0/0/3 //进入3端口
(ESNB_AGV_Aruba-70301_29.11) ^[mynode] (config-submode)#switchport access vlan 9 //该端口设置为vlan9
(ESNB_AGV_Aruba-70301_29.11) ^[mynode] (config-submode)#! //退出3端口
(ESNB_AGV_Aruba-70301_29.11) ^[mynode] (config) #write memory //保存
【3端口模式改为trunk】
(Aruba_7030_10.1) [mynode] (config-submode)#interface gigabitethernet 0/0/3 //进入3端口
(Aruba_7030_10.1) [mynode] (config-submode)#switchport mode trunk //端口模式改为trunk
Illegal Operation: Interface belongs to lacp group //提示有lacp组
(Aruba_7030_10.1) [mynode] (config-submode)#no lacp group //删除lacp组
(Aruba_7030_10.1) [mynode] (config-submode)#switchport mode trunk //端口模式改为trunk
(Aruba_7030_10.1) [mynode] (config-submode)#lacp group 0 mode active/passive //无条件开启lacp/当检测到lacp设备时开启
(Aruba_7030_10.1) ^[mynode] (config-submode)#write memory //保存
【删除3端口的native vlan】
(ESNB_AGV_Aruba-70301_29.11) [mynode] (config) #interface gigabitethernet 0/0/3 //进入3端口
(Aruba_7030_10.1) [mynode] (config-submode)#no switchport trunk native vlan //删除trunk端口的native vlan,默认是vlan1
Illegal Operation: Interface belongs to lacp group //提示有lacp组
(Aruba_7030_10.1) [mynode] (config-submode)#no lacp group //删除lacp组
(Aruba_7030_10.1) [mynode] (config-submode)#no switchport trunk native vlan //删除trunk端口的native vlan,默认是vlan1
(Aruba_7030_10.1) [mynode] (config-submode)#lacp group 0 mode active/passive //无条件开启lacp/当检测到lacp设备时开启
(Aruba_7030_10.1) ^[mynode] (config-submode)#write memory //保存
暂无评论内容