วันศุกร์ที่ 21 มกราคม พ.ศ. 2554
การใช้ROUTER CISCO 1800 ทำ Authen PPoE แบบมี IP Dynamic
service timestamps log datetime msec
no service password-encryption
hostname (ชื่อผู้ใช้บริการ)
boot-start-markerboot-end-marker
no aaa new-model
resource policy
mmi polling-interval 60
no mmi auto-configureno mmi pvcmmi snmp-timeout 180
ip subnet-zeroip cef
no ip dhcp use vrf connected
ip dhcp pool (ชื่อผู้ใช้บริการ)
network 192.168.1.0 255.255.255.0 (IP client)
default-router 192.168.1.254 (gateway client)
dns-server 61.19.245.245 61.19.245.246 202.129.27.135 (DNS ISP)
lease infinite
no ip domain lookup
ip name-server 61.19.245.246 (DNS ISP)
ip name-server 202.129.27.135 (DNS ISP)
virtual-profile if-neededvpdn-group 1
interface FastEthernet0/0
no ip address
duplex auto
speed auto pppoe enable
pppoe-client dial-pool-number 1
interface FastEthernet0/1
ip address 192.168.1.254 255.255.255.0 secondary
ip address 110.77.139.177 255.255.255.248 (IP dynamaic)
ip nat inside
duplex auto speed auto
interface Serial0/0/0
no ip address
shutdown
no fair-queue
clockrate 2000000
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452 dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxxxxxxxxxx(username จาก ISP)
ppp chap password 0 xxxxxxxx(password จาก ISP)
ppp pap sent-username (username จาก ISP) password 0 (password จาก ISP)
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
ip nat inside source list 20 interface Dialer1 overload
access-list 20 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit!control-plane
line con 0 logging synchronous
line aux 0
line vty 0 4
login local
scheduler allocate 20000 1000
end
สามารถใช้งานได้เลย
วันพฤหัสบดีที่ 20 มกราคม พ.ศ. 2554
การconfig cisco 800 series วงจร MPLS
no aaa new-model
ip subnet-zero
!
!
ip audit po max-events 100
no ftp-server write-enable
!
!
!
!
no crypto isakmp enable
!
bridge irb
!
!
interface Ethernet0
description ### LAN CE ###
ip address 172.17.77.254 255.255.255.0
load-interval 30
hold-queue 100 out
no shut
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
no shut
interface ATM0.1 point-to-point
bridge-group 1
pvc 0/35
oam-pvc manage
oam retry 35 5 1
encapsulation aal5snap
no shut
!
interface BVI1
description ### WAN CAT ###
ip address 10.128.1.54 255.255.255.252
no shut
ip classless
ip route 0.0.0.0 0.0.0.0 10.128.1.53
ip http server
no ip http secure-server
!
!
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
banner motd ^C CETTELECOM CHUMPHON BDI095741 ^C
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
line vty 0 4
exec-timeout 30 0
login local
transport preferred all
transport input all
transport output all
!
scheduler max-task-time 5000
!
end
วันพุธที่ 22 กันยายน พ.ศ. 2553
การSET_IP_PHONE
LOCAL - NO ACK
SET(*) - RESTART(#)
1.กด *
2.ใส่ Password : 147*
3.กด # ให้หน้าจอเป็น (REMODE) - CHANGE(#)
4.กด Hold/Save
5.กด + ตรงปุ่ม Volume
เลื่อน Menu ระหว่าง – กับ + ที่ปุ่ม Volume
6.ให้ Set ค่า Parameter จำนวน 4 ค่า ดังนี้ ( การใส่ .(dot) ให้กดปุ่ม *)
6.1.MFIM IP ADDRESS(DOT:*) ให้ตั้งค่าเป็น 202.129.12.13 เท่านั้น แล้วกด Hold/Save
6.2.ROUTER IP ADDRESS(DOT:*) ให้ตั้งค่าเป็น Gate Way ที่ใช้งาน แล้วกด Hold/Save
6.3.PHONE NET MASK (DOT:*) ให้ตั้งค่าเป็น Sub Net Mask ที่ใช้งาน แล้วกด Hold/Save
6.4.PHONE IP ADDRESS(DOT:*) ให้ตั้งค่า IP ADDRESS ที่ใช้งาน แล้วกด Hold/Save
7.เรียบร้อยแล้วให้กด ปุ่ม Speaker เพื่อทำการ Reboot
วันพุธที่ 25 สิงหาคม พ.ศ. 2553
คำสั่ง DOS ในการเช็คNETWORK
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapaters
> ipconfig /renew EL* ... renew adapters named EL....
> ipconfig /release *ELINK?21* ... release all matching adapters,
eg. ELINK-21, myELELINKi21adapter.
Options
/? Display this help message.
/all Display full configuration information.
/release Release the IP address for the specified adapter.
/renew Renew the IP address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.
แค่นี้ก็พอมั้ง
มี ping [ip or name]
มี tracert [ip] ไว้ trace ว่าถ้าจะติดต่อไป ip ดังกล่าว จะผ่าน gateway หรือ router ใดบ้าง
มี finger
Displays information about a user on a specified system running the
Finger service. Output varies based on the remote system.
FINGER [-l] [user]@host [...]
มี netstat ตัวนี้คล้ายกับ netstat บนลีนุก
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-p proto Shows connections for the protocol specified by proto; proto
may be TCP or UDP. If used with the -s option to display
per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for TCP, UDP and IP; the -p option may be used to specify
a subset of the default.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
มี arp อันนี้เผื่ออยากรู้ว่าเครื่อง ip นั้นๆมี MAC-Address อะไร
Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]
-a Displays current ARP entries by interrogating the current
protocol data. If inet_addr is specified, the IP and Physical
addresses for only the specified computer are displayed. If
more than one network interface uses ARP, entries for each ARP
table are displayed.
-g Same as -a.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address inet_addr
with the Physical address eth_addr. The Physical address is
given as 6 hexadecimal bytes separated by hyphens. The entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be modified.
If not present, the first applicable interface will be used.
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> arp -a .... Displays the arp table.
แค่นี้ก่อง
เมื่อ: 11 ธันวาคม 2006, 14:33:14
--------------------------------------------------------------------------------
telnet ,ftp
พื้นฐานงะ สำหรับพวกนี้สำหรับ client ติดต่อ ไป server นะ
สำหรับ server ไม่รู้คำสั่งบน dos เหมือนกัน
รู้แต่ต้องลง IIS แล้วเซ็ทเอาจาก control panel
ถึงจะรันพวก telnet server ,ftp server ได้หรือไม่ก็ใช้โปรแกรมเสริมที่ต้องโหลดเอง
วันจันทร์ที่ 12 ตุลาคม พ.ศ. 2552
TAICOM (TG 200-GT)

