[mpls-linux-general] Help needed for setting up mpls
Status: Beta
Brought to you by:
jleu
|
From: Doerfler, R. <Ric...@sc...> - 2003-11-12 23:42:24
|
mplsd# sho ldp=0A=
LSR-ID: 0a000003 Admin State: ENABLED=0A=
Transport Address: 0a000003=0A=
Control Mode: ORDERED Repair Mode: GLOBAL=0A=
Propogate Release: TRUE Label Merge: TRUE=0A=
Retention Mode: LIBERAL Loop Detection Mode: NONE=0A=
TTL-less-domain: FALSE=0A=
Local TCP Port: 646 Local UDP Port: 646=0A=
Keep-alive Time: 45 Keep-alive Interval: 15=0A=
Hello Time: 15 Hello Interval: 5=0A=
=0A=
mplsd# sho lsr-id =0A=
lsr-id: 10.0.0.3=0A=
=0A=
mplsd# sho mpls forwarding =0A=
Insegments:=0A=
=0A=
Total 0=0A=
=0A=
Outsegments:=0A=
=0A=
Total 0=0A=
=0A=
Cross Connects:=0A=
=0A=
Total 0=0A=
=0A=
mplsd# sho ldp neig=0A=
mplsd# sho ldp neighbor Connection closed by foreign host.=0A=
=0A=
=0A=
ospfd# sho ip ospf =0A=
OSPF Routing Process, Router ID: 10.0.0.3=0A=
Supports only single TOS (TOS0) routes=0A=
This implementation conforms to RFC2328=0A=
RFC1583Compatibility flag is disabled=0A=
OpaqueCapability flag is disabled=0A=
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs=0A=
Refresh timer 10 secs=0A=
Number of external LSA 0=0A=
Number of areas attached to this router: 1=0A=
=0A=
Area ID: 0.0.0.0 (Backbone)=0A=
Number of interfaces in this area: Total: 1, Active: 2=0A=
Number of fully adjacent neighbors in this area: 1=0A=
Area has no authentication=0A=
SPF algorithm executed 1 times=0A=
Number of LSA 3=0A=
=0A=
=0A=
ospfd# sho ip ospf route =0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D OSPF network routing table =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
N 192.168.0.0/24 [10] area: 0.0.0.0=0A=
directly attached to eth0=0A=
=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D OSPF router routing table =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D OSPF external routing table =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
=0A=
ospfd# sho ip ospf interface =0A=
lo is up, line protocol is up=0A=
OSPF not enabled on this interface=0A=
eth0 is up, line protocol is up=0A=
Internet Address 192.168.0.7/24, Area 0.0.0.0=0A=
Router ID 10.0.0.3, Network Type BROADCAST, Cost: 10=0A=
Transmit Delay is 1 sec, State Backup, Priority 1=0A=
Designated Router (ID) 10.0.0.1, Interface Address 192.168.0.1=0A=
Backup Designated Router (ID) 10.0.0.3, Interface Address =
192.168.0.7=0A=
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit =
5=0A=
Hello due in 00:00:01=0A=
Neighbor Count is 1, Adjacent neighbor count is 1=0A=
eth1 is up, line protocol is up=0A=
OSPF not enabled on this interface=0A=
dummy0 is up, line protocol is up=0A=
OSPF not enabled on this interface=0A=
=0A=
ospfd# sho ip ospf neighbor =0A=
=0A=
Neighbor ID Pri State Dead Time Address =
Interface RXmtL RqstL DBsmL=0A=
10.0.0.1 1 Full/DR 00:00:31 192.168.0.1 =
eth0:192.168.0.7 0 0 0=0A=
=0A=
zebra# sho router-id =0A=
router-id: 10.0.0.3=0A=
=0A=
zebra# show ip route =0A=
Codes: K - kernel route, C - connected, S - static, R - RIP, O - =
OSPF,=0A=
B - BGP, > - selected route, * - FIB route=0A=
=0A=
C>* 10.0.0.3/32 is directly connected, dummy0=0A=
K * 127.0.0.0/8 is directly connected, lo=0A=
C>* 127.0.0.0/8 is directly connected, lo=0A=
K>* 169.254.0.0/16 is directly connected, eth1=0A=
O 192.168.0.0/24 [110/10] is directly connected, eth0, 00:02:43=0A=
K * 192.168.0.0/24 is directly connected, eth0=0A=
C>* 192.168.0.0/24 is directly connected, eth0=0A=
K * 192.168.1.0/24 is directly connected, eth1=0A=
C>* 192.168.1.0/24 is directly connected, eth1=0A=
=0A=
zebra# show ip route ospf =0A=
Codes: K - kernel route, C - connected, S - static, R - RIP, O - =
OSPF,=0A=
B - BGP, > - selected route, * - FIB route=0A=
=0A=
O 192.168.0.0/24 [110/10] is directly connected, eth0, 00:02:55=0A=
=0A=
zebra# show interface =0A=
Interface lo=0A=
index 1 metric 1 mtu 16436 <UP,LOOPBACK,RUNNING>=0A=
inet 127.0.0.1/8=0A=
input packets 814149, bytes 72219458, dropped 0, multicast packets =
0=0A=
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed =
0=0A=
output packets 814149, bytes 72219458, dropped 0=0A=
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window =
0=0A=
collisions 0=0A=
Interface eth0=0A=
index 2 metric 1 mtu 1500 =
<UP,BROADCAST,RUNNING,ALLMULTI,MULTICAST>=0A=
HWaddr: 00:01:02:c9:82:7c=0A=
inet 192.168.0.7/24 broadcast 192.168.0.255=0A=
input packets 135855, bytes 18173510, dropped 0, multicast packets =
0=0A=
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed =
0=0A=
output packets 111344, bytes 30711791, dropped 0=0A=
output errors 0, aborted 0, carrier 418, fifo 0, heartbeat 0, =
window 0=0A=
collisions 930=0A=
Interface eth1=0A=
index 3 metric 1 mtu 1500 <UP,BROADCAST,MULTICAST>=0A=
HWaddr: 00:b0:d0:41:c1:f0=0A=
inet 192.168.1.8/24 broadcast 192.168.1.255=0A=
input packets 970, bytes 72090, dropped 0, multicast packets 0=0A=
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed =
0=0A=
output packets 15, bytes 900, dropped 0=0A=
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window =
0=0A=
collisions 0=0A=
Interface dummy0=0A=
index 4 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,NOARP>=0A=
inet 10.0.0.3/32=0A=
input packets 0, bytes 0, dropped 0, multicast packets 0=0A=
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed =
0=0A=
output packets 0, bytes 0, dropped 0=0A=
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window =
0=0A=
collisions 0=0A=
=0A=
=0A=
=0A=
[root@linuxscr3 log]# tail -f mplsd.log =0A=
2003/11/12 17:16:33 informational: MPLS: router-id change 10.0.0.3=0A=
2003/11/12 17:16:33 informational: MPLS: router-id update 10.0.0.3=0A=
2003/11/12 17:16:33 informational: MPLS: route add 169.254.0.0/16=0A=
2003/11/12 17:16:33 informational: MPLS: ifindex 3=0A=
2003/11/12 17:16:33 informational: MPLS: route add 10.0.0.3/32=0A=
2003/11/12 17:16:33 informational: MPLS: ifindex 4=0A=
2003/11/12 17:16:33 informational: MPLS: route add 192.168.0.0/24=0A=
2003/11/12 17:16:33 informational: MPLS: ifindex 2=0A=
2003/11/12 17:16:33 informational: MPLS: route add 192.168.1.0/24=0A=
2003/11/12 17:16:33 informational: MPLS: ifindex 3=0A=
=0A=
=0A=
[root@linuxscr3 log]# tail -f ospfd.log =0A=
2003/11/12 17:16:35 informational: OSPF: DR-Election[1st]: Backup =
192.168.0.7=0A=
2003/11/12 17:16:35 informational: OSPF: DR-Election[1st]: DR =
192.168.0.1=0A=
2003/11/12 17:16:35 informational: OSPF: DR-Election[2nd]: Backup =
192.168.0.7=0A=
2003/11/12 17:16:35 informational: OSPF: DR-Election[2nd]: DR =
192.168.0.1=0A=
2003/11/12 17:16:35 informational: OSPF: interface 192.168.0.7 join =
AllDRouters Multicast group.=0A=
2003/11/12 17:16:35 informational: OSPF: DR-Election[1st]: Backup =
192.168.0.7=0A=
2003/11/12 17:16:35 informational: OSPF: DR-Election[1st]: DR =
192.168.0.1=0A=
2003/11/12 17:16:35 warnings: OSPF: Packet[DD]: Initial DBD from Slave, =
ignoring.=0A=
2003/11/12 17:16:35 warnings: OSPF: Packet[DD]: Negotiation done =
(Master).=0A=
2003/11/12 17:16:35 informational: OSPF: nsm_change_state(): scheduling =
new router-LSA origination=0A=
=0A=
=0A=
[root@linuxscr3 log]# tail -f zebra.log =0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:33 informational: ZEBRA: zebra message comes from =
socket [12]=0A=
2003/11/12 17:16:40 informational: ZEBRA: zebra message comes from =
socket [11]=0A=
|