CISCO
為成縣等地區(qū)用戶提供了全套網(wǎng)頁(yè)設(shè)計(jì)制作服務(wù),及成縣網(wǎng)站建設(shè)行業(yè)解決方案。主營(yíng)業(yè)務(wù)為成都網(wǎng)站制作、網(wǎng)站建設(shè)、成縣網(wǎng)站設(shè)計(jì),以傳統(tǒng)方式定制建設(shè)網(wǎng)站,并提供域名空間備案等一條龍服務(wù),秉承以專業(yè)、用心的態(tài)度為用戶提供真誠(chéng)的服務(wù)。我們深信只要達(dá)到每一位用戶的要求,就會(huì)得到認(rèn)可,從而選擇與我們長(zhǎng)期合作。這樣,我們也可以走得更遠(yuǎn)!
查看端口錯(cuò)誤信息
show interfaces counters errors
首先查看交換機(jī)log
sh log
查看是否有系統(tǒng)關(guān)閉端口:
show interfaces status err-disabled
查看及清除端口error信息統(tǒng)計(jì):
show interfaces gigabitEthernet 1/0/11 | include error
clear counters gigabitEthernet 1/0/11
查看G1/0/11下交換機(jī)名字/IP:
show cdp neighbors
show cdp neighbors gigabitEthernet 1/0/11 detail
通過(guò)MAC找IP/通過(guò)IP找MAC
show mac address-table | include xxxx.xxxx.xxx
show arp | include xxxx.xxxx.xxxx
show arp | include 192.168.88.88
H3C排錯(cuò)原理同上
開啟網(wǎng)絡(luò)設(shè)備SSH:
H3C
local-user admin class manage
password hash xxxxxxxx
service-type ssh terminal https
authorization-attribute user-role network-admin
line vty 0 63
authentication-mode scheme
user-role network-admin
protocol inbound ssh
cisco
username aaa privilege 1 password 0 bbb
line vty 0 4
login local
#######R2(config)#ip domain-name man.com
R2(config)#crypto key generate rsa
R2(config)#username man secret cisco
R2(config-line)#transport input ssh
R2(config-line)#login local
H3C QOS限速
qos lr inbound cir
qos lr outbound cir
H3C PBR策略路由
[SwitchA] acl number 3101
[SwitchA-acl-adv-3101] rule permit tcp destination-port 80
[SwitchA-acl-adv-3101] quit
# 定義5號(hào)節(jié)點(diǎn),指定所有TCP報(bào)文的下一跳為1.1.2.2。
[SwitchA] policy-based-route aaa permit node 5
[SwitchA-pbr-aaa-5] if-match acl 3101
[SwitchA-pbr-aaa-5] apply ip-address next-hop 1.1.2.2
[SwitchA-pbr-aaa-5] quit
# 在接口Vlan-interface11上應(yīng)用接口策略路由,處理此接口接收的報(bào)文。
[SwitchA] interface vlan-interface 11
[SwitchA-Vlan-interface11] ip address 10.110.0.10 255.255.255.0
[SwitchA-Vlan-interface11] ip policy-based-route aaa
[SwitchA-Vlan-interface11] quit
cisco 為類似功能為IP SLA,未在生產(chǎn)環(huán)境測(cè)試.
路由偵測(cè)
H3C
ip route-static 123.58.40.250/32 X.X.X.X (聯(lián)通IP城域網(wǎng)下一跳)
ip route-static 0.0.0.0 0.0.0.0 X.X.X.X preference 80
ip route 0.0.0.0.0 0.0.0.0 A.A.A.A(電信IP城域網(wǎng)出口) track 1
nqa entry admin test
type icmp-echo
destination ip A.A.A.A //電信IP城域網(wǎng)出口
frequency 100
next-hop A.A.A.A
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
nqa schedule admin test start-time now lifetime forever
track 1 nqa entry admin test reaction 1
cisco 為類似功能為BFD,未在生產(chǎn)環(huán)境測(cè)試.
雙核心配置
H3C VRRP:
SW1
interface Vlan-interface800
ip address 1.1.1.249 255.255.255.0
vrrp vrid 8 virtual-ip 1.1.1.253
vrrp vrid 8 priority 110
SW2
interface Vlan-interface800
ip address 1.1.1.250 255.255.255.0
vrrp vrid 8 virtual-ip 1.1.1.253
vrrp vrid 8 priority 115
dis vrrp
CISCO HSRP:
sw1
standby 2 ip 1.1.1.250
standby 2 priority 120
standby 2 preempt
sw2
standby 2 ip 1.1.1.250
standby 2 priority 90
standby 2 preempt
show standby
鏈路聚合
H3C:
interface Bridge-Aggregation 1
port link-type trunk
port trunk permit vlan all
int g1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
int g1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
cisco:
3550(config)#interface gigabitethernet 0/1
3550(config-if)#no switchport
3550(config-if)#channel-group 1 mode active
3550(config)#interface gigabitethernet 0/2
3550(config-if)#no switchport
3550(config-if)#channel-group 1 mode active