Skip to content

huawei cihazlarda default konfigürasyon

huawei cihazlarda cli da “display this” komutu ile bulunduğunuz dizindeki mevcut konfigürasyonu görebilirsiniz. ancak default olarak yapılandırılmış konfigürasyon mevcuttur. bunu görmek için display this” komutuna include-default parametresi ilave edilerek kullanılabilir.

aşağıdaki örnekte bir interfacedeki default konfigürasyon görülmektedir.

[ferhatcicek-Ethernet0/0/1]display this include-default 
#
interface Ethernet0/0/1
 portswitch
 undo shutdown
 enable snmp trap updown
 undo set flow-stat interval
 undo qinq vlan-translation enable
 undo mac-address learning disable
 port priority 0
 port link-type hybrid
 port hybrid pvid vlan 1
 port hybrid untagged vlan 1
 qinq protocol 8100
 undo loopback-detect enable
 stp enable
 undo stp config-digest-snoop
 undo stp no-agreement-check
 undo stp root-protection
 undo stp loop-protection
 stp transmit-limit 147
 stp point-to-point auto
 stp compliance auto
 stp instance 0 port priority 128
 undo port mux-vlan enable
 undo mac-vlan enable
 undo ip-subnet-vlan enable
 undo rmon-statistics
 undo smart-link flush receive
 undo smart-link vll-notify enable
 undo ntdp enable
 undo ndp enable
 bpdu enable
 undo portal local-server enable
 undo dot1x enable
 dot1x max-user 256
 dot1x port-control auto
 dot1x port-method mac
 undo dot1x reauthenticate
 undo authentication critical eapol-success
 authentication max-reauth-req 20
 undo mac-authen
 mac-authen max-user 256
 mac-authen reauthenticate
 undo authentication open
 undo port-auto-sleep enable
 undo port-security enable
 undo qinq vlan-translation miss-drop
 undo port discard tagged-packet
 mac-learning priority 0
 undo mac-address flapping trigger error-down
 undo mac-address flapping trigger quit-vlan
 jumboframe enable 9216
 undo set flow-statistics include-interframe
 trap-threshold input-rate 100 resume-rate 100
 trap-threshold output-rate 100 resume-rate 100
 log-threshold input-rate 100 resume-rate 100
 log-threshold output-rate 100 resume-rate 100
 trap-threshold error-statistics 3 interval 10
 carrier up-hold-time 2000
 carrier down-hold-time 0
 undo port link-flap protection enable
 qos wrr
 qos queue 0 wrr weight 1
 qos queue 1 wrr weight 1
 qos queue 2 wrr weight 1
 qos queue 3 wrr weight 1
 qos queue 4 wrr weight 1
 qos queue 5 wrr weight 1
 qos queue 6 wrr weight 1
 qos queue 7 wrr weight 1
 trust 8021p outer
 undo dei enable
 qos phb marking enable
 undo arp anti-attack rate-limit enable
 undo arp-miss anti-attack rate-limit enable
 undo arp anti-attack check user-bind enable
 undo ip source check user-bind enable
 unicast-suppression 100
 multicast-suppression 100
 broadcast-suppression 100
 storm-control interval 5
 port type nni
 undo nd snooping enable
 undo nd snooping trusted
 undo dhcpv6 remote-id insert enable
 undo dhcpv6 remote-id rebuild enable

alcatel omni switchlerde ddm

alcatel omni serisi cihazlarda transceiverların desteklediği ddm özellikleri show interface komutu ile görülebilir. ancak ddm özelliklerinin aktif edilmiş olması gerekmektedir.

durum bilgisi öğrenmek için

show interfaces transceiver ddm
DDM Status : enable
DDM Trap Status : disable

kullanılabilir. burada ddm in aktif edildiği görülmektedir. eğer ddm ve trap özelliklerini değiştirmek istiyorsak

interfaces transceiver ddm [trap] {enable | disable}

komut yapısı kullanılması gerekmektedir. ddm parametreleri default olarak

ddm - disable
trap - disable
kontrol zamanı (konfigüre edilemez) - 6850 (60saniye) 6400 (1saniye)

şeklindedir. default olarak kapalı gelen özellikleri açalım

-> interfaces transceiver ddm enable
-> interfaces transceiver ddm trap enable

ddm nasıl aktif edileceğini öğrendikten sonra portları nasıl inceleyeceğimize bakalım. kullanacağımız komut takımı aşağıdaki gibi olacaktır

show interfaces transceiver [slot[/port[-port2]]] transceiver  [ddm | W-Low | W-High | A-Low | A-High | actual]


