- 积分
- 151
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
 
|
10鸿鹄币
如题,LACP实验里面使用interface range fa0/3 - 4,将 channel-group 1 mode active switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
命令配置在物理接口上,而在interface port-channel 1接口不做配置。
这种配置方法导致模拟器出现了%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on Port-channel 1 (1), with SwitchA FastEthernet0/3 (99)的告警。
如果在interface port-channel 1上进行配置
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
则告警消失。所以楼主就有疑问了,考试的时候可以直接将配置写在port channel里面而不直接写在物理端口上吗?这两种配置方法在实际环境中又有什么区别?求大神解答
|
最佳答案
查看完整内容
在channel口配置和在物理接口上配置理论上是一样的。你show run的时候可以看到在port-channel口配置的命令在物理口上也有显示出来。我考试的时候是在port-channel口上配置的,这道题也正确了。
|