{"id":200,"date":"2012-09-24T00:14:34","date_gmt":"2012-09-23T15:14:34","guid":{"rendered":"http:\/\/blog.k-goo.net\/?p=200"},"modified":"2012-09-24T00:14:34","modified_gmt":"2012-09-23T15:14:34","slug":"cisco-simulator-mpls-vpnl2","status":"publish","type":"post","link":"https:\/\/blog.k-goo.net\/?p=200","title":{"rendered":"cisco simulator \u2013 mpls-vpn(L2)"},"content":{"rendered":"<p>\u25cbcisco simulator\u306e\u7d9a\u304d<br \/>\n\u6b21\u306fL2-VPN\u3068\u3044\u3046\u3053\u3068\u3067\u3001EoMPLS\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\nnode\u69cb\u6210\u306f\u524d\u56de\u3068\u304a\u306a\u3058\u3067\u3059\u3002<br \/>\n\u8d64\u3068\u9752\u3067\u305d\u308c\u305e\u308c\u7e4b\u304c\u308c\u305f\u3001R5 <-> R6, R7 <-> R8\u3067\u305d\u308c\u305e\u308cL2-VPN\u63a5\u7d9a\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\nPoint<br \/>\n\u30fb\u5165\u529bPE\u3067\u306f\u30d7\u30ea\u30a2\u30f3\u30d6\u30eb,SFD,FCS\u3092\u524a\u9664\u3057\u3066EthernetFrame\u3092\u30ab\u30d7\u30bb\u30eb\u5316\u3057\u307e\u3059\u3002<br \/>\n\u30fb\u5165\u529bPE\u3067VC\u30e9\u30d9\u30eb\u3092\u306f\u308a,point-to-point\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n<p><tt>\r\nR5\u3068R6\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002\u304a\u4e92\u3044\u3092default-gateway\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\r\nR5\u306e\u8a2d\u5b9a\r\n<p style=\"background-color: #e6e6fa; border: 1px dotted #CCCCCC; padding: 5px;\">\r\n<\u7701\u7565>\r\ninterface Loopback0\r\n ip address 10.10.10.5 255.255.255.255\r\n !\r\n!\r\ninterface Loopback200\r\n ip address 10.10.10.11 255.255.255.255\r\n !\r\n!\r\ninterface FastEthernet0\/0\r\n description To:R1\r\n ip address 192.168.100.5 255.255.255.0\r\n duplex auto\r\n speed auto\r\n !\r\n!\r\n<\u7701\u7565>\r\nip route 0.0.0.0 0.0.0.0 192.168.100.6\r\n<\/p>\r\nR6\u306e\u8a2d\u5b9a\r\n<p style=\"background-color: #e6e6fa; border: 1px dotted #CCCCCC; padding: 5px;\">\r\n<\u7701\u7565>\r\ninterface Loopback0\r\n ip address 10.10.10.6 255.255.255.255\r\n !\r\n!\r\ninterface Loopback200\r\n ip address 10.10.10.22 255.255.255.255\r\n !\r\n!\r\ninterface FastEthernet0\/0\r\n description To:R1\r\n ip address 192.168.100.6 255.255.255.0  < -- R5\u3068\u540c\u3058subnet\u30a2\u30c9\u30ec\u30b9\r\n duplex auto\r\n speed auto\r\n !\r\n!\r\n<\u7701\u7565>\r\nip route 0.0.0.0 0.0.0.0 192.168.100.5\r\n<\/p>\r\n\u3067\u3001R7\u3068R8\u306e\u8a2d\u5b9aintaface\u306fR5,R6\u3068\u304a\u306a\u3058\u3001192.168.100\/24\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002\r\nR7\u306e\u8a2d\u5b9a\r\n<p style=\"background-color: #e6e6fa; border: 1px dotted #CCCCCC; padding: 5px;\">\r\n<\u7701\u7565>\r\ninterface Loopback0\r\n ip address 10.10.10.7 255.255.255.255\r\n !\r\n!\r\ninterface Loopback200\r\n ip address 10.10.10.11 255.255.255.255\r\n !\r\n!\r\n<\u7701\u7565>\r\ninterface Serial1\/0\r\n ip address 192.168.100.7 255.255.255.0\r\n serial restart-delay 0\r\n!\r\n<\u7701\u7565>\r\nip route 0.0.0.0 0.0.0.0 192.168.100.8\r\n<\/p>\r\nR8\u306e\u8a2d\u5b9a\r\n<p style=\"background-color: #e6e6fa; border: 1px dotted #CCCCCC; padding: 5px;\">\r\n<\u7701\u7565>\r\ninterface Loopback0\r\n ip address 10.10.10.8 255.255.255.255\r\n !\r\n!\r\ninterface Loopback200\r\n ip address 10.10.10.22 255.255.255.255\r\n !\r\n!\r\n<\u7701\u7565>\r\ninterface Serial1\/0\r\n ip address 192.168.100.8 255.255.255.0\r\n serial restart-delay 0\r\n!\r\n<\u7701\u7565>\r\nip route 0.0.0.0 0.0.0.0 192.168.100.7\r\n<\/p>\r\nCE\u3067\u3042\u308bR5-R8\u306f\u3059\u3079\u3066\u304a\u306a\u3058subnet\u3067\u3059\u304c\u304c\u3001\r\nR5 <-> R6,R7 <-> R8\u3092\r\n\u3053\u308c\u3092\u307e\u3056\u3089\u306a\u3044\u3088\u3046\u306b\u3001ehternet\u3067\u305d\u308c\u305e\u308c\u63a5\u7d9a\u3055\u305b\u307e\u3059\u3002\r\n\r\n\u25cbR1\u306e\u8a2d\u5b9a\r\n\u3053\u3053\u3067\u306f\u3001CE R5 <-> R6\u3067\u306eVPN\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u8a18\u8ff0\u3057\u3066\u3044\u304d\u307e\u3059\u3002\r\n<p style=\"background-color: #e6e6fa; border: 1px dotted #CCCCCC; padding: 5px;\">\r\n** R1\u306einterface\u306bVC label\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\r\nR1(config)# interface FastEthernet 0\/1\r\nR1(config-if)# xconnect 10.10.10.3 56 encapsulation mpls\r\n** R3\u306einterface\u306bVC label\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\r\nR3(config)# interface fastEthernet 0\/1\r\nR3(config-if)# xconnect 10.10.10.1 56 encapsulation mpls\r\n\r\nPE\u306e\u8a2d\u5b9a\u306f\u4ee5\u4e0a\u3067\u3059\u3002\r\n\r\n* R1\u306eVC\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\r\nR1#show mpls l2transport vc\r\n\r\nLocal intf     Local circuit              Dest address    VC ID      Status\r\n-------------  -------------------------- --------------- ---------- ----------\r\nFa0\/1          Ethernet                   10.10.10.3      56         UP\r\n\r\n* EtherFrame\u304c\u30ab\u30d7\u30bb\u30eb\u5316\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001cdp\u3082\u307f\u3048\u3066\u3044\u307e\u3059\u3002\r\nR5#show cdp neighbors\r\nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\r\n                  S - Switch, H - Host, I - IGMP, r - Repeater\r\n\r\nDevice ID        Local Intrfce     Holdtme    Capability  Platform  Port ID\r\nCE-R6            Fas 0\/0            155           R       7206VXR   Fas 0\/0\r\nPE-R1            Fas 0\/0            169           R       7206VXR   Fas 0\/1\r\n\r\n* EtherFrame\u304c\u30ab\u30d7\u30bb\u30eb\u5316\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001arp\u3082\u307f\u3048\u3066\u3044\u307e\u3059\u3002\r\nR5#show ip arp\r\nProtocol  Address          Age (min)  Hardware Addr   Type   Interface\r\nInternet  192.168.100.5           -   ca04.1fa8.0008  ARPA   FastEthernet0\/0\r\nInternet  192.168.100.6          24   ca05.1fa8.0008  ARPA   FastEthernet0\/0\r\n<\/p>\r\n* \u5bfe\u5411\u306eCE\u540c\u58eb\u3067\u3001ping\u3092\u5b9f\u884c\u3057\u3066\u307f\u308b\u3002\r\n<p style=\"background-color: #e6e6fa; border: 1px dotted #CCCCCC; padding: 5px;\">\r\n** R6\u306einterface\u3068loopback\u306b\r\nR5#ping 192.168.100.6\r\n\r\nType escape sequence to abort.\r\nSending 5, 100-byte ICMP Echos to 192.168.100.6, timeout is 2 seconds:\r\n!!!!!\r\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 48\/93\/212 ms\r\nR5#ping 10.10.10.6\r\n\r\nType escape sequence to abort.\r\nSending 5, 100-byte ICMP Echos to 10.10.10.6, timeout is 2 seconds:\r\n!!!!!\r\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 44\/84\/168 ms\r\nCE-R5#ping 10.10.10.22\r\n\r\nType escape sequence to abort.\r\nSending 5, 100-byte ICMP Echos to 10.10.10.22, timeout is 2 seconds:\r\n!!!!!\r\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 44\/50\/60 ms\r\n** R7\u3068R8\u306b\u306f\u3068\u304a\u3089\u306a\u3044\r\nR5#ping 192.168.100.7\r\n\r\nType escape sequence to abort.\r\nSending 5, 100-byte ICMP Echos to 192.168.100.7, timeout is 2 seconds:\r\n.....\r\nSuccess rate is 0 percent (0\/5)\r\nR5#ping 192.168.100.8\r\n\r\nType escape sequence to abort.\r\nSending 5, 100-byte ICMP Echos to 192.168.100.8, timeout is 2 seconds:\r\n.....\r\nSuccess rate is 0 percent (0\/5)\r\n<\/p><\/tt>\r\n\u3059\u3079\u3066\u306e\u8a2d\u5b9a\u3092\u5b8c\u4e86\u3057\u3066\u3001EtherFrame\u304c\u307e\u3056\u3089\u306a\u3044\u304b\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\r\n\u3053\u3053\u307e\u3067\u306econfig-sample\u3092\r\n<a href=\"https:\/\/blog.k-goo.net\/wp-content\/uploads\/2012\/09\/R1_2012092301.txt\">PE-R1<\/a>\r\n<a href=\"https:\/\/blog.k-goo.net\/wp-content\/uploads\/2012\/09\/R3_2012092301.txt\">PE-R3<\/a>\r\n<a href=\"https:\/\/blog.k-goo.net\/wp-content\/uploads\/2012\/09\/R5_2012092301.txt\">PC-R5<\/a>\r\n<a href=\"https:\/\/blog.k-goo.net\/wp-content\/uploads\/2012\/09\/R6_2012092301.txt\">PC-R6<\/a>\r\n<a href=\"https:\/\/blog.k-goo.net\/wp-content\/uploads\/2012\/09\/R7_2012092301.txt\">PC-R7<\/a>\r\n<a href=\"https:\/\/blog.k-goo.net\/wp-content\/uploads\/2012\/09\/R8_2012092301.txt\">PC-R8<\/a>\r\n\r\n\u4eca\u56de\u306f\u8a2d\u5b9a\u306f\u6bd4\u8f03\u7684\u7c21\u5358\u3067\u3057\u305f\u306d\u3002\r\n\u6b21\u56de\u306fMPLS-TE\u306b\u6311\u6226\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u25cbcisco simulator\u306e\u7d9a\u304d \u6b21\u306fL2-VPN\u3068\u3044\u3046\u3053\u3068\u3067\u3001EoMPLS\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002 node\u69cb\u6210\u306f\u524d\u56de\u3068\u304a\u306a\u3058\u3067\u3059\u3002 \u8d64\u3068\u9752\u3067\u305d\u308c\u305e\u308c\u7e4b\u304c\u308c\u305f\u3001R5 R6, R7 R8\u3067\u305d\u308c\u305e\u308cL2-VPN\u63a5\u7d9a\u3057\u305f\u3044 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6,8],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-cisco","category-lab","category-mpls"],"_links":{"self":[{"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":12,"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":221,"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions\/221"}],"wp:attachment":[{"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.k-goo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}