http://certcollection.org/forum/topic/143124-ccie-rs-lab-task-solutions-discussions-launch-page-k8-k7-k6-k6-k4-k2/
MichioIkeda 変態
root# run show configuration | display set
set version 10.4R2.6
【vlan作成】
set vlans vlan10 vlan-id 10
set vlans vlan11 vlan-id 11
【VLANアサイン】
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members vlan10
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan11
#set interfaces ge-0/0/20 unit 0 family ethernet-switching port-mode trunk
#set interfaces ge-0/0/20 unit 0 family ethernet-switching vlan members vlan100
#set interfaces ge-0/0/20 unit 0 family ethernet-switching vlan members vlan101
#set interfaces ge-0/0/20 unit 0 family ethernet-switching vlan members vlan102
【VLANinterface追加】
set interfaces vlan unit 11 family inet address 1.1.1.1/24
set interfaces vlan unit 12 family inet address 1.1.2.1/24
set vlans vlan-11 l3-interface vlan.11
set vlans vlan-12 l3-interface vlan.12
【CHANELの作成】
set chassis aggregated-devices ethernet device-count 2
set interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae1
set interfaces ge-0/0/3 ether-options 802.3ad ae1
set interfaces ae0 unit 0 family ethernet-switching
set interfaces ae1 unit 1 family ethernet-switching
set interfaces ae0 aggregated-ether-options lacp active
ae0にてLACPを使用する際、モードをactiveとするコマンドとなります。
set interfaces ae0 aggregated-ether-options lacp passive
ae0をLACPのモードをpassiveとするコマンドとなります。
set interfaces ge-0/0/0 ether-options 802.3ad ae0 lacp force-up
ae0をLACPを使用せず、force-up(Static)とするコマンドとなります。
set interfaces ae0 aggregated-ether-options minimum-links 2
Link Aggregation内のポート数の最小を設定する。
上記設定の場合、LAGの最小数を2に設定とし、2以下となった場合、ae0がダウンします。
【OSPF】
set protocols ospf area 0.0.0.0 interface vlan.11
set protocols ospf area 0.0.0.0 interface vlan.12
0 件のコメント:
コメントを投稿