導航:首頁 > 程序命令 > ibm光纖交換機日誌導出命令

ibm光纖交換機日誌導出命令

發布時間:2022-09-03 12:29:29

⑴ 查看交換機最新日誌命令是:show log ,怎麼一下就能看到最新的日誌,命令是什麼

如果log日誌過多的話可以使用管道符篩選,比如log顯示格式 為Aug 24 11:21:05.355:這種正常日期格式,那麼你可以使用show log | in Aug 這樣看到的就是8月份的log,自己匹配就行了

⑵ 博科300光纖交換機支持syslog日誌輸出嗎

筆記本鍵盤出現了按鍵失靈情況,這種情況多是由於軟體原因或鍵盤串鍵、短路或其他硬體故障等原因造成的,導致其他按鍵失靈,建議您可以做如下檢查確認故障進行嘗試: 1.開機出現SAMSUNG 圖標時按F2鍵進入BIOS設置,按F9鍵將BIOS恢復為出廠模式,按F10保存並重啟。 2.用U盤或光碟啟動進入PE或Dos模式中確認是否可用。 3.開機出現系統圖標前快速按F8鍵進入安全模式後進行嘗試,確認是否為系統或軟體故障引起。 4.查看按鍵下是否有異物,如有異物建議您將機器倒置或搖晃,也可請使用毛刷,、鑷子、氣吹等工具進行簡單的清除(注意不要損壞按鍵下支架,不建議非專業人員嘗試,以避免更嚴重的損壞)。若情況嚴重建議您送至售後服務中心由專業工程師進行清潔維修。 5.確認鍵盤是否曾有浸液史、確認失靈按鍵按下後是否可正常彈起,若發生過浸液或不能正常彈起則需要到售後服務中心,由工程師幫助您進一步檢查與維修。 6.重新安裝操作系統嘗試(提示您先備份重要數據與資料)。 7.若您需臨時使用,也可連接USB鍵盤使用。

⑶ IBM光纖交換機如何輸入命令

HP B24光纖交換機配置Zone

系統要求:使用WEB方式連接,配置機器需要安裝有JAVA
光纖交換機默認的IP地址:10.77.77.77
默認的子網掩碼:255.255.255.0

給配置機器配置一個和光纖交換機相同網段的IP地址.
例如:10.77.77.50/24

把網線一端插入光前交換機的網路配置口,
備注:光纖交換機上有2個管理口,1個是用串口方式,這里使用的是IP管理口.

使用IE,直接鍵入:10.77.77.77
輸入用戶名和密碼.
默認用戶名:admin
默認密碼:password

下圖為初試界面

點擊界面左側的 Zone Admin

6.下圖為Zone Admin的界面

7先點擊紅線標出的Zone,然後點擊綠線標出New Zone,會出現輸入Zone Name 的對話框.

8. 先選擇Zone名稱,然後把交換機的埠添加進Zone內.

9. 然後創建Zone Congfig組

10. 選擇congfig名稱,然後把配置好的Zone添加進congfig中

11. 然後Save Config ,然後Enable Config

⑷ 關於思科交換機的日誌輸出問題

你還要在交換機上設置snmptrap,說白了就是當交換機的某些狀態變化時自動發一條消息給syslog伺服器。

在我的3750上面默認有如下的trap

sw01(config)#snmp-serverenabletraps?

clusterEnableClustertraps

configEnableSNMPconfigtraps

-configEnableSNMPconfig-traps

entityEnableSNMPentitytraps

fru-

hsrpEnableSNMPHSRPtraps

mac-

port-

snmpEnableSNMPtraps

stpxEnableSNMPSTPXMIBtraps

syslogEnableSNMPsyslogtraps

vlan-

vtpEnableSNMPVTPtraps

<cr>

如果開啟的話,上面的配置每發生一次變化就會發送一條消息出去。IOS版本不一樣,支持的trap有多有少。

在配置模式下輸入snmp-serverenabletraps就開啟了。但是還得加點條件。

比如說接收trap的伺服器地址:snmp-serverhost192.168.x.xtrapsxxxxx

把命令帖完格式全變了,給你帖個圖上來吧。

⑸ 求交換機、路由器命令大全!

