【正文】
/24端口。創(chuàng)建IRF端口2/1,并將它與物理端口TenGigabitEthernet2/0/0/24和TenGigabitEthernet2/1/0/24綁定。開啟TenGigabitEthernet2/1/0/24端口。激活I(lǐng)RF端口的配置[Sysname] irfportconfiguration active IRF merge occurs and the IRF system needs a reboot. IRF merge occurs and the IRF system does not need to reboot.配置BFD MAD檢測(堆疊組防分裂檢測)[Sysname] interface vlaninterface 4091[SysnameVlaninterface4091] mad bfd enable[SysnameVlaninterface4091] mad ip address 30 member 1[SysnameVlaninterface4091] mad ip address 30 member 2[SysnameVlaninterface4091] quit3 MDC(一虛多)建立配置(1)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.配置mdca在主控板16和17上的磁盤使用上限均為20%。切換到虛擬交換機a,并按照提示信息鍵入CTRL_D進入虛擬交換機a的命令行界面進行配置。 *******************************************************************************Automatic configuration is running, press CTRL_D to break or press CTRL_B to switch back to the default MDC.Device systemview[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[DeviceA] interface TenGigabitEthernet 1/0/0/1[DeviceATenGigabitEthernet1/0/0/1] port linkaggregation group 1[DeviceATenGigabitEthernet1/0/0/1] quit[DeviceA] interface TenGigabitEthernet 2/0/0/1[DeviceATenGigabitEthernet2/0/0/1] port linkaggregation group 1[DeviceATenGigabitEthernet2/0/0/1] quit 配置二層聚合接口1為Trunk端口,并允許VLAN 10和20的報文通過。[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)[DeviceA] qos policy test[DeviceAqospolicytest] classifier test behavior test[DeviceAqospolicytest] quit 配置下行端口bridgeaggregation 101為Hybrid端口且允許VLAN 20的報文不攜帶VLAN Tag通