fcicek_omni_test> show interfaces transceiver
  Slot/  Thres-    Temp       Voltage      Current      Output       Input
  Port   hold       (C)         (V)          (mA)        (dBm)       (dBm)
-------+--------+----------+------------+------------+------------+------------
  1/1   Actual    22.0        3.335        0.000(AL)     -Inf(AL)    0.000
         A-High    75.0        3.630      100.000        7.000        2.000
         W-High    70.0        3.465       95.000        4.000       -1.000
         W-Low      0.0        3.135       55.000       -4.701      -15.800
         A-Low     -5.0        2.970       50.000       -8.700      -19.788
  1/2   Actual    33.0        3.307       37.858       -1.362        0.000
         A-High    78.0        3.700       85.000        2.000        2.500
         W-High    73.0        3.600       80.000        1.000        2.000
         W-Low     -8.0        3.000       20.000       -7.001      -18.013
         A-Low    -13.0        2.900       15.000       -8.000      -20.000

alcatel sr – fiziksel mtu

alcatel sr da fiziksel arayüzde seçilen kapsülleme tipine göre default mtu değerleri aşağıdaki gibi

fiziksel arayüz mtu degeri

alcatel omniswitch dhcp aktif edilmesi

alcatel omni 6800 serisi switchlerde dhcp konfigürasyonunu yapmanın en kolay ve kullanışlı yöntemi

/flash/switch/

dizini altında dhcpd.conf ve dhcpd.pcy dosyalarının ayarlarını bir text editörü ile yapıp yerleştirmek ve switch üzerinden dhcp özellikliği aktif etmek ve yeniden başlatmaktan geçiyor.

konfigürasyon dosyaları aşağıdaki formata uygun olmalıdır.

dhcpd.conf dosyası içeriği :

server-identifier alcatel-lucent.com;

      subnet 107.115.0.0 netmask 255.255.0.0 {
         dynamic-dhcp range 107.115.1.0 107.115.20.255 {
            option subnet-mask 255.255.0.0;
            option routers 107.115.0.254;
	    option domain-name-servers 1.1.1.1;
            option dhcp-lease-time 900;
         }
}
  
     subnet 107.116.0.0 netmask 255.255.0.0 {
         dynamic-dhcp range 107.116.1.0 107.116.20.255 {
            option subnet-mask 255.255.0.0;
            option routers 107.116.0.254;
	    option domain-name-servers 1.1.1.1;
            option dhcp-lease-time 900;
         }
}

dhcpd.pcy dosyası içeriği :

;
; QIP DHCP Policy File
;
PingDelay=500

konfigürasyon dosyalarını belirtilen dizin altında koyduktan sonra dhcp sunucu aktif edilir ve/veya yeniden başlatırlı

> dhcp-server enable
> dhcp-server restart

alcatel sr vpws

alcatel sr üzerinden bir vpws kurarken aşagıdaki tabloya uygun şekilde kurulmalıdır.

wpws

alcatel sr de yönlendirme protokollerinde default değerler

Protocols – Default preference

Directly connected		- 0
Static routes			- 5
OSPF internal			- 10
IS-IS level 1 internal		- 15
IS-IS level 2 internal		- 18
RIP				- 100
OSPF external			- 150
IS-IS level 1 external		- 160
IS-IS level 2 external		- 165
BGP				- 170

Alcatel Yönlendiricilerde SDP ( Service Distribution Path ) oluşturulması

Açılımı Service Distribution Path – Servis Dağıtım Yolu olan SDP yi cihazlar arasında trafiğin taşındığı sanal yol olarak tanımlayabiliriz.

SDP ler hakkında bilinmesi gereken en önemli bilgiler

– Cihazlar arasında SDP oluşturulurken gre veya mpls kapsülleme tiplerinden biri kullanılabilir.
– SDPler tek taraflı trafik taşımaktadır. nodelar arasında trafik taşımak için B_to_A ve A_to_B şeklinde SDP ler oluşturulmalıdır.
– SDP lerin minimum MTU değerlerine dikkat edilmelidir. MPLS kullanılacak 22 byte , GRE kullanılacaksa 46 byte ilave headerlar eklenecektir. 576 ile 9194 arasında bir mtu kullanılabilir.
– Her SDP için tek bir ID üretilir.
– Farklı servisler tek bir SDP yi kullanabilirler
– Tanımlamalarda yönlendirici IP adresleri kullanılır.

şeklinde sıralanabilir. Detay konusunda Alcatel dökümanlarına bakılması faydalı olacaktır.

Bu bilgilere göre oluşturulacak temel SDP konfigürasyonu aşağıdaki yapıda olacaktır.

