Pulfrey-Wong 发表于 2013-1-31 15:19:12

switchport mode access 有什么用

希望可以详细讲解,最好有例子,谢谢

zhou314169408 发表于 2013-1-31 15:48:13

将此端口设置成访问有几种模式的

manchesxia 发表于 2013-1-31 16:36:56

Switch(config-if)#switchport access ?
vlanSet VLAN when interface is in access mode

在access里可以设置VLAN, 只能这是一个
这个接口接的PC就属于这个VLAN里了

Nicole-Yo 发表于 2013-1-31 17:18:22

同意楼上的。

Pulfrey-Wong 发表于 2013-2-1 15:55:31

manchesxia 发表于 2013-1-31 16:36 static/image/common/back.gif
Switch(config-if)#switchport access ?
vlanSet VLAN when interface is in access mode



你说的那个我知道,但我问的不是你说的那个命令,我问的是switch mode access:L

time9154 发表于 2013-2-2 13:09:17

Pulfrey-Wong 发表于 2013-2-1 15:55 static/image/common/back.gif
你说的那个我知道,但我问的不是你说的那个命令,我问的是switch mode access

这个命令是用来设置接口模式的,主要是设置接口属于接入模式,trunk模式或者是自动协商模式
Switch(config-if)#switchport mode ?
access   Set trunking mode to ACCESS unconditionally
dynamicSet trunking mode to dynamically negotiate access or trunk mode
trunk    Set trunking mode to TRUNK unconditionally

风神丨紫川 发表于 2013-2-2 20:36:20

园区网接入层的交换机要设置access然后再划vlan

Kyle37 发表于 2013-2-4 18:59:48

就是把交换机的接口模式改为接入(access)模式
交换机接口有三在模式1.access
2.trunk
3.QinQ
其中access是接入模式主要接主机的接口

皇家禁卫队 发表于 2013-2-5 06:52:10

看帖子的要发表下看法

345447290 发表于 2013-2-5 13:21:42

我们用VLAN来划分局域网隔离三层广播sw mo acc 就是说这个借口下连的东西都是某个VLAN 都是接入层的了默认是 VLAN 1

Pulfrey-Wong 发表于 2013-2-5 17:39:13

time9154 发表于 2013-2-2 13:09 static/image/common/back.gif
这个命令是用来设置接口模式的,主要是设置接口属于接入模式,trunk模式或者是自动协商模式
Switch(conf ...

接入模式有什么用的??

time9154 发表于 2013-2-5 17:40:54

Pulfrey-Wong 发表于 2013-2-5 17:39 static/image/common/back.gif
接入模式有什么用的??

就是access mode呀,用于连接用户终端

qq312940244 发表于 2013-2-16 11:27:20

顾名思义,接入模式,主要是为了接入VLAN而设定。
页: [1]
查看完整版本: switchport mode access 有什么用