銳捷網路 配置命令 和CISCO 基本一樣 自己總結的
交換機
密碼
1234(config)#enable secret level 1 0 100
1234(config)#enable secret level 15 0 100
遠程登入密碼
1234(config)#line vty 0 4
1234(config-line)#password 100
1234(config-line)#end
交換機管理IP
1234(config)#interface vlan 1
1234(config-if)#ip address 192.168.1.10 255.255.255.0
1234(config-if)#no shutdown
修改交換機老化時間
1234(config)#mac-address-table aging-time 20
1234(config)#end
添刪vlan
1234(config)#vlan 888
1234(config-vlan)#name a888
1234(config)#no vlan 888
添加access口
1234(config)#interface gigabitEthernet 0/10
1234(config-if)#switchport mode access
1234(config-if)#switchport access vlan 10
切換assess trunk
1234(config-if)#switchport mode access
1234(config-if)#switchport mode trunk
指定特定一個native vlan
1234(config-if)#switchport trunk native vlan 10
配置trunk口的許可vlan列表
1234(config-if)#switchport trunk allowed vlan ?
add Add VLANs to the current list
all All VLANs
except All VLANs except the following
remove Remove VLANs from the current list
速成樹協議
1234(config)#spanning-tree
1234(config)#spanning-tree mode rstp/stp
配置網關:
switch(config)#ip default-gateway 192.168.1.254
交換機基本配置-常見查看命令
查看CPU利用率
show cpu
查看交換機時鍾
show clock
查看交換機日誌
show logging
查看交換機動態學習到的MAC地址表
show mac-address-table dynamic
查看當前交換機運行的配置文件
show running-config
查看交換機硬體、軟體信息
show version
查看交換機的arp表
show arp
顯示介面詳細信息的命令
show interfaces gigabitEthernet 4/1 counters
介面配置
Switch(config)#interface gigabitethernet 0/1
把介面工作模式改為光口。
Switch(config-if)#medium-type fiber
把介面工作模式改為電口。
Switch(config-if)#medium-type copper
速度/雙工配置
進入介面配置模式。
Switch(config)#interface interface-id
設置介面的速率參數,或者設置為auto。
Switch(config-if)#speed {10 | 100 | 1000 | auto }
設置介面的雙工模式。
Switch(config-if)#plex {auto | full | half}
例子
Switch(config)#interface gigabitethernet 0/1
Switch(config-if)#speed 1000
Switch(config-if)#plex full
光口不能修改速度和雙工配置,只能auto。
在故障處理的時候,如果遇到規律性的時斷時續或掉包,在排除其他原因後,可以考慮是否和對端設備的速率和雙工模式不匹配,尤其是兩端設備為不同廠商的時候。
VLAN
建立VLAN 100
Switch (config)#vlan 100
該VLAN名稱為ruijie
Switch (config)#name ruijie
將交換機介面劃入VLAN 中:
range表示選取了系列埠1-48,這個對多個埠進行相同配置時非常有用。
Switch (config)#interface range f 0/1-48
將介面劃到VLAN 100中。
Switch (config-if-range)#switchport access vlan 100
將介面劃回到默認VLAN 1中,即埠初始配置。
Switch (config-if-range)#no switchport access vlan
Switch(config)#interface fastEthernet 0/1
該埠工作在access模式下
Switch(config-if)#switchport mode access
該埠工作在trunk模式下
Switch(config-if)#switchport mode trunk
Switch(config)#interface fastEthernet 0/2
設定VLAN要修剪的VLAN。
Switch(config-if)#switchport trunk allowed vlan remove 2-9,11-19,21-4094
取消埠下的VLAN修剪。
Switch(config-if)#no switchport trunk allowed vlan
生成樹
開啟生成樹協議。
Switch(config)#spanning-tree
禁止生成樹協議。
Switch(config)#no spanning-tree
配置生成樹優先順序:
配置設備優先順序為4096。
Switch(config)#spanning-tree priority 4096
數值越低,優先順序別越高。
埠鏡像
配置G0/2為鏡像埠。
Switch (config)# monitor session 1 destination interface G 0/2
配置G0/1為被鏡像埠,且出入雙向數據均被鏡像。
Switch (config)# monitor session 1 source interface G 0/1 both
去掉鏡像1。
Switch (config)# no monitor session 1
埠聚合
Switch(config)#interface fastEthernet 0/1
把埠f0/1加入到聚合組1中。
Switch (config-if)#port-group 1
把埠f0/1從聚合組1中去掉
Switch (config-if)#no port-group 1
建立ACL:
建立ACL訪問控制列表名為ruijie,extend表示建立的是擴展訪
Switch(config)# Ip access-list exten ruijie
問控制列表。
添加ACL的規則:
禁止PING IP地址為192.168.1.1的設備。
Switch (config-ext-nacl)#deny icmp any 192.168.1.1 255.255.255.0
禁止埠號為135的應用。
Switch (config-ext-nacl)# deny tcp any any eq 135
禁止協議為www的應用。
Switch (config-ext-nacl)#deny udp any any eq www
允許所有行為。
Switch(config-ext-nacl)# permit ip any any
將ACL應用到具體的介面上:
Switch (config)#interface range f 0/1
把名為ruijie的ACL應用到埠f 0/1上。
Switch (config-if)#ip access-group ruijie in
從介面去除ACL。
Switch (config-if)#no ip access-group ruijie in
刪除ACL:
刪除名為ruijie的ACL。
Switch(config)#no Ip access-list exten ruijie
增加ACE項後,是增加到ACL最後,不可以中間插入,如果要調整ACE的順序,必須整個刪除ACL後再重新配置。
埠安全
Switch (config)#interface range f 0/1
開啟埠安全。
Switch(config-if)# switchport port-security
關閉埠安全。
Switch(config-if)# no switchport port-security
設置埠能包含的最大安全地址數為8。
Switch(config-if)# switchport port-security maximum 8
在介面fastethernet0/1配置一個安全地址00d0.f800.073c,並為其綁定一個IP地址192.168.1.1
Switch(config-if)# switchport port-security mac-address 00d0.f800.073c ip-address 192.168.1.1
刪除介面上配置的安全地址。
Switch(config-if)#no switchport port-security mac-address 00d0.f800.073c ip-address 192.168.1.1
防ARP攻擊
IP和MAC地址的綁定
Switch(config)#arp ip-address hardware-address [type] interface-id
Switch(config)#arp 192.168.12.111 00d0.f800.073c arpa g 0/1
綁定網關
進入指定埠進行配置。
Switch(config)#Interface interface-id
配置防止ip-address的ARP欺騙。
Switch(config-if)#Anti-ARP-Spoofing ip ip-address
防STP攻擊
進入埠Fa0/1。
Switch(config)# inter fastEthernet 0/1
打開該埠的的BPDU guard功能。
Switch(config-if)# spanning-tree bpguard enable
關閉該埠的的BPDU guard功能。
Switch(config-if)# spanning-tree bpguard diaable
埠關閉後只能shutdown然後再no shutdown
或者重新啟動交換機才能恢復!
防DOS/DDOS攻擊
進入埠Fa0/1。
Switch(config)# inter fastEthernet 0/1
預防偽造源IP的DOS攻擊的入口過濾功能。
Switch(config-if)#ip deny spoofing-source
關閉入口過濾功能只能在三層介面上配置。
Switch(config-if)#no ip deny spoofing-source
和ACL不能同時存在。
埠關閉後只能shutdown然後再no shutdown
或者重新啟動交換機才能恢復!
防IP掃描攻擊配置:
打開系統保護。
Switch(config)#system-guard enable
關閉系統保護功能。
Switch(config)#no system-guard
DHCP配置
打開DHCP Relay Agent:
Switch(config)#service dhcp
配置DHCP Server的IP地址:
Switch(config)#ip helper-address address
VRRP配置
Switch(config)#Interface interface-id
Switch(config-if)#Standby [group-number] ip ip-address
設置虛擬機的優先順序。
standby [group-number] priority priority
三層交換機配置
SVI:
把VLAN 10配置成SVI。
switch (config)#interface vlan 10
給該SVI介面配置一個IP地址
switch (config-if)#ip address 192.168.1.1 255.255.255.0
Routed Port:
switch (config)#interface fa 0/1
把f 0/1變成路由口。
switch (config-if)#no switch
路由配置:
添加一條路由。
switch (config)#ip route 目的地址 掩碼 下一跳
switch (config)#ip route 210.10.10.0 255.255.255.0 218.8.8.8
WEB登錄口令(特權模式口令)
enable password 1234
telnet登錄口令
line vty 0 4
password 1234
重啟
reload
恢復出廠配置
del config.text
reload
埠監控
mirror master lan 2 slave lan 0 all
DHCP配置
ip dhcp pool ruijie
network 192.168.1.0 255.255.255.0
dns-sever 202.101.98.55
default-router 192.168.1.1
exit
exit
虛擬伺服器
ip nat in sou sta tcp 192.168.0.254 80 61.154.28.207 80 per
DNS中繼
ip nat ap so list 99 de udp 192.168.1.1 53 de 202.96.64.68 53
SNTP配置
sntp enable
sntp interval 600
sntp server 128.9.176.30
DNS配置
ip domain-lookup
ip name-server 202.101.98.55
線路檢測配置
int f1/0
keepalive dns 202.101.98.55
int f1/1
keepalive ping 61.154.28.193
VPN類型
PPTP
L2TP
IPSec
路由設置
一 電信網通雙線
ip route 0.0.0.0 0.0.0.0 61.154.28.193
ip route 58.16.0.0 255.255.0.0 61.134.96.1 網通路由表
二 雙線 內部劃分
access-list 3100 permit ip 192.168.1.2 192.168.1.15 any
access-list 3101 permit ip 192.168.1.16 192.168.1.254 any 定義類型
ip default-route list 3100 out-interface f1/0
ip default-route list 3101 out-interface f1/1 指定出口
vlan劃分
int fa0/0.1
encapsulation dot1q 1
ip address 192.168.10.1 255.255.255.0
vlan part 0
exit
int fa0/0.2
encapsulation dot1q 2
ip address 192.168.20.1 255.255.255.0
vlan port 1
日誌功能開啟
service timestamps log datetime
service sequence-numbers
防攻擊
security anti-wan-attack level high
security anti-lan-attack
限制NAT會話數
ip nat translation per-user 0.0.0.0 200
IP限速
ip nat translation rate-limit ip 0.0.0.0 in 500 out 1000
MAC/IP地址綁定
arp 192.168.0.254 00d0.f800.0001 arpa