config>service>sdp yonlendiri_ozel_sdp_id [gre | mpls]  create
description "yonlendiriciA-yonlendiriciB"
far-end uzak_uc_yonlendirici_ip_adresi
keep-alive
ldp (sadece MPLS SDP lerinde - LDP kullanılacaksa)
lsp lsp-name [lsp-name]  (sadece MPLS SDP lerinde - LSP kullanılacaksa)
signaling {off|tldp}
path-mtu mtu_degeri
no shutdown

şimdi değerleri yerine yazalım

GRE için SDP oluşturma

config>service# sdp 100 gre create
config>service>sdp# description "œA to B GRE"
config>service>sdp# far-end "œ10.10.10.2"
config>service>sdp# path-mtu 4462
config>service>sdp# no shutdown

MPLS (LSP) için SDP oluşturma.

config>service# sdp 101 mpls create
config>service>sdp# description "œA to B MPLS LSP"
config>service>sdp# far-end "œ10.10.10.2"
config>service>sdp# lsp "a_to_b_lsp"
config>service>sdp# path-mtu 4462
config>service>sdp# no shutdown

MPLS (LDP) için SDP oluşturma.

config>service# sdp 102 mpls create
config>service>sdp# description "œA to B MPLS LDP"
config>service>sdp# far-end "œ10.10.10.2"
config>service>sdp# ldp 
config>service>sdp# path-mtu 4462
config>service>sdp# no shutdown

ethernet paket yapısı – ethertype

iana.org tarafından yayınlanan ethernet paketinde kullanılan ethertype listesi aşağıdaki gibidir.

ethertype  hakkkında daha detaylı liste http://standards.ieee.org/develop/regauth/ethertype/eth.txt adresinden temin edilebilir.. listede dikkat çeken 804A ethertype i mevcut.. METU Bilgisayar mühendisliği olarak işlenmiş ancak detayını merak ederseniz google cevap vermiyor 🙂

