31 Mayıs 2018 Perşembe

Huawei Temel Komutları Genel

Huawei switchlerde şifre  kırma  , İşlem huawei switchlerin modellerine göre farklılık götserebilir   ama mantık bu şekildedir , Modem farklı olsa bile ilgili  seçenekler menüler altında bulunarak işlem uygulanır.


TEMEL
 

save
reset saved-configuration
display version
system-view
directory


snmp-agent sys-info version v2c
snmp-agent community read public123

SSH

aaa
local-user test privilege level 15 password cipher test1234  ftp-directory flash:
 local-user r1220 service-type ssh

stelnet ipv4 server enable

user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
 protocol inbound ssh


sysname TAISWITH

vlan batch 10 to 11 20

stp edged-port default

interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 20
 stp edged-port enable

display vlan 20
display port vlan

interface Vlanif20
 ip address 10.51.1.2 24

ip route-static 0.0.0.0 0.0.0.0 10.0.4.254

display current-configuration

stp enable
stp mode mstp
stp region-configuration
region-name RG1
instance 1 vlan 3 4 5
instance 2 vlan 6 7 8
active region-configuration

stp instance 2 priority 0

display stp brief 
display stp interface GigabitEthernet 0/0/10
stp priority 8192

stp mode rstp

LACP

interface Eth-Trunk1
 port link-type access
 port default vlan 20
 mode lacp
or
interface Eth-Trunk 1
mode lacp
port link-type trunk
port trunk allow-pass vlan all

interface Vlanif20
 ip address 10.51.1.2 255.255.255.0

[S1]interface Eth-Trunk 1
[S1-Eth-Trunk1]quit
[S1]interface GigabitEthernet 0/0/9
[S1-GigabitEthernet0/0/9]eth-trunk 1
port link-type access or trunk
[S1-GigabitEthernet0/0/9]quit
[S1]interface GigabitEthernet 0/0/10
[S1-GigabitEthernet0/0/10]eth-trunk 1
port link-type access or trunk

[S1]display eth-trunk 1



SYSLOG
info-center source default channel 2 log level warning !!! level koymuyor
info-center loghost 10.50.200.173
snmp-agent sys-info version all

Konfig backup 

set save-configuration interval 30 delay 1
set save-configuration backup-to-server server 10.51.1.208 transport-type tftp

 PASSWORD
 – Admin@huawei.com
 – www.huawei.com
– huawei.com
Cihaz yeni başlatıldığında ctrl+b ile bootrom menu açılır. Açılışta bir şifre soracaktır.
BIOS LOADING …
Copyright © 2008-2011 HUAWEI TECH CO., LTD.
(Ver148, Jun 26 2012, 18:45:31)
Press Ctrl+B to enter BOOTROM menu … 2
password:  “yukarıda verilen 3 şifre sırayla denenir.”
 TEMEL
   

save
reset saved-configuration
display version
system-view
directory


snmp-agent sys-info version v2c
snmp-agent community read public123

SSH

aaa
local-user test privilege level 15 password cipher test1234  ftp-directory flash:
 local-user r1220 service-type ssh

stelnet ipv4 server enable

user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
 protocol inbound ssh


sysname TAISWITH

vlan batch 10 to 11 20

stp edged-port default

interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 20
 stp edged-port enable

display vlan 20
display port vlan

interface Vlanif20
 ip address 10.51.1.2 24

ip route-static 0.0.0.0 0.0.0.0 10.0.4.254

display current-configuration

stp enable
stp mode mstp
stp region-configuration
region-name RG1
instance 1 vlan 3 4 5
instance 2 vlan 6 7 8
active region-configuration

stp instance 2 priority 0

display stp brief
display stp interface GigabitEthernet 0/0/10
stp priority 8192

stp mode rstp

LACP

interface Eth-Trunk1
 port link-type access
 port default vlan 20
 mode lacp
or
interface Eth-Trunk 1
mode lacp
port link-type trunk
port trunk allow-pass vlan all

