设为首页收藏本站language 语言切换
查看: 1813|回复: 0
收起左侧

[书籍] 【华为·HCIA】网络技术实验指南——第六章

[复制链接]
发表于 2020-11-5 17:40:19 | 显示全部楼层 |阅读模式
6.3 配置前缀列表
最终配置<R1>display current-configuration
#
sysname R1
#
interface GigabitEthernet0/0/0
ip address 40.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 20.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 30.1.1.1 255.255.255.0
#
rip 1
undo summary
version 2
network 20.0.0.0
network 30.0.0.0
network 40.0.0.0
filter-policy ip-prefix 1 import
#
ip ip-prefix 1 index 30 deny 10.1.1.0 25 greater-equal 25 less-equal 25
ip ip-prefix 1 index 40 permit 0.0.0.0 0 less-equal 32
#
Return

<R2>display current-configuration
#
sysname R2
#
interface GigabitEthernet0/0/0
ip address 10.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 20.1.1.2 255.255.255.0
##
rip 1
undo summary
version 2
network 10.0.0.0
network 20.0.0.0
#
Return

<R3>display current-configuration
#
sysname R3
#
interface GigabitEthernet0/0/0
ip address 10.2.2.3 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 30.1.1.3 255.255.255.0
#
rip 1
undo summary
version 2
network 10.0.0.0
network 30.0.0.0
#
Return

<R4>display current-configuration
#
sysname R4
#
interface GigabitEthernet0/0/0
ip address 40.1.1.4 255.255.255.0
#
rip 1
undo summary
version 2
network 40.0.0.0
#
Return

——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——

160310ctuvs6txvtsb655s.jpg


您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-31 10:41 , Processed in 0.062977 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表