Ethertype (decimal) Ethertype (hex)   Exp. Ethernet (decimal) Exp. Ethernet (octal)   Description  
0 0000-05DC IEEE802.3 Length Field
257 0101-01FF Experimental
512 200 512 1000 XEROX PUP (see 0A00)
513 201 PUP Addr Trans (see 0A01)
400 Nixdorf
1536 600 1536 3000 XEROX NS IDP
660 DLOG
661 DLOG
2048 800 513 1001 Internet Protocol version 4 (IPv4)
2049 801 X.75 Internet
2050 802 NBS Internet
2051 803 ECMA Internet
2052 804 Chaosnet
2053 805 X.25 Level 3
2054 806 Address Resolution Protocol (ARP)
2055 807 XNS Compatability
2056 808 Frame Relay ARP
2076 081C Symbolics Private
2184 0888-088A Xyplex
2304 900 Ungermann-Bass net debugr
2560 0A00 Xerox IEEE802.3 PUP
2561 0A01 PUP Addr Trans
2989 0BAD Banyan VINES
2990 0BAE VINES Loopback
2991 0BAF VINES Echo
4096 1000 Berkeley Trailer nego
4097 1001-100F Berkeley Trailer encap/IP
5632 1600 Valid Systems
22F3 TRILL
22F4 L2-IS-IS
16962 4242 PCS Basic Block Protocol
21000 5208 BBN Simnet
24576 6000 DEC Unassigned (Exp.)
24577 6001 DEC MOP Dump/Load
24578 6002 DEC MOP Remote Console
24579 6003 DEC DECNET Phase IV Route
24580 6004 DEC LAT
24581 6005 DEC Diagnostic Protocol
24582 6006 DEC Customer Protocol
24583 6007 DEC LAVC, SCA
24584 6008-6009 DEC Unassigned
24592 6010-6014 3Com Corporation
25944 6558 Trans Ether Bridging
25945 6559 Raw Frame Relay
28672 7000 Ungermann-Bass download
28674 7002 Ungermann-Bass dia/loop
28704 7020-7029 LRT
28720 7030 Proteon
28724 7034 Cabletron
32771 8003 Cronus VLN
32772 8004 Cronus Direct
32773 8005 HP Probe
32774 8006 Nestar
32776 8008 AT&T
32784 8010 Excelan
32787 8013 SGI diagnostics
32788 8014 SGI network games
32789 8015 SGI reserved
32790 8016 SGI bounce server
32793 8019 Apollo Domain
32814 802E Tymshare
32815 802F Tigan, Inc.
32821 8035 Reverse Address Resolution Protocol (RARP)
32822 8036 Aeonic Systems
32824 8038 DEC LANBridge
32825 8039-803C DEC Unassigned
32829 803D DEC Ethernet Encryption
32830 803E DEC Unassigned
32831 803F DEC LAN Traffic Monitor
32832 8040-8042 DEC Unassigned
32836 8044 Planning Research Corp.
32838 8046 AT&T
32839 8047 AT&T
32841 8049 ExperData
32859 805B Stanford V Kernel exp.
32860 805C Stanford V Kernel prod.
32861 805D Evans & Sutherland
32864 8060 Little Machines
32866 8062 Counterpoint Computers
32869 8065 Univ. of Mass. @ Amherst
32870 8066 Univ. of Mass. @ Amherst
32871 8067 Veeco Integrated Auto.
32872 8068 General Dynamics
32873 8069 AT&T
32874 806A Autophon
32876 806C ComDesign
32877 806D Computgraphic Corp.
32878 806E-8077 Landmark Graphics Corp.
32890 807A Matra
32891 807B Dansk Data Elektronik
32892 807C Merit Internodal
32893 807D-807F Vitalink Communications
32896 8080 Vitalink TransLAN III
32897 8081-8083 Counterpoint Computers
32923 809B Appletalk
32924 809C-809E Datability
32927 809F Spider Systems Ltd.
32931 80A3 Nixdorf Computers
32932 80A4-80B3 Siemens Gammasonics Inc.
32960 80C0-80C3 DCA Data Exchange Cluster
32964 80C4 Banyan Systems
32965 80C5 Banyan Systems
32966 80C6 Pacer Software
32967 80C7 Applitek Corporation
32968 80C8-80CC Intergraph Corporation
32973 80CD-80CE Harris Corporation
32975 80CF-80D2 Taylor Instrument
32979 80D3-80D4 Rosemount Corporation
32981 80D5 IBM SNA Service on Ether
32989 80DD Varian Associates
32990 80DE-80DF Integrated Solutions TRFS
32992 80E0-80E3 Allen-Bradley
32996 80E4-80F0 Datability
33010 80F2 Retix
33011 80F3 AppleTalk AARP (Kinetics)
33012 80F4-80F5 Kinetics
33015 80F7 Apollo Computer
33023 80FF Wellfleet Communications
33024 8100 Customer VLAN Tag Type (C-Tag, formerly called the Q-Tag) (initially Wellfleet)
33025 8101-8103 Wellfleet Communications
33031 8107-8109 Symbolics Private
33072 8130 Hayes Microcomputers
33073 8131 VG Laboratory Systems
33074 8132-8136 Bridge Communications
33079 8137-8138 Novell, Inc.
33081 8139-813D KTI
8148 Logicraft
8149 Network Computing Devices
814A Alpha Micro
33100 814C SNMP
814D BIIN
814E BIIN
814F Technically Elite Concept
8150 Rational Corp
8151-8153 Qualcomm
815C-815E Computer Protocol Pty Ltd
8164-8166 Charles River Data System
817D XTP
817E SGI/Time Warner prop.
8180 HIPPI-FP encapsulation
8181 STP, HIPPI-ST
8182 Reserved for HIPPI-6400
8183 Reserved for HIPPI-6400
8184-818C Silicon Graphics prop.
818D Motorola Computer
819A-81A3 Qualcomm
81A4 ARAI Bunkichi
81A5-81AE RAD Network Devices
81B7-81B9 Xyplex
81CC-81D5 Apricot Computers
81D6-81DD Artisoft
81E6-81EF Polygon
81F0-81F2 Comsat Labs
81F3-81F5 SAIC
81F6-81F8 VG Analytical
8203-8205 Quantum Software
8221-8222 Ascom Banking Systems
823E-8240 Advanced Encryption Syste
827F-8282 Athena Programming
8263-826A Charles River Data System
829A-829B Inst Ind Info Tech
829C-82AB Taurus Controls
82AC-8693 Walker Richer & Quinn
8694-869D Idea Courier
869E-86A1 Computer Network Tech
86A3-86AC Gateway Communications
86DB SECTRA
86DE Delta Controls
86DD Internet Protocol version 6 (IPv6)
34527 86DF ATOMIC
86E0-86EF Landis & Gyr Powers
8700-8710 Motorola
34667 876B TCP/IP Compression
34668 876C IP Autonomous Systems
34669 876D Secure Data
8808 IEEE Std 802.3 – Ethernet Passive Optical Network (EPON)
880B Point-to-Point Protocol (PPP)
880C General Switch Management Protocol (GSMP)
8847 MPLS
8848 MPLS with upstream-assigned label
8861 Multicast Channel Allocation Protocol (MCAP)
34915 8863 PPP over Ethernet (PPPoE) Discovery Stage
34916 8864 PPP over Ethernet (PPPoE) Session Stage
34958 888E IEEE Std 802.1X – Port-based network access control
34984 88A8 IEEE Std 802.1Q – Service VLAN tag identifier (S-Tag)
8A96-8A97 Invisible Software
34997 88B5 IEEE Std 802 – Local Experimental Ethertype
34998 88B6 IEEE Std 802 – Local Experimental Ethertype
34999 88B7 IEEE Std 802 – OUI Extended Ethertype
35015 88C7 IEEE Std 802.11 – Pre-Authentication (802.11i)
35020 88CC IEEE Std 802.1AB – Link Layer Discovery Protocol (LLDP)
35045 8,80E+06 IEEE Std 802.1AE – Media Access Control Security
35061 88F5 IEEE Std 802.1Q – Multiple VLAN Registration Protocol (MVRP)
35062 88F6 IEEE Std 802.1Q – Multiple Multicast Registration Protocol (MMRP)
35085 890D IEEE Std 802.11 – Fast Roaming Remote Request (802.11r)
35095 8917 IEEE Std 802.21 – Media Independent Handover Protocol
35113 8929 IEEE Std 802.1Qbe – Multiple I-SID Registration Protocol
35131 893B TRILL Fine Grained Labeling (FGL)
35136 8940 IEEE Std 802.1Qbg – ECP Protocol (also used in 802.1BR)
35142 8946 TRILL RBridge Channel
35143 8947 GeoNetworking as defined in ETSI EN 302 636-4-1
36864 9000 Loopback
36865 9001 3Com(Bridge) XNS Sys Mgmt
36866 9002 3Com(Bridge) TCP-IP Sys
36867 9003 3Com(Bridge) loop detect
65280 FF00 BBN VITAL-LanBridge cache
FF00-FF0F ISC Bunker Ramo
65535 FFFF Reserved