interface Vlanif20
 ip address 10.51.1.2 255.255.255.0

[S1]interface Eth-Trunk 1
[S1-Eth-Trunk1]quit
[S1]interface GigabitEthernet 0/0/9
[S1-GigabitEthernet0/0/9]eth-trunk 1
port link-type access or trunk
[S1-GigabitEthernet0/0/9]quit
[S1]interface GigabitEthernet 0/0/10
[S1-GigabitEthernet0/0/10]eth-trunk 1
port link-type access or trunk

[S1]display eth-trunk 1



SYSLOG
info-center source default channel 2 log level warning !!! level koymuyor
info-center loghost 10.50.200.173
snmp-agent sys-info version all




STACK




HUAWEI STACK CONFIGURATION  NASIL YAPILIR


Elimizde 3 adet Huawei Switch Stack configurasyon yapılacaktır.


Switch A ,default ayarları olan şasi no 0 da bırakılacak
Switch B şasi IDsi “0” “1” olarak değiştirilecek .
Switch c şasi IDsi “0” “2” olarak değiştirilecek .


Switch A = 0 , Switch B = 1 ,Switch  C=2 ,olacak her bir ID  değişimi reboot gerektirecektir.


Ornek Konfigurasyon açıklaması


Adımlar
Switch A  Configuration


stack enable
stack slot 0 renumber 0 . <------- REBOOT gerektiren komut artık  Interfaceler 0 ile başla
stack slot 0 priority 50


interface stack-port 0/1 SANAL STACK PORTu olusturuluyor
port interface XGigabitEthernet0/0/3 enable 10 G PORT  SANAL STACK PORTUna gonderiliyor.Sıralama Onemli
interface stack-port 0/2
port interface XGigabitEthernet0/0/4 enable


Switch B Configuration
stack enable
stack slot 0 renumber 1 <------- REBOOT gerektiren komut artık  Interfaceler 1 ile başlar
stack slot 1 priority 20


interface stack-port 1/1
port interface XGigabitEthernet1/0/3 enable
interface stack-port 1/2
port interface XGigabitEthernet1/0/4 enable


Switch C Configuration
stack enable
stack slot 0 renumber 2               <------- REBOOT gerektiren komut artık  Interfaceler 2 ile başlar
stack slot 1 priority 20
interface stack-port 2/1
port interface 40GE2/0/1 enable
interface stack-port 2/2
port interface 40GE2/0/2 enable


SORUN GIDERME
INTERFACELERIN KAPATILMASI
  • Iki adımda port stack port içerisinden çıkarılır .
1 – XGigabit  stack port altında shutdown komutu ile kapatılır .


interface stack-port 0/1
port interface XGigabitEthernet0/0/1 enable
shutdown interface XGigabitEthernet0/0/1


2- Daha sonra port undo port komutu ile statck içierisinden çıkarılır .


[SW1-stack-port0/1]undo  port interface XGigabitEthernet0/0/1 enable


Warning: Deleting member port cause stack split and configuration loss on the interface, continue?[Y/N]:Y
Info: This operation may take a few seconds. Please wait for a moment.....
Aug  5 2015 21:44:01 SW1 %%01IFNET/4/IF_DISABLE(l)[0]:Interface XGigabitEthernet0/0/1 has been unavailable.
Aug  5 2015 21:44:02 SW1 %%01IFNET/4/IF_ENABLE(l)[1]:Interface XGigabitEthernet0/0/1 has been available.


STACK DURMUNUN MONITOR EDİLMESİ .








Password Recovery 

Daha sonra aşağıdaki gibi bir menü gelir;
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Reboot
Daha sonra 7. Clear password for console user seçeneği ile şifre kırılır.
Enter your choice(1-8): 7
Note: Clear password for console user? Yes or No(Y/N): y  “Y tuşuna basılıp enterlanır”
Tekrar aşağıdaki gibi aynı menü gelir ve cihazı başlatmak için 1. Boot with default mode seçilir.
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Reboot
elohab.net
Enter your choice(1-8): 1  “1 tuşu ile cihaz kaldığı yerden açılması için tetiklenir.”
Cihaz açıldığında bizden yeni şifreleri ister biz buraya “muhammet” yazıp enterlayınca şifre muhammet olarak değişecektir.