arp scan 192.68.1.2 192.168.1.254 int f0/0
arp convert int f0/0
定時發送免費ARP
int f0/0
arp gratuious-send interval 1 10
exit
int f1/0
arp gratuious-send interval 1 10
智能防ARP欺騙功能
security anti-arp-spoof
txt格式下載地址:http://bbs.51cto.com/thread-180504-1.html

⑹ 筆記本電腦如何查看交換機的日誌

1、首先你要開啟交換機的日誌功能,logging on
2、然後用命令查看show logging buffer 查看最近的日誌,
3、如果你要所有日誌就只有建立日誌伺服器,
4、如果你網內有linux或者unix伺服器就方便了,只需啟動一個服務,修改幾個參數,

⑺ 如何導入導出交換機配置

用TFTP、FTP或者用web管理頁面導入導出。實在不行還可以在命令行使用dis cur命令導出。

⑻ 如何查看交換機日誌文件

1、首先雙擊打開robotframework的操作界面,選擇打開tools選項中的run tests設置。

⑼ 我用超級終端調試交換機,結束後想把我使用過的命令輸出到一個文本中,應該怎麼操作

有2個方法:
1、用securcRT這個軟體,可以設置為把結果輸出到文件。
2、將超級終端的緩沖設置大點,然後把結果全選、復制就行了

