ssw1 命令undo ter m
sys
sys
user-int con 0
id 0 0
int e0/0/1
port hybrid vlan 1101
port hybrid untagged vlan 1101 1102 1105
[1-Ethernet0/0/1]int e0/0/2
[1-Ethernet0/0/2]port hybrid pvid vlan 1102
[1-Ethernet0/0/2]port hybrid untagged vlan 1102 1105
[1-Ethernet0/0/2]undo shutdown
Info: Interface Ethernet0/0/2 is not shutdown.
[1-Ethernet0/0/2]int g0/0/1
[1-GigabitEthernet0/0/1]port link-type trunk
[1-GigabitEthernet0/0/1]port trunk allow-pass vlan 1101 1102 1105
[1-Ethernet0/0/2]quit
sw2命令
undo terminal monitor
Info: Current terminal monitor is off.
system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname 2
[2]user-interface console 0
[2-ui-console0]idle-timeout 0 0
[2-ui-console0]quit
[2]vlan batch 1101 1102 1105
Info: This operation may take a few seconds. Please wait for a moment…done.
[2]int e0/0/1
[2-Ethernet0/0/1]port hybrid pvid vlan 1101
[2-Ethernet0/0/1]port hybrid untagged vlan 1101 1105
[2-Ethernet0/0/1]undo shutdown
Info: Interface Ethernet0/0/1 is not shutdown.
[2-Ethernet0/0/3]int e0/0/2
[2-Ethernet0/0/2]port hybrid pvid vlan 1102
[2-Ethernet0/0/2]port hybrid untagged vlan 1102 1105
[2-Ethernet0/0/2]undo shutdown
Info: Interface Ethernet0/0/2 is not shutdown.
[2-Ethernet0/0/2]int e0/0/3
[2-Ethernet0/0/3]port hybrid pvid vlan 1105
[2-Ethernet0/0/3]port hybrid untagged vlan 1101 1102 1105
[2-Ethernet0/0/3]undo shutdown
Info: Interface Ethernet0/0/3 is not shutdown.
[2-Ethernet0/0/3]int g0/0/1
[2-GigabitEthernet0/0/1]port link-type trunk
[2-GigabitEthernet0/0/1]port trunk allow-pass vlan 1101 1102 1105
[2-GigabitEthernet0/0/1]undo shutdown
原文地址:https://www.cnblogs.com/sobk/p/14009397.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。