ติดต่อผ่าน Serial port ของเครื่อง
คอมพิวเตอร์ใช้โปรแกรม Hyper terminalเชื่อมกับ Control port ของอุปกรณ์นั้นโดยใช้ property port ดังนี้ 38400 / 8 / none /1 / none / Emulation ด้วย VT 100 ใช้สายต่อแบบ Through Cable
( 2 wire คู่ 1,2 RJ-45 ) password : admin
G.703 to G.703
****************************LOCAL_SITE*************REMOTE_SITE
Config System
Device Type ************STU-C********************* STU-R
Clock Source ************E1/T1********************* Recovery
Interface
E1/T1****************** Type E1******************** Type E1
Data rate *************2048 Kbps ****************rate 2048 Kbps
Frame *****************UnFrame******************** UnFrame
Data port
Data rate*************** 0 Kbps *********************0 Kbps
SAVE
G.703 to V.35 (Fraction)
Config System
Device Type ************STU-C*********************STU-R
Clock Source************ E1/T1******************** Recovery
Interface
E1/T1****************** Type E1 ********************Type E1
Data rate **************X Kbps*********************** 0 Kbps
Frame****************** PCM31C ******************PCM31C
CRC *******************Generate****************** Passthrough
Data port
Type *********************v.35 ****************************v.35
Data rate **************0 Kbps ************************X Kbps
DTR/RTS*************** on *****************************normal
Tx timing source *******TT******************************** ST
*X = จำนวน time slot ที่เลือกใช้งาน
SAVE
V.35 to v.35
Config System
Device Type ***************STU-C ***********STU-R
Clock Source ************Data port **********Recovery
Interface
E1/T1**************** Type E1 ************Type E1
Data rate ************0 Kbps ************* 0 Kbps
Frame*************** UnFrame*********** UnFrame
Data port
Type***************** v.35***************** v.35
Data rate **********X Kbps **************X Kbps
DTR/RTS************ on *****************normal
Tx timing source ******TT ******************ST
SAVE
*X = จำนวน time slot ที่เลือกใช้งาน
FOM LOGSYS

