IP地址配置
[r1]int l0
[r1-LoopBack0]ip add
[r1-LoopBack0]ip address 1.1.1.1 32
[r1-LoopBack0]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip add
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1 24
Jan 22 2024 16:12:16-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip add
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Jan 22 2024 16:13:09-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]q
[r2]int g 0/0/1
[r2-GigabitEthernet0/0/1]ip add
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Jan 22 2024 16:13:34-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]
[r2-GigabitEthernet0/0/1]q
[r2]int l0
[r2-LoopBack0]ip add
[r2-LoopBack0]ip address 2.2.2.2 32
[r3]int l0
[r3-LoopBack0]ip add
[r3-LoopBack0]ip address 3.3.3.3 32
[r3-LoopBack0]q
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip add
[r3-GigabitEthernet0/0/0]ip address 23.1.1.2 24
Jan 22 2024 16:14:54-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r3-GigabitEthernet0/0/0]q
[r3]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip add
[r3-GigabitEthernet0/0/1]ip address 34.1.1.1 24
Jan 22 2024 16:15:09-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r4]int l0
[r4-LoopBack0]ip add
[r4-LoopBack0]ip address 4.4.4.4 32
[r4-LoopBack0]q
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip add
[r4-GigabitEthernet0/0/0]ip address 34.1.1.2 24
Jan 22 2024 16:15:59-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r4-GigabitEthernet0/0/0]q
[r4]int g 0/0/1
[r4-GigabitEthernet0/0/1]ip add
[r4-GigabitEthernet0/0/1]ip address 45.1.1.1 24
[r4-GigabitEthernet0/0/1]
Jan 22 2024 16:16:14-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r5]int l0
[r5-LoopBack0]
[r5-LoopBack0]ip add
[r5-LoopBack0]ip address 5.5.5.5 32
[r5-LoopBack0]
[r5-LoopBack0]q
[r5]int g 0/0/0
[r5-GigabitEthernet0/0/0]ip add
[r5-GigabitEthernet0/0/0]ip address 45.1.1.2 24
Jan 22 2024 16:16:54-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r5-GigabitEthernet0/0/0]q
[r5]int g 0/0/1
[r5-GigabitEthernet0/0/1]ip add
[r5-GigabitEthernet0/0/1]ip address 56.1.1.1 24
Jan 22 2024 16:17:05-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r6]int l0
[r6-LoopBack0]
[r6-LoopBack0]ip add
[r6-LoopBack0]ip address 6.6.6.6 32
[r6-LoopBack0]q
[r6]int g 0/0/0
[r6-GigabitEthernet0/0/0]ip add
[r6-GigabitEthernet0/0/0]ip address 56.1.1.2 24
Jan 22 2024 16:17:56-08:00 r6 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r6-GigabitEthernet0/0/0]q
[r6]int g 0/0/1
[r6-GigabitEthernet0/0/1]ip add
[r6-GigabitEthernet0/0/1]ip address 67.1.1.1 24
Jan 22 2024 16:18:07-08:00 r6 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r7]int l0
[r7-LoopBack0]
[r7-LoopBack0]ip add
[r7-LoopBack0]ip address 7.7.7.7 32
[r7-LoopBack0]q
[r7]int g 0/0/0
[r7-GigabitEthernet0/0/0]ip add
[r7-GigabitEthernet0/0/0]ip address 67.1.1.2 24
Jan 22 2024 16:19:03-08:00 r7 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
rip和ospf宣告
[r1]rip 1
[r1-rip-1]vers
[r1-rip-1]version 2
[r1-rip-1]net
[r1-rip-1]network 192.168.1.0
[r1-rip-1]net
[r1-rip-1]network 192.168.2.0
[r2]rip 1
[r2-rip-1]vers
[r2-rip-1]version 2
[r2-rip-1]net
[r2-rip-1]network 12.0.0.0
[r2-rip-1]net
[r2-rip-1]network 2.0.0.0
[r3]ospf 1 ro
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]net
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]net
[r3-ospf-1-area-0.0.0.0]network 34.1.1.1 0.0.0.0
[r4]
[r4]ospf 1 ro
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 0
[r4-ospf-1-area-0.0.0.0]net
[r4-ospf-1-area-0.0.0.0]network 0.0.0.0 255.255.255.25
[r5]ospf 1 ro
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]net
[r5-ospf-1]area 0
[r5-ospf-1-area-0.0.0.0]net
[r5-ospf-1-area-0.0.0.0]network 45.1.1.2 0.0.0.0
[r6]ospf 2 ro
[r6]ospf 2 router-id 6.6.6.6
[r6-ospf-2]net
[r6-ospf-2]area 0
[r6-ospf-2-area-0.0.0.0]net
[r6-ospf-2-area-0.0.0.0]network 67.1.1.1 0.0.0.0
[r6-ospf-2-area-0.0.0.0]net
[r6-ospf-2-area-0.0.0.0]network 6.6.6.6 0.0.0.0
[r7]ospf 2 ro
[r7]ospf 2 router-id 7.7.7.7
[r7-ospf-2]net
[r7-ospf-2]area 0
[r7-ospf-2-area-0.0.0.0]net
[r7-ospf-2-area-0.0.0.0]network 0.0.0.0 255.255.255.255
bgp
[r1]bgp 100
[r1-bgp]ro
[r1-bgp]route-select
[r1-bgp]router-id 1.1.1.1
[r1-bgp]pe
[r1-bgp]peer 2.2.2.2 as
[r1-bgp]peer 2.2.2.2 as-number 100
[r1-bgp]pe
[r1-bgp]peer 2.2.2.2 co
[r1-bgp]peer 2.2.2.2 connect-interface lo 0
[r1-bgp]
Jan 22 2024 16:40:05-08:00 r1 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 2.2.2.2 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)
[r2]bgp 100
[r2-bgp]pe
[r2-bgp]peer 1.1.1.1 as
[r2-bgp]peer 1.1.1.1 as-number 100
[r2-bgp]pe
[r2-bgp]peer 1.1.1.1 co
[r2-bgp]peer 1.1.1.1 connect-interface lo 0
[r2-bgp]pe
[r2-bgp]peer 23.1.1.1 as
[r2-bgp]peer 23.1.1.1 as-number 101
Warning: Local interface is already configured with this address.
[r2-bgp]peer 23.1.1.1 as-num
Jan 22 2024 16:40:05-08:00 r2 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 1.1.1.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)
[r2-bgp]peer 23.1.1.2 as
[r2-bgp]pe
[r2-bgp]peer 23.1.1.2 as
[r2-bgp]peer 23.1.1.2 as-number 101
[r2-bgp]pe
[r2-bgp]peer 23.1.1.2 co
[r2-bgp]peer 23.1.1.2 connect-interface lo 0
[r2-bgp]undo pe
[r2-bgp]undo peer 23.1.1.2 co
[r2-bgp]undo peer 23.1.1.2 connect-interface lo 0
^
Error:Too many parameters found at '^' position.
[r2-bgp]undo pe
[r2-bgp]undo peer 23.1.1.2 co
[r2-bgp]undo peer 23.1.1.2 connect-interface
[r2-bgp]dis
[r2-bgp]display this
[V200R003C00]
#
bgp 100
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 23.1.1.1 as-number 101
peer 23.1.1.2 as-number 101
#
ipv4-family unicast
undo synchronization
peer 1.1.1.1 enable
peer 23.1.1.1 enable
peer 23.1.1.2 enable
#
return
[r2-bgp]q
[r2]
Jan 22 2024 16:44:25-08:00 r2 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
peer 23.1.1.2 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, St
ateChangeReason=Up)
[r3]bgp 101
[r3-bgp]ro
[r3-bgp]route-select
[r3-bgp]router-id 3.3.3.3
[r3-bgp]pe
[r3-bgp]peer 23.1.1.1 as
[r3-bgp]peer 23.1.1.1 as-number 100
[r3-bgp]pe
[r3-bgp]peer 4.4.4.4 as
[r3-bgp]peer 4.4.4.4 as-number 101
[r3-bgp]pe
[r3-bgp]peer 4.4.4.4 co
[r3-bgp]peer 4.4.4.4 connect-interface
Jan 22 2024 16:44:26-08:00 r3 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 23.1.1.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, St
ateChangeReason=Up)
[r3-bgp]peer 4.4.4.4 connect-interface lo 0
[r3-bgp]undo pe
[r3-bgp]undo peer 4.4.4.4
[r3-bgp]dis
[r3-bgp]display th
[r3-bgp]display this
[V200R003C00]
#
bgp 101
router-id 3.3.3.3
peer 23.1.1.1 as-number 100
#
ipv4-family unicast
undo synchronization
peer 23.1.1.1 enable
#
return
[r3-bgp]pe
[r3-bgp]peer 5.5.5.5 as
[r3-bgp]peer 5.5.5.5 as-number 101
[r3-bgp]pe
[r3-bgp]peer 5.5.5.5 co
[r3-bgp]peer 5.5.5.5 connect-interface lo 0
[r3-bgp]
Jan 22 2024 16:48:52-08:00 r3 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
peer 5.5.5.5 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)
[r5]bgp
[r5]bgp 101
[r5-bgp]ro
[r5-bgp]route-select
[r5-bgp]router-id 5.5.5.5
[r5-bgp]pe
[r5-bgp]peer 3.3.3.3 as
[r5-bgp]peer 3.3.3.3 as-number 101
[r5-bgp]pe
[r5-bgp]peer co
[r5-bgp]peer co
[r5-bgp]peer 3.3.3.3 co
[r5-bgp]peer 3.3.3.3 connect-interface lo 0
[r5-bgp]pe
[r5-bgp]peer 56.1.1.2 as
[r5-bgp]peer 56.1.1.2 as-number 102
[r5-bgp]
Jan 22 2024 16:48:51-08:00 r5 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 3.3.3.3 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)
[r5-bgp]
Jan 22 2024 16:49:54-08:00 r5 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
peer 56.1.1.2 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, St
ateChangeReason=Up)
[r6]bgp 102
[r6-bgp]ro
[r6-bgp]route-select
[r6-bgp]router-id 6.6.6.6
[r6-bgp]pe
[r6-bgp]peer 56.1.1.1 as
[r6-bgp]peer 56.1.1.1 as-number 101
[r6-bgp]pe
[r6-bgp]peer 7.7.7.7 as
[r6-bgp]peer 7.7.7.7 as-number 102
[r6-bgp]pe
[r6-bgp]peer 7.7.7.7 co
[r6-bgp]peer 7.7.7.7 connect-interface lo 0
[r6-bgp]
Jan 22 2024 16:49:54-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 56.1.1.1 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, St
ateChangeReason=Up)
[r6-bgp]
Jan 22 2024 16:51:09-08:00 r6 %%01BGP/3/STATE_CHG_UPDOWN(l)[1]:The status of the
peer 7.7.7.7 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)
[r7]bgp 102
[r7-bgp]ro
[r7-bgp]route-select
[r7-bgp]router-id 7.7.7.7
[r7-bgp]pe
[r7-bgp]peer 6.6.6.6 as
[r7-bgp]peer 6.6.6.6 as-number 102
[r7-bgp]pe
[r7-bgp]peer 6.6.6.6 co
[r7-bgp]peer 6.6.6.6 connect-interface lo 0
[r7-bgp]
Jan 22 2024 16:51:08-08:00 r7 %%01BGP/3/STATE_CHG_UPDOWN(l)[0]:The status of the
peer 6.6.6.6 changed from OPENCONFIRM to ESTABLISHED. (InstanceName=Public, Sta
teChangeReason=Up)
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/8104.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~