Tuesday, January 26, 2010

Labels:

The show ip interface Command

router မွာ အသံုးမ်ားတဲ့ verification commands မ်ားမွာ show interfaces နဲ့ commands တို့ ျဖစ္တယ္။ show ip interface command သည္ router မွာ ရွိေနတဲ့ interfaces ေတြရဲ့ IP address နဲ့ subnet mask တို့ ပါ၀င္တဲ့ IP configuration ကို ျပသေပးတယ္။

Router> show ip interface [type [slot_#/] port_#]

show ip interface command ရဲ့ output ကုိ ေအာက္မွာ ျပသထားတယ္။

အထက္မွာ ျမင္ေတြ့ရတဲ့အတိုင္း ၊ ၄င္း command သည္ interface ရဲ့ status ကို ျပသထားတယ္၊ IP address နဲ့ mask ေတြကို ျပသထားတယ္။ interface မွာ direct broadcasts ေတြ လက္ခံရရွိမယ္ဆိုရင္ drop လုပ္လိမ့္မယ္။ interface မွာ apply လုပ္ထားတဲ့ access list ကို ျပသထားတယ္။ access list အေၾကာင္းကို Chapter 22 မွာ ေဆြးေႏြးမယ္။

exam watch!
interface တစ္ခုမွာ ACL ကို apply လုပ္ထားသလား ဆံုးျဖတ္ႏိူင္ဖို့ show ip interface command ကို အသံုးျပဳပါ။

အထက္ပါ show ip interface command မွာ brief parameter ထည့္လိုက္မယ္ဆိုရင္ interface တစ္ခုစီအတြတ္ description ကို တေၾကာင္းခ်င္းစီ ေဖာ္ျပလိမ့္မယ္။

router ရဲ့ interfaces ေတြ၊ သူတို့ရဲ့ IP addresses နဲ့ statuses ေတြကို အလ်င္အျမန္ ျခံုငံုၾကည့္ႏိူင္ဖို့ show ip interface brief command သည္ အလြန္ အသံုး၀င္တယ္။ ဒီ command သည္ switches ေတြအေပၚမွာလည္း အလုပ္ လုပ္တယ္။

exam watch!
interfaces ေတြရဲ့ IP addresses ေတြနဲ့ သူတို့ရဲ့ operational state ေတြကို အလ်င္အျမန္ ျခံဳငံုၾကည့္ရွဳႏိူင္ဖို့ show ip interface brief command ကို အသံုးျပဳပါ။

Monday, January 25, 2010

Labels:

Bandwidth Parameter

interface အားလံုးမွာ သတ္မွတ္ထားတဲ့ bandwidth value တစ္ခု စီ ရွိတယ္။ OSPF နဲ့ EIGRP တို့လို routing protocols အခ်ိဳ့သည္ routing decision ေဆာင္ရြက္ရာမွာ ၄င္း bandwidth value ကို အသံုးျပဳတယ္။ LAN-based interfaces ေတြအတြတ္၊ interface ရဲ့ speed သည္ ၄င္း interface ရဲ့ bandwidth value ျဖစ္လာတယ္။ bandwidth ကို kilo bit per second (Kbps) နဲ့ တိုင္းတာတယ္။ ဒါေပမယ့္ synchronous serial interfaces မ်ားမွာ default bandwidth သည္ 1554 Kbps ဒါမွမဟုတ္ T1 link ရဲ့ speed ျဖစ္တယ္။ interface ရဲ့ physical clock rate မည္မွ်ပင္ ျဖစ္ေစကာမူ bandwidth သည္ ၄င္း တန္ဖိုးအတိုင္းပင္ ျဖစ္တယ္။ interface ရဲ့ bandwidth value ကို ေျပာင္းလဲဖို့ bandwidth Interface Subconfiguration mode command ကို အသံုးျပဳရမယ္။

Router (config)# interface serial [slot_#/] port_#
Router (config)# bandwidth rate_in_Kbps

ဥပမာ အေနနဲ့ clock speed 56,000 bps ရွိတဲ့ serial interface တစ္ခုရဲ့ bandwidth value ကို 56 Kbps သို့ ေျပာင္းလဲဖို့

Router (config)# interface serial 0
Router (config-if)# bandwidth 56

exam watch!
bandwidth command သည္ interface ရဲ့ clock rate ကို မေျပာင္းလဲႏိူင္ပါ။
clock rate command ကသာလွ်င္ ေျပာင္းလဲေပးႏိူင္တယ္။ bandwidth command သည္ bandwidth ကို metric တစ္ခုအျဖစ္ အသံုးျပဳတဲ့ routing protocols မ်ားအေပၚမွာသာ affect ျဖစ္တယ္။

Sunday, January 24, 2010

Labels:

Router Configuration

ဒီသင္ခန္းစာမွာ အေျခခံ IOS configuration commands ေတြ ျဖစ္တဲ့ device အမည္ေျပာင္းျခင္း၊ password သတ္မွတ္ျခင္း၊ interface တစ္ခုအတြတ္ hardware characteristics သတ္မွတ္ျခင္း၊ interface တစ္ခုကို enable ျပဳလုပ္ျခင္း နဲ့ CLI အတြင္း ေရြ့လ်ားျခင္း … စတဲ့ အေၾကာင္းအရာမ်ားအေပၚမွာ ထပ္ဆင့္ ေဆြးေႏြးမွာ ျဖစ္တယ္။

Interface Configuration

ဒီသင္ခန္းစာမွာ additional interface configurations ေတြျဖစ္တဲ့ interface တစ္ခုသို့ IP address သတ္မွတ္ျခင္း နဲ့ bandwidth metric ေျပာင္းလဲျခင္း … စတဲ့ အေၾကာင္းအရာေတြ ေဆြးေႏြးမယ္။ ေနာက္သင္ခန္းစာမ်ားမွာ interface configuration ကုိ verify ျပုလုပ္ဖို့ show commands အခ်ိဳ့အေၾကာင္း ေဆြးေႏြးမယ္။

IP Addressing Information

router မွာ IP addressing information ေတြကို set up ျပဳလုပ္ဖို့ commands မ်ားစြာ အသံုးျပဳႏိူင္တယ္။ interface တစ္ခုမွာ IP address သတ္မွတ္ေပးဖို့ ဒီ commands ေတြကို အမ်ားဆံုး အသံုးျပဳေပမယ့္ DNS ကို set up ျပဳလုပ္ဖို့၊ directed broadcasts ေတြကို ကန့္သတ္ဖို့ နဲ့ အျခား ကိစၥေတြ အတြတ္လည္း commands ေတြကို အသံုးျပဳ လုပ္ေဆာင္ႏိူင္တယ္။ ေအာက္မွာ ၄င္း configurations အခ်ိဳ့ကို ေဆြးေႏြးမယ္။

2960 လို layer 2 switches ေတြမွာ remote management အတြတ္ IP address တစ္ခုထည္းသာ လိုအပ္တယ္။ ဒါေပမယ့္ IP traffic ကို route လုပ္မယ့္ router ရဲ့ interface တစ္ခုစီအတြတ္ unique IP address တစ္ခုစီ လိုအပ္တယ္။ router ရဲ့ interface တစ္ခုသည္ သီးသန့္ network တစ္ခု ဒါမွမဟုတ္ subnet တစ္ခု ျဖစ္တယ္။ ဒါေၾကာင့္ interface တစ္ခုစီအတြတ္ IP addressing ကို သင့္ေလ်ာ္ မွန္ကန္စြာ လုပ္ေဆာင္ဖို့ လိုအပ္တယ္။ interface တစ္ခုအတြတ္ သတ္မွတ္ေပးလုိက္တဲ့ IP address သည္ ၄င္း interface မွာ လာေရာက္ခ်ိတ္ဆက္မယ့္ devices ေတြရဲ့ default gateway ျဖစ္လာမယ္။ router ရဲ့ interfaces မ်ားမွာ IP address သတ္မွတ္ရာမွာ မွန္ကန္စြာ လုပ္ေဆာင္ထားတဲ့ ဥပမာ နဲ့ မွားယြင္းစြာ လုပ္ေဆာင္ထားတဲ့ ဥပမာ 2 ခုကို ၾကည့္ၾကပါစို့။ Figure 16-1 မွာ invalid configuration ရဲ့ ဥပမာကို ျပသထားတယ္။ ၄င္း ဥပမာမွာ network number (192.168.1.0/24) တစ္ခုကိုပဲ အသံုးျပဳထားတယ္။ router ရဲ့ interface အသီးသီးမွာ တူညီတဲ့ network number တစ္ခုထည္း ရွိေနတာ သတိျပဳပါ။ အကယ္၍ router မွာ ၄င္း addressing schema ကို configure လုပ္ဖို့ ၾကိဳးစားမယ္ဆိုရင္ overlapping address error ျဖစ္မယ္။ သင့္ေလ်ာ္မွန္ကန္တဲ့ addressing configuration ကို ျပီးျပည့္စံုေအာင္ လုပ္ေဆာင္လို့ ရႏိူင္မည္ မဟုတ္ပါ။


ပံု 16-2 မွာ ျပသထားတဲ့အတိုင္း interface တစ္ခုစီမွာ unique host address တစ္ခုစီ လိုအပ္တယ္။ router ရဲ့ interface တစ္ခုစီမွာ မတူကြဲျပားတဲ့ network number တစ္ခုစီရွိေနတာကို ၄င္းဥပမာမွာ ေတြ့ရမယ္။ မည္သည့္ host address ကို အသံုးျပဳမည္ ဆိုသည္ကို မိမိစိတ္ၾကိဳက္ ေရြးခ်ယ္ သတ္မွတ္ႏိူင္တယ္။ administrators အမ်ားစုသည္ network number ရဲ့ ပထမဆံုး ဒါမွမဟုတ္ ေနာက္ဆံုး host address ကို အသံုးျပဳၾကတယ္။ ဒါေပမယ့္ network number ရဲ့ မွန္ကန္တဲ့၊ အသံုးမျပဳရေသးတဲ့ မည္သည့္ host address ကိုမဆို အသံုးျပဳႏိူင္တယ္။ router မွာ IP address တစ္ခု configure လုပ္ဖို့ Interface Subconfiguration mode အတြင္းမွာ ရွိေနရမယ္။ ၄င္း command ရဲ့ syntax မွာ :

Router (config)# interface type [slot_#/] port_#
Router (config-if)# ip address IP_address subnet_mask အထက္ပါ syntax သည္ 2960

switch မွာ IP address တစ္ခု configure ျပဳလုပ္ရာမွာ အသံုးျပဳတဲ့ အတူတူပင္ ျဖစ္ေၾကာင္း ေတြ့ရမယ္။ show interface ဒါမွမဟုတ္ show ip interface command ကို အသံုးျပဳျပီး IP addressing configuration ကို verify ျပဳလုပ္ႏိူင္တယ္။ Figure 16-2 ရဲ့ ဥပမာကို အသံုးျပဳထားတဲ့ IP addressing configuration ကို ေအာက္မွာ ေတြ့ရမယ္ :


exam watch!
router ရဲ့ interface တစ္ခုမွာ IP address ကို omit (ခ်န္လွပ္) လုပ္မယ္ဆိုရင္ ၄င္း interface မွာ မည္သည့္ IP traffic ကိုမွ process လုပ္လိမ့္မည္ မဟုတ္ပါ။ router ရဲ့ interface တစ္ခုမွာ IP address ကို မွားယြင္းစြာ configure ျပုလုပ္ထားမိရင္ ၄င္းကို ဖယ္ရွားဖို့ no ip address command ကို အသံုးျပဳပါ။ interface မွာ သတ္မွတ္ထားျပီးျဖစ္တဲ့ IP address configuration ကို overwrite လုပ္ဖို့ ip address command ကို မွန္ကန္တဲ့ IP address ၊ subnet mask တို့နဲ့ အတူ အသံုးျပုႏိူင္တယ္။