城域网BAS及SR命令集
学网络的看看
城域网BRAS及SR命令集
1 BRAS部分
1.1 华为ME60\5200G相关命令
※ 查看所有配置
display current-configuration
※ 查看接口配置
display current-configuration interface ××× #后面跟端口号
※ OSPF相关查看命令
display current-configuration configuration ospf #查看OSPF配置
display ospf peer #查看OSPF领居
display ospf interface ×××
display ip routing-table protocol ospf
※ BGP相关查看命令
display current-configuration configuration bgp #查看BGP配置
display bgp peer #查看BGP领居
※ 查看路由
display ip routing-table X.X.X.X #查看路由表
display bgp routing-table X.X.X.X #查看BGP表
dis ip routing-table protocol static #查看静态路由
dis ip routing-table protocol direct #查看直连路由
dis bgp routing-table peer X.X.X.X advertised-routes # Routes advertised to the remote peer dis bgp routing-table peer X.X.X.X received-routes #Routes received from the remote peer
※ 配置接口
interface GigabitEthernet3/0/0
description To::×××××
undo shutdown
interface GigabitEthernet3/0/0.10
vlan-type dot1q 10
mtu 1586
ip address 61.157.254.177 255.255.255.252
ospf cost 10
ospf authentication-mode md5 1 cipher abcd #OSPF接口认证,密钥为abcd ospf network-type p2p
学网络的看看
mpls
mpls ldp
※ 配置静态路由
#ip route-static命令用来配置单播静态路由
<Quidway> system-view
[Quidway] ip route-static 192.168.0.1 255.255.255.0 172.16.0.1
[Quidway] ip route-static 192.168.0.1 255.255.255.0 Pos1/0/0 172.16.0.1
※ 配置OSPF
ospf 1
area 0.0.0.0
network 119.119.1.1 0.0.0.0
ospf 1
bandwidth-reference 100000 #100G
ospf 1
maximum load-balancing 16 #配置OSPF负载均衡条目
※ 配置BGP
# 指定BGP本端及对端AS号、报文的源接口、领居描述及启用领居认证 <Quidway> system-view
[Quidway] bgp 100
[Quidway-bgp] peer 1.1.1.1 as-number 100
[Quidway-bgp] peer 1.1.1.1 connect-interface LoopBack0
[Quidway-bgp] peer 1.1.1.1 description test
[Quidway-bgp] peer 1.1.1.1 password cipher abc
# 对等体组的建立
<Quidway> system-view
[Quidway] bgp 100
[Quidway-bgp] router-id 5.5.5.5
[Quidway-bgp] group noc external #建立EBGP
[Quidway-bgp] peer noc as-number 200
[Quidway-bgp] peer noc connect-interface LoopBack0
[Quidway-bgp] peer noc ebgp-max-hop 2 #配置EBGP允许最大跳数为2
[Quidway-bgp] peer 1.1.1.1 group noc
[Quidway-bgp] peer 1.1.1.1 description test
[Quidway-bgp] peer 1.1.1.1 password cipher abc
[Quidway-bgp] peer 2.2.2.2 group noc
[Quidway-bgp] peer 2.2.2.2 description test1
[Quidway-bgp] peer 2.2.2.2 password cipher abc
学网络的看看
# 网段发布
<Quidway> system-view
[Quidway] bgp 100
[Quidway-bgp] ipv4-family unicast
[Quidway-bgp-af-ipv4] undo synchronization #关闭BGP同步功能
[Quidway-bgp-af-ipv4] reflector cluster-id 5.5.5.5 #配置反射器ID
[Quidway-bgp-af-ipv4] maximum load-balancing 8 #设置BGP等价路由条数
[Quidway-bgp-af-ipv4] peer noc enable #使能对等体组noc
[Quidway-bgp-af-ipv4] peer noc reflect-client #配置对等体组noc为反射客户端
[Quidway-bgp-af-ipv4] peer noc advertise-community #配置通告团体属性
[Quidway-bgp-af-ipv4] network 10.0.0.0 255.255.0.0 # network方式发布本地路由
[Quidway-bgp-af-ipv4] network 10.1.0.0 255.255.0.0
1.2 Juniper ERX\E320相关命令
※ 查看所有配置
show configuration
※ 查看接口配置
show configuration interface ×××
※ OSPF相关查看命令
show configuration category ip-protocols ospf #查看OSPF配置
show ip ospf neighbors
show ip ospf interface ×××
show ip route ospf
※ BGP相关查看命令
show configuration category ip-protocols bgp #查看BGP配置
show ip bgp neighbors
show ip bgp neighbors A.B.C.D
show ip bgp
※ 查看路由
show ip route X.X.X.X #查看路由表
show ip route static
show ip route local #查看直连路由
show ip bgp neighbors X.X.X.X advertised-routes
show ip bgp neighbors X.X.X.X received-routes # before inbound policy
show ip bgp neighbors X.X.X.X routes # after inbound policy
※ 配置接口
学网络的看看
interface gigabitEthernet 5/0
mtu 1608
duplex full
speed 1000
load-interval 30
qos-profile "SC-QOS"
encapsulation vlan
interface gigabitEthernet 5/0.1
vlan id 1
ip address 61.139.34.90 255.255.255.252
no ip proxy-arp
no ip redirects
no ip unreachables
ip ospf network point-to-point
ip ospf message-digest-key 1 md5 8 i>u^^PD7Ii+}7QiVwyx$S
ip ospf authentication message-digest
ip policy input "IN_DSCP"
ip policy output "OUT_DSCP"
ip policy secondary-input "Internet_Local_Input"
※ 配置静态路由
ip route 10.10.10.0 255.255.255.0 20.20.20.0 #下一跳可以为接口
※ 配置OSPF
router ospf 1
router-id *.*.*.*
ospf auto-cost reference-bandwidth 100000 #100G
ospf log-adjacency-changes
network *.*.*.* 0.0.0.0 area 0 #0.0.0.0为反掩码
※ 配置BGP
router bgp 65***
bgp router-id X.X.X.X
bgp log-neighbor-changes
no auto-summary
no synchronization
neighbor “地市_MAN_All” peer-group
neighbor “地市_MAN_All” remote-as **
neighbor “地市_MAN_All” send-community
neighbor *.*.*.* peer-group “地市_MAN_All”
neighbor *.*.*. …… 此处隐藏:5820字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [实用模板]第八章:法国“新浪潮”与“左岸派”
- [实用模板]2021年北京上半年临床医学检验技师生物
- [实用模板]SAP GUI 7.10客户端安装配置文档
- [实用模板]2001年临床执业医师资格考试综合笔试试
- [实用模板]36机场工作实用英语词汇总结
- [实用模板](一)社会保险稽核通知书
- [实用模板]安全教育主题班会材料
- [实用模板]濉溪县春季呼吸道传染病防控应急演练方
- [实用模板]长沙房地产市场周报(1.30-2.3)
- [实用模板]六年级数学上册典中点 - 图文
- [实用模板]C程序设计(红皮书)习题官方参考答案
- [实用模板]中国证监会第一届创业板发行审核委员会
- [实用模板]桥梁工程复习题
- [实用模板]2011学而思数学及答案
- [实用模板]初中病句修改专项练习
- [实用模板]监理学习知识1 - 图文
- [实用模板]小机灵杯四年级试题
- [实用模板]国贸专业毕业论文模板
- [实用模板]教育学概论考试练习题-判断题4
- [实用模板]2015届高考英语一轮复习精品资料(译林
- 00Nkmhe_市场营销学工商管理_电子商务_
- 事业单位考试法律常识
- 诚信教育实施方案
- 吉大小天鹅食品安全检测箱方案(高中低
- 房地产销售培训资料
- 高一地理必修1复习提纲
- 新概念英语第二册lesson_1_练习题
- 证券公司内部培训资料
- 小学英语时间介词专项练习
- 新世纪英语专业综合教程(第二版)第1册U
- 【新课标】浙教版最新2018年八年级数学
- 工程建设管理纲要
- 外研版 必修一Module 4 A Social Surve
- Adobe认证考试 AE复习资料
- 基于H.264AVC与AVS标准的帧内预测技术
- 《食品检验机构资质认定管理办法》(质
- ABB变频器培训课件
- (完整版)小学说明文阅读练习题及答案
- 深思洛克(SenseLock) 深思IV,深思4,深
- 弟子规全文带拼音




