首页 > 其他 > 详细

浪潮思科交换机相关配置

时间:2019-12-05 10:14:40      阅读:530      评论:0      收藏:0      [点我收藏+]

浪潮思科交换机相关配置

1、配置vlan示例

vlan  3
no shutdown
#####################################
interface vlanif 3
no shutdown

2、配置聚合端口

interface port-channel 1
no shutdown

3、配置聚合端口,并将物理接口加入到聚合端口(mode 为active),并设置为trunk ,允许所有vlan 通过。

############################################################################
#注意:接口的设置要和聚合端口配置设置成一样才能将物理端口加入到聚合端口。
############################################################################
interface port-channel  1
no shutdown
switchport 
switchport mode trunk
switchport trunk allow vlan all

#########################################################
interface Ethernet 0/2
no shutdown
switchport
switchport mode trunk
switchport trunk allow vlan all
channel-group 1 mode active

4、设置mtu

############################################################################
#注意:接口的设置要和聚合端口配置设置成一样才能将物理端口加入到聚合端口。
############################################################################
interface port-channel  1
no shutdown
switchport 
switchport mode trunk
switchport trunk allow vlan all
mtu 9216

#########################################################
interface Ethernet 0/2
no shutdown
switchport
switchport mode trunk
switchport trunk allow vlan all
mtu 9216
channel-group 1 mode active

###########################################################
vlan 2
no shutdown

interface vlanif 2
no shutdown
mtu 9216    

浪潮思科交换机相关配置

原文:https://www.cnblogs.com/yanling-coder/p/11986806.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!