比如交換機名為a,用gigabitethernet0/0/1和0/0/2與伺服器連線用console或telnet連線交換機後,進行配置system-view;進入系統[a]interfaceeth-trunk1;建個聚合埠[a-Eth-Trunk1]portlink-typetrunk;屬性為透傳,[a-Eth-Trunk1]porttrunkallow-passvlanxxxx/all;需要透過的vlan[a-Eth-Trunk1]q[a]interfacegigabitethernet0/0/1;進入g0/0/1埠[a-gigabitethernet0/0/1]eth-trunk1;加入Eth-Trunk1[a-gigabitethernet0/0/1]q[a]interfacegigabitethernet0/0/2;進入g0/0/2埠[a-gigabitethernet0/0/2]eth-trunk1;加入Eth-Trunk1[a-gigabitethernet0/0/2]q
比如交換機名為a,用gigabitethernet0/0/1和0/0/2與伺服器連線用console或telnet連線交換機後,進行配置system-view;進入系統[a]interfaceeth-trunk1;建個聚合埠[a-Eth-Trunk1]portlink-typetrunk;屬性為透傳,[a-Eth-Trunk1]porttrunkallow-passvlanxxxx/all;需要透過的vlan[a-Eth-Trunk1]q[a]interfacegigabitethernet0/0/1;進入g0/0/1埠[a-gigabitethernet0/0/1]eth-trunk1;加入Eth-Trunk1[a-gigabitethernet0/0/1]q[a]interfacegigabitethernet0/0/2;進入g0/0/2埠[a-gigabitethernet0/0/2]eth-trunk1;加入Eth-Trunk1[a-gigabitethernet0/0/2]q