!Software Version V200R011C10SPC600
#
sysname SW1
#
vlan batch 10 to 11 15 20
#
stp edged-port default
#
multicast routing-enable
#
authentication-profile name default_authen_profile
authentication-profile name dot1x_authen_profile
authentication-profile name mac_authen_profile
authentication-profile name portal_authen_profile
authentication-profile name dot1xmac_authen_profile
authentication-profile name multi_authen_profile
#
igmp-snooping enable
#
set save-configuration delay 1
set save-configuration backup-to-server server 10.51.1.208 transport-type tftp
#
radius-server template default
#
pki realm default
 certificate-check none
#
traffic classifier test operator or
 if-match acl 3333
#
traffic behavior test
 statistic enable
#
traffic policy test
 classifier test behavior test
#
free-rule-template name default_free_rule
#
portal-access-profile name portal_access_profile
#
vlan 1
 multicast drop-unknown
 igmp-snooping enable
vlan 20
 multicast drop-unknown
 igmp-snooping enable
 igmp-snooping querier enable
#
aaa
 authentication-scheme default
 authentication-scheme radius
  authentication-mode radius
 authorization-scheme default
 accounting-scheme default
 local-aaa-user password policy administrator
  password history record number 0
  password expire 0
 domain default
  authentication-scheme radius
  radius-server default
 domain default_admin
  authentication-scheme default
 local-user test password irreversible-cipher $1a$|."_0%a%z@$ND`U,t*c0>._@HW()jvNo_,=J=6PRGnky6/WGVd*$
 local-user test privilege level 15
 local-user test ftp-directory flash:
 local-user test service-type ssh
 local-user admin password irreversible-cipher $1a$3ow3![gC:G$LM4AK*`u=20YQjN7Em($kC=b/CO=1Er,2\Gn%|LC$
 local-user admin privilege level 15
 local-user admin service-type terminal http
 local-user r1220 password irreversible-cipher $1a$IldX!p;,%X$4yepINDU)(r_NaLde|p>lfX/4Nev2D[yj]Igetr5$
 local-user r1220 privilege level 15
 local-user r1220 ftp-directory flash:
 local-user r1220 service-type ssh
 local-user deneme password irreversible-cipher $1a$o"aoIz=2vB$yx7bKYAedYNO\QT2ULGCwd&BR7F&HLx$`{Tw!x8U$
 local-user deneme privilege level 15
 local-user deneme ftp-directory flash:
 local-user deneme service-type ssh
#
interface Vlanif1
#
interface Vlanif20
 ip address 10.51.1.2 255.255.255.0
#
interface MEth0/0/1
#
interface Eth-Trunk1
 port link-type access
 port default vlan 20
 mode lacp
#
interface Eth-Trunk2
 port link-type access
 port default vlan 20
 mode lacp
#
interface Eth-Trunk3
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.19 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet0/0/4
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.19 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet0/0/5
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.7 vlan 20
 l2-multicast static-group group-address 225.1.1.10 vlan 20
#
interface GigabitEthernet0/0/6
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/7
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet0/0/8
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet0/0/9
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet0/0/10
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet0/0/11
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/12
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/13
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/14
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/15
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/16
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/17
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/18
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/19
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet0/0/20
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet0/0/21
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.7 vlan 20
#
interface GigabitEthernet0/0/22
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.7 vlan 20
#
interface GigabitEthernet0/0/23
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/24
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/25
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/26
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/27
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/28
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/29
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/30
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/31
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/32
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/33
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/34
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/35
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/36
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/37
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/38
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.26 vlan 20
#
interface GigabitEthernet0/0/39
 eth-trunk 1
#
interface GigabitEthernet0/0/40
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/41
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/42
 eth-trunk 2
#
interface GigabitEthernet0/0/43
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/44
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/45
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/46
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/47
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet0/0/48
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/1
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet1/0/2
 port link-type access
 port default vlan 20
 stp edged-port enable
 traffic-policy test inbound
 traffic-policy test outbound
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet1/0/3
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.19 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet1/0/4
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.8 vlan 20
 l2-multicast static-group group-address 225.1.1.17 vlan 20
 l2-multicast static-group group-address 225.1.1.19 vlan 20
 l2-multicast static-group group-address 225.1.1.21 vlan 20
 l2-multicast static-group group-address 225.1.1.25 vlan 20
 l2-multicast static-group group-address 225.1.1.29 vlan 20
#
interface GigabitEthernet1/0/5
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.7 vlan 20
 l2-multicast static-group group-address 225.1.1.10 vlan 20
#
interface GigabitEthernet1/0/6
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/7
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.2 to 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet1/0/8
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.2 to 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet1/0/9
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet1/0/10
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.3 vlan 20
 l2-multicast static-group group-address 225.1.1.5 vlan 20
 l2-multicast static-group group-address 225.1.1.24 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet1/0/11
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/12
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/13
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/14
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/15
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/16
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/17
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/18
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/19
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet1/0/20
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.1 vlan 20
 l2-multicast static-group group-address 226.1.1.1 vlan 20
#
interface GigabitEthernet1/0/21
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.7 vlan 20
#
interface GigabitEthernet1/0/22
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.7 vlan 20
#
interface GigabitEthernet1/0/23
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/24
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/25
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/26
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/27
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/28
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/29
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/30
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/31
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.2 to 225.1.1.3 vlan 20
#
interface GigabitEthernet1/0/32
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.2 to 225.1.1.3 vlan 20
#
interface GigabitEthernet1/0/33
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.66 vlan 20
#
interface GigabitEthernet1/0/34
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/35
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/36
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/37
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.2 vlan 20
#
interface GigabitEthernet1/0/38
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.4 vlan 20
 l2-multicast static-group group-address 225.1.1.26 vlan 20
#
interface GigabitEthernet1/0/39
 eth-trunk 1
#
interface GigabitEthernet1/0/40
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/41
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/42
 eth-trunk 2
#
interface GigabitEthernet1/0/43
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/44
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/45
 port link-type access
 port default vlan 20
 stp edged-port enable
 l2-multicast static-group group-address 225.1.1.2 vlan 20
#
interface GigabitEthernet1/0/46
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/47
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface GigabitEthernet1/0/48
 port link-type access
 port default vlan 20
 stp edged-port enable
#
interface XGigabitEthernet0/0/1
#
interface XGigabitEthernet0/0/2
#
interface XGigabitEthernet0/0/3
#
interface XGigabitEthernet0/0/4
#
interface XGigabitEthernet1/0/1
#
interface XGigabitEthernet1/0/2
#
interface XGigabitEthernet1/0/3
#
interface XGigabitEthernet1/0/4
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 10.51.1.10
#
snmp-agent
snmp-agent local-engineid 800007DB03F063F9AD2FD0
snmp-agent community read cipher %^%#-*$4.i=U;HN%&KT4Ye6ORYv%D(,_,Af_b$YY>d5)}w[BFAZ;=B'7#BWW+ww.:Po19xnIc=lx4mKXJY01%^%#
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 10.50.200.173 udp-port 161 params securityname cipher %^%#vwj-D4bl=,xQznTkK-c9p]QDP1d_%Ryw-lI5&g&E%^%#
snmp-agent trap enable
#
stelnet ipv4 server enable
stelnet ipv6 server enable
ssh user r1220
ssh user r1220 authentication-type all
ssh user r1220 service-type all
#
user-interface con 0
 authentication-mode none
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
user-interface vty 16 20
#
dot1x-access-profile name dot1x_access_profile
#
mac-access-profile name mac_access_profile
#
return 

Hiç yorum yok:

Yorum Gönder