【正文】
[DeviceA] qos policy test[DeviceAqospolicytest] classifier test behavior test[DeviceAqospolicytest] quit 配置下行端口bridgeaggregation 101為Hybrid端口且允許VLAN 20的報(bào)文不攜帶VLAN Tag通過(guò)。[DeviceA] interface bridgeaggregation 101[DeviceABridgeAggregation101] port linktype hybrid[DeviceABridgeAggregation101] undo port hybrid vlan 1[DeviceABridgeAggregation101] port hybrid vlan 10 tagged[DeviceABridgeAggregation101] port hybrid vlan 20 untagged[DeviceABridgeAggregation101] qinq enable[DeviceABridgeAggregation101] qinq transparentvlan 10[DeviceABridgeAggregation101] quit5 QINQ規(guī)則配置(1)[MDCA] interface MGigabitEthernet 1/0/0/0[MDCAMGigabitEthernet1/0/0/0] ip address 24[MDCAMGigabitEthernet1/0/0/0] quit[mdca] telnet server enable[mdca] userinterface vty 0 63[MDCAuivty063] authenticationmode none[MDCAuivty063] userrole mdcadmin切換到虛擬交換機(jī)a,并按照提示信息鍵入CTRL_D進(jìn)入虛擬交換機(jī)a的命令行界面進(jìn)行配置。Device systemview[Device] mdc mdcaExecuting this mand will create MDC mdca ID 2 and empty folder /mdc/mdc2 in the root directory of the storage media. Continue? [Y/N]:yThis MDC was created successfully.3 MDC(一虛多)建立配置(1)配置BFD MAD檢測(cè)(堆疊組防分裂檢測(cè)) IRF merge occurs and the IRF system does not need to reboot.[Sysname] irfportconfiguration active創(chuàng)建IRF端口2/1,并將它與物理端口TenGigabitEthernet2/0/0/24和TenGigabitEthernet2/1/0/24綁定。Saving the converted configuration file to the main board succeeded.Slot 1:配置S12510機(jī)框二開(kāi)啟TenGigabitEthernet1/1/0/24端口。關(guān)閉TenGigabitEthernet1/0/0/24端口。將設(shè)備的運(yùn)行模式切換到IRF模式。Sysname systemview[Sysname] chassis convert mode irfThe device will switch to IRF mode and reboot. You are remended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y[Sysname] interface TenGigabitEthernet1/0/0/24[SysnameTenGigabitEthernet1/0/0/24] shutdown[SysnameTenGigabitEthernet1/0/0/24] quit[Sysname] interface TenGigabitEthernet1/1/0/24[SysnameTenGigabitEthernet1/1/0/24] undo shutdown[SysnameTenGigabitEthernet1/1/0/24] quit配置S12510機(jī)框二的成員編號(hào)為2。Saving the converted configuration file succeeded.[Sysname] irfport 2/1[Sysnameirfport2/1] port group interface TenGigabitEthernet 2/0/0/24[Sysnameirfport2/1] port group interface TenGigabitEthernet 2/1/0/24[Sys