alcatel – epipe servisi oluşturma

epipe servisi iki nokta arasında bir bağlantı oluşturan bir servis türüdür. Yani bir VLL (Virtual Leased Line) dir. Müşteri için tamamiyle bir vll olarak çalışmaktadır. mac adresi öğrenimi gerekli olmamakla birlikte qos ve policy vb. uygulanabilmektedir.

Şimdi iki yönlendirici arasındaki bir epipe servis örneği yapalım. Bunun için

– yönlendiriciler üzerinde 100 ile müşterilerinin oluşturulduğunu
– yönlendiriciler arasında sdp lerin oluşturulduğu
– saplar için konfigürasyonların yapılmış olduğu varsayılacaktır.

öncelikle node A üzerinde epipe servisini oluşturalım.

config>service# epipe 500 customer 100 create
config>service>epipe$ description "œepipe-500 servisi-  A nodu"
config>service>epipe# no shutdown

epipe-500 e A yönlendiricisinde kullanacağımız sapı ekleyelim. bu örnekte A ve B yönlendiricilerinde 1/1/3 portu ve 100 vlanını kullanacağız.

config>service>epipe# sap 1/1/3:100
config>service>epipe>sap# no shutdown

istenirse sap altında gerekli qos ve policy eklenebilir.

şimdi sıra servisimizi için spoke sdp yi eklemeye geldi. A-B yönlendiricileri arasında 200 id li sdp yi kullanacağız. Burada dikkat etmemiz gereken kritik bir nokta mevcut. Spoke sdp oluşturulurken

spoke-sdp sdp-id:epipe-servis-id create

formatı kullanılması gerekmektedir. Buna uygun olarak değerlerimizi girersek 

config>service>epipe# spoke-sdp 200:500 create
config>service>epipe>spoke-sdp$ no shutdown
config>service>epipe>spoke-sdp$ exit
config>service>epipe# no shutdown
config>service>epipe# exit all

A yönlendiricisi için gerekli konfigürasyonu tamamlamış durumdayız. Şimdi B yönlendiricisi içinde gerekli konfigürasyonu yapalım. İşletme açısından burada dikkat edilmesinde fayda olacak bir konu A yönlendiricisinde kulllanılan epipe servis id sini B yönlendiricisinde de kullanılmasıdır.

config>service# epipe 500 customer 100 create
config>service>epipe$ description "œepipe-500 servisi- B nodu"
config>service>epipe# no shutdown

config>service>epipe# sap 1/1/3:100
config>service>epipe>sap# no shutdown
config>service>epipe>sap#exit 

config>service>epipe# spoke-sdp 201:500 create
config>service>epipe>spoke-sdp$ no shutdown
config>service>epipe>spoke-sdp$ exit
config>service>epipe# no shutdown
config>service>epipe# exit all
Back To Top