//在交换机上做2层端口隔离,将需要隔离的端口放到一个组。
[switch1]port-isolate mode l2
[switch1]interface GigabitEthernet 0/0/1
[switch1-GigabitEthernet0/0/1]port-isolate enable group 1
[switch1]interface GigabitEthernet 0/0/2
[switch1-GigabitEthernet0/0/2]port-isolate enable group 1
//配置以太网接口G0/0/1双工模式和速率设置
[switch1]interface GigabitEthernet 0/0/1
[switch1-GigabitEthernet0/0/1]undo negotiation auto (执行命令undo negotiation auto,
配置快速以太网电接口工作在非自协商模式。)
[switch1-GigabitEthernet0/0/1]duplex full (手工设置双工模式)
[switch1-GigabitEthernet0/0/1]speed 100 (手工设置速率)
[switch1-GigabitEthernet0/0/1]auto speed 1000 100 10 (配置速率协商顺序)
网友评论