linux ubuntu mpls
阿新 • • 發佈:2020-07-23
10.10.18.148節點
focal# show run Building configuration... Current configuration: ! frr version 7.2.1 frr defaults traditional hostname focal log syslog informational no ip forwarding no ipv6 forwarding service integrated-vtysh-config ! router bgp 65000 no bgp default ipv4-unicast neighbor 10.10.18.152 remote-as65000 neighbor 10.10.18.152 update-source ens3 ! address-family ipv4 vpn neighbor 10.10.18.152 activate exit-address-family ! router ospf ospf router-id 10.10.18.148 redistribute connected redistribute static network 10.10.18.0/24 area 0 ! mpls ldp router-id 10.10.18.148 ! address-family ipv4 discovery transport-address 10.10.18.148 ! interface eth0 ! exit-address-family ! ! line vty ! end focal#
root@focal2-2:~# vtysh Hello, this is FRRouting (version 7.2.1). Copyright 1996-2005 Kunihiro Ishiguro, et al. focal2-2# show run Building configuration... Current configuration: ! frr version 7.2.1 frr defaults traditional hostname focal2-2 log syslog informational no ip forwarding no ipv6 forwarding service integrated-vtysh-config ! router bgp 65000 no bgp default ipv4-unicast neighbor 10.10.18.148 remote-as 65000 neighbor 10.10.18.148 update-source ens3 ! address-family ipv4 vpn neighbor 10.10.18.148 activate exit-address-family ! router ospf ospf router-id 10.10.18.152 redistribute connected redistribute static network 10.10.18.0/24 area 0 ! mpls ldp router-id 10.10.18.152 ! address-family ipv4 discovery transport-address 10.10.18.152 ! interface eth0 ! exit-address-family ! ! line vty ! end focal2-2#
10.10.18.152節點
root@focal2-2:~# vtysh Hello, this is FRRouting (version 7.2.1). Copyright 1996-2005 Kunihiro Ishiguro, et al. focal2-2# show run Building configuration... Current configuration: ! frr version 7.2.1 frr defaults traditional hostname focal2-2 log syslog informational no ip forwarding no ipv6 forwarding service integrated-vtysh-config ! router bgp 65000 no bgp default ipv4-unicast neighbor 10.10.18.148 remote-as 65000 neighbor 10.10.18.148 update-source ens3 ! address-family ipv4 vpn neighbor 10.10.18.148 activate exit-address-family ! router ospf ospf router-id 10.10.18.152 redistribute connected redistribute static network 10.10.18.0/24 area 0 ! mpls ldp router-id 10.10.18.152 ! address-family ipv4 discovery transport-address 10.10.18.152 ! interface eth0 ! exit-address-family ! ! line vty ! end focal2-2#
focal# show mpls ldp neighbor AF ID State Remote Address Uptime focal# show ip ospf border-routers interface mpls-te route vrf database json neighbor router-info vrfs focal# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL focal#
focal# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL focal# show ip bgp sum IPv4 VPN Summary: BGP router identifier 10.10.18.148, local AS number 65000 vrf-id 0 BGP table version 0 RIB entries 0, using 0 bytes of memory Peers 1, using 20 KiB of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.10.18.152 4 65000 24 24 0 0 0 00:21:17 0 Total number of neighbors 1 focal#