อุปกรณ์ FIBER OPTIC MODEM ( FOM ) ซึ่งประกอบด้วยผลิตภัณฑ์
1 LOGSYS Setup hardware by key pad ด้านหน้า ( 2 Core )
- LOG 4000 F( E1)
- LOG 4000 E( E1+V.35)
- LOG 4000 FOM 4( E1+V.35)
G.703 to G.703
System config *************COT************************ RT
Channel config
Channel X active*********** YES************************ YES
Trunk X *******************E1************************** E1
Channel X code************* HDB3 *********************HDB3
E1 to V.35 (Fraction)
System config **************COT************************ RT
Channel config
Channel X active************ YES ************************YES
Trunk X *******************E1 **************************E1/V.35
Refer clk X***************** Ext *************************Loop
CH X Frame ****************CCS************************* CCS
CH X TS 16 *****************DATA*********************** DATA
DTE config
CH X – TT ***********************************************Loop 2
CH X – Type *********************************************64 N
CH X – Count ********************************************Y CH Select
V.35 to V.35
System config **************************COT*************************** RT
Channel config
Channel X active ***********************YES ***************************YES
Trunk X ********************************E1/V.35 ***********************E1/V.35
Refer clk X**************************** Ext ******************************Loop
CH X Frame************************** CCS ****************************CCS
CH X TS 16 *************************DATA ****************************DATA
DTE config
CH X – *****************************TT Loop 2********************** Loop 2
CH X – Type************************* 64 N *****************************64 N
CH X – Count************************ Y CH Select***************** Y CH Select
*X = Channel ที่เลือกใช้งาน
Y = จำนวน time slot ที่เลือกใช้งาน
Wirring Port Alcatel 3600 MainStreet
Line-----PIN(CHAMP 50 PIN)------Coulor-----PIN(CHAMP 50 PIN)-----Coulor
1---------------1-----------------------------ขาว---------26----------------------------น้ำเงิน
2---------------3-----------------------------ขาว---------28----------------------------ส้ม
3---------------5-----------------------------ขาว---------30----------------------------เขียว
4---------------7-----------------------------ขาว---------32----------------------------น้ำตาล
5---------------9-----------------------------ขาว---------34----------------------------เทา
6---------------11---------------------------แดง---------36----------------------------น้ำเงิน
7---------------13---------------------------แดง---------38----------------------------ส้ม
8---------------15---------------------------แดง---------40----------------------------เขียว
9---------------17---------------------------แดง---------42----------------------------น้ำตาล
10-------------19---------------------------แดง---------44----------------------------เทา
11-------------21---------------------------ดำ-----------46----------------------------น้ำเงิน
12-------------23---------------------------ดำ-----------48----------------------------ส้ม
หมายเหตุ กรณี Card มี Line ไม่ถึง 12 ก็ให้ Wirring ตามจำนวน Line