网络运维常用命令


CISCO
查看端口错误信息show interfaces counters errors 首先查看交换机logsh log查看是否有系统关闭端口:show interfaces status err-disabled查看及清除端口error信息统计:show interfaces gigabitEthernet 1/0/11 | include errorclear counters gigabitEthernet 1/0/11查看G1/0/11下交换机名字/IP:show cdp neighborsshow cdp neighbors gigabitEthernet 1/0/11 detail通过MAC找IP/通过IP找MACshow mac address-table | include xxxx.xxxx.xxxshow arp | include xxxx.xxxx.xxxxshow arp | include 192.168.88.88H3C排错原理同上
开启网络设备SSH:H3C
local-user admin class managepassword hash xxxxxxxxservice-type ssh terminal httpsauthorization-attribute user-role network-adminline vty 0 63authentication-mode schemeuser-role network-adminprotocol inbound sshcisco
username aaa privilege 1 password 0 bbbline vty 0 4login local#######R2(config)#ip domain-name man.com免费云主机域名R2(config)#crypto key generate rsaR2(config)#username man secret ciscoR2(config-line)#transport input sshR2(config-line)#login local

H3C QOS限速
qos lr inbound cirqos 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号节点,指定所有TCP报文的下一跳为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上应用接口策略路由,处理此接口接收的报文。[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] quitcisco 为类似功能为IP SLA,未在生产环境测试.路由侦测
H3C
ip route-static 123.58.40.250/32 X.X.X.X (联通IP城域网下一跳)ip route-static 0.0.0.0 0.0.0.0 X.X.X.X preference 80ip route 0.0.0.0.0 0.0.0.0 A.A.A.A(电信IP城域网出口) track 1nqa entry admin testtype icmp-echo destination ip A.A.A.A //电信IP城域网出口 frequency 100 next-hop A.A.A.A reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-onlynqa schedule admin test start-time now lifetime forevertrack 1 nqa entry admin test reaction 1cisco 为类似功能为BFD,未在生产环境测试.

双核心配置H3C VRRP:SW1
interface Vlan-interface800ip address 1.1.1.249 255.255.255.0vrrp vrid 8 virtual-ip 1.1.1.253vrrp vrid 8 priority 110SW2
interface Vlan-interface800
ip address 1.1.1.250 255.255.255.0vrrp vrid 8 virtual-ip 1.1.1.253vrrp vrid 8 priority 115
dis vrrpCISCO HSRP:
sw1standby 2 ip 1.1.1.250standby 2 priority 120standby 2 preemptsw2standby 2 ip 1.1.1.250standby 2 priority 90standby 2 preempt
show standby链路聚合H3C:interface Bridge-Aggregation 1port link-type trunkport trunk permit vlan allint g1/0/1port link-mode bridgeport link-type trunkport trunk permit vlan allport link-aggregation group 1int g1/0/2port link-mode bridgeport link-type trunkport trunk permit vlan allport link-aggregation group 1cisco:3550(config)#interface gigabitethernet 0/13550(config-if)#no switchport
3550(config-if)#channel-group 1 mode active3550(config)#interface gigabitethernet 0/23550(config-if)#no switchport
3550(config-if)#channel-group 1 mode active

相关推荐: Vue-Router使用实例代码分析

本文小编为大家详细介绍“Vue-Router使用实例代码分析”,内容详细,步骤清晰,细节处理妥当,希望这篇“Vue-Router使用实例代码分析”文章能帮助大家解决疑惑,下面跟着小编的思路慢慢深入,一起来学习新知识吧。Vue-Router的最简单使用1.先注册…

免责声明:本站发布的图片视频文字,以转载和分享为主,文章观点不代表本站立场,本站不承担相关法律责任;如果涉及侵权请联系邮箱:360163164@qq.com举报,并提供相关证据,经查实将立刻删除涉嫌侵权内容。

(0)
打赏 微信扫一扫 微信扫一扫
上一篇 01/26 12:43
下一篇 01/26 12:49