⑽ 光纖存儲交換機查看日誌命令

Brocade SAN交換機常用命令

使用電腦連接管理網口,默認IP地址為:192.168.0.1,掩碼:255.255.255.0

默認用戶名:admin,默認密碼password

1. switchStatusShow

查看交換機的總體健康狀態

switch:admin> switchstatusshow

Switch Health Report

Switch Name: SWFCR

IP address: 10.33.54.176

SwitchState: MARGINAL

Duration: 863:23

Power supplies monitor MARGINAL

Temperatures monitor HEALTHY

Fans monitor HEALTHY

WWN servers monitor HEALTHY

Standby CP monitor HEALTHY

Blades monitor HEALTHY

Flash monitor HEALTHY

Marginal ports monitor HEALTHY

Faulty ports monitor HEALTHY

Missing SFPs monitor HEALTHY

All ports are healthy

switch:admin>

2. switchShow

查看交換機基本配置信息

Enter the switchShow command, which displays the following information for a switch:

- switchname - The switch name.

- switchtype - The switch model and firmware version numbers.

- switchstate - The switch state: Online, Offline, Testing, or Faulty.

- switchrole - Displays the switch role: Principal, Subordinate, or Disabled.

- switchdomain - Displays the switch Domain ID.

閱讀全文

與ibm光纖交換機日誌導出命令相關的資料

熱點內容
手機命令大全 瀏覽:806
怎麼下郵政銀行app 瀏覽:246
不背單詞app單詞怎麼學習 瀏覽:479
程序員日常操作搞笑 瀏覽:379
android檢查是否安裝 瀏覽:373
蘋果手機編輯pdf文件 瀏覽:458
android系統名字 瀏覽:969
安卓手機如何進去有求必應屋 瀏覽:432
指數除法運演算法則底數不同 瀏覽:894
90壓縮干糧09壓縮干糧 瀏覽:516
android線程池框架 瀏覽:481
手機自帶解壓能解壓哪些文件 瀏覽:804
linux安裝hba驅動 瀏覽:119
java構造函數new 瀏覽:668
怎麼查家裡電器耗電量app 瀏覽:506
原神一直顯示重新連接伺服器怎麼辦 瀏覽:826
一般用途軸流式壓縮機 瀏覽:926
沒學歷的怎麼學編程 瀏覽:901
華為的隱藏相冊無法加密 瀏覽:782
聯通套餐app怎麼設置 瀏覽:752