差分

ナビゲーションに移動 検索に移動
260行目: 260行目:  
|-
 
|-
 
|BGP-PE
 
|BGP-PE
|ip routing
+
|
<nowiki>!</nowiki>
+
ip routing
 +
<nowiki>!
 +
interface GigabitEthernet1
 +
  description BGP-CE_Gi4
 +
  ip address 203.0.113.1 255.255.255.252
 +
 +
 +
!
 +
router bgp 203
 +
  bgp router-id 203.0.113.88
 +
  bgp log-neighbor-changes
 +
  neighbor 203.0.113.2 remote-as 198
 +
!
 +
  address-family ipv4
 +
  network 0.0.0.0
 +
  network 203.0.113.0
 +
  no neighbor 2001:DB8:203::2 activate
 +
  neighbor 203.0.113.2 activate
 +
  neighbor 203.0.113.2 soft-reconfiguration inbound
 +
  default-information originate
 +
  exit-address-family
 +
  !
 +
ip route 0.0.0.0 0.0.0.0 Null0 254
 +
ip route 203.0.113.0 255.255.255.0 Null0 254</nowiki>
   −
interface GigabitEthernet1
+
|
 
+
ipv6 unicast-routing
description BGP-CE_Gi4
+
<nowiki>!
 
+
interface GigabitEthernet1
ip address 203.0.113.1 255.255.255.252
+
  description BGP-CE_Gi4
 
+
  ipv6 address 2001:DB8:203::1/64
 
+
  ipv6 enable
 
+
  ipv6 nd ra suppress all
<nowiki>!</nowiki>
+
!
 
+
router bgp 203
router bgp 203
+
  bgp router-id 203.0.113.88
 
+
  bgp log-neighbor-changes
bgp router-id 203.0.113.88
+
  neighbor 2001:DB8:203::2 remote-as 198
 
+
!
bgp log-neighbor-changes
+
  address-family ipv6
 
+
  default-information originate
neighbor 203.0.113.2 remote-as 198
+
  network ::/0
 
+
  network 2001:DB8:203::/48
<nowiki>!</nowiki>
+
 
+
  neighbor 2001:DB8:203::2 activate
address-family ipv4
+
  neighbor 2001:DB8:203::2 soft-reconfiguration inbound
 
+
  exit-address-family
  network 0.0.0.0
+
  !
 
+
ipv6 route 2001:DB8:203::/48 Null0 254
  network 203.0.113.0
+
ipv6 route ::/0 Null0 254</nowiki>
 
  −
  no neighbor 2001:DB8:203::2 activate
  −
 
  −
  neighbor 203.0.113.2 activate
  −
 
  −
  neighbor 203.0.113.2 soft-reconfiguration inbound
  −
 
  −
 
  −
  default-information originate
  −
 
  −
exit-address-family
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
ip route 0.0.0.0 0.0.0.0 Null0 254
  −
 
  −
ip route 203.0.113.0 255.255.255.0 Null0 254
  −
|ipv6 unicast-routing
  −
<nowiki>!</nowiki>
     −
interface GigabitEthernet1
  −
  −
description BGP-CE_Gi4
  −
  −
ipv6 address 2001:DB8:203::1/64
  −
  −
ipv6 enable
  −
  −
ipv6 nd ra suppress all
  −
  −
<nowiki>!</nowiki>
  −
  −
router bgp 203
  −
  −
bgp router-id 203.0.113.88
  −
  −
bgp log-neighbor-changes
  −
  −
neighbor 2001:DB8:203::2 remote-as 198
  −
  −
<nowiki>!</nowiki>
  −
  −
address-family ipv6
  −
  −
  −
  −
  default-information originate
  −
  −
  network ::/0
  −
  −
  network 2001:DB8:203::/48
  −
  −
  neighbor 2001:DB8:203::2 activate
  −
  −
  neighbor 2001:DB8:203::2 soft-reconfiguration inbound
  −
  −
exit-address-family
  −
  −
<nowiki>!</nowiki>
  −
  −
ipv6 route 2001:DB8:203::/48 Null0 254
  −
  −
ipv6 route ::/0 Null0 254
   
|
 
|
 
|-
 
|-
 
|BGP-CE
 
|BGP-CE
|ip routing
+
|
<nowiki>!</nowiki>
+
ip routing
 +
<nowiki>!
 +
interface GigabitEthernet4
 +
  description BGP-PE_Gi1
 +
  ip address 203.0.113.2 255.255.255.252
 +
 +
 +
!
 +
router bgp 198
 +
  bgp router-id 198.51.100.254
 +
  bgp log-neighbor-changes
 +
  neighbor 203.0.113.1 remote-as 203
 +
!
 +
  address-family ipv4
 +
  network 198.51.100.0
 +
 +
 +
  no neighbor 2001:DB8:203::1 activate
 +
  neighbor 203.0.113.1 activate
 +
  neighbor 203.0.113.1 soft-reconfiguration inbound
 +
  exit-address-family
 +
  !
 +
ip route 198.51.100.0 255.255.255.0 Null0 254</nowiki>
 +
   −
interface GigabitEthernet4
+
|
 
+
ipv6 unicast-routing
description BGP-PE_Gi1
+
<nowiki>!
 
+
interface GigabitEthernet4
ip address 203.0.113.2 255.255.255.252
+
  description BGP-PE_Gi1
 
+
  ipv6 address 2001:DB8:203::2/64
 
+
  ipv6 enable
 
+
  ipv6 nd ra suppress all
<nowiki>!</nowiki>
+
!
 
+
router bgp 198
router bgp 198
+
  bgp router-id 198.51.100.254
 
+
  bgp log-neighbor-changes
bgp router-id 198.51.100.254
+
  neighbor 2001:DB8:203::1 remote-as 203
 
+
  !
bgp log-neighbor-changes
+
  address-family ipv6
 
+
  network 2001:DB8:192::/48
neighbor 203.0.113.1 remote-as 203
+
  network 2001:DB8:198::/48
 
+
  network 2001:DB8:254::/48
<nowiki>!</nowiki>
+
 
+
  neighbor 2001:DB8:203::1 activate
address-family ipv4
+
  neighbor 2001:DB8:203::1 soft-reconfiguration inbound
 
+
  exit-address-family
  network 198.51.100.0
+
  !
 
+
ipv6 route 2001:DB8:192::/48 Null0 254
 
+
ipv6 route 2001:DB8:198::/48 Null0 254
  no neighbor 2001:DB8:203::1 activate
+
ipv6 route 2001:DB8:254::/48 Null0 254</nowiki>
 
  −
  neighbor 203.0.113.1 activate
  −
 
  −
  neighbor 203.0.113.1 soft-reconfiguration inbound
  −
 
  −
exit-address-family
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
ip route 198.51.100.0 255.255.255.0 Null0 254
  −
 
  −
 
  −
|ipv6 unicast-routing
  −
<nowiki>!</nowiki>
  −
 
  −
interface GigabitEthernet4
  −
 
  −
description BGP-PE_Gi1
  −
 
  −
ipv6 address 2001:DB8:203::2/64
  −
 
  −
ipv6 enable
  −
 
  −
ipv6 nd ra suppress all
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
router bgp 198
  −
 
  −
bgp router-id 198.51.100.254
  −
 
  −
bgp log-neighbor-changes
  −
 
  −
neighbor 2001:DB8:203::1 remote-as 203
     −
<nowiki>!</nowiki>
  −
  −
address-family ipv6
  −
  −
  network 2001:DB8:192::/48
  −
  −
  network 2001:DB8:198::/48
  −
  −
  network 2001:DB8:254::/48
  −
  −
  neighbor 2001:DB8:203::1 activate
  −
  −
  neighbor 2001:DB8:203::1 soft-reconfiguration inbound
  −
  −
exit-address-family
  −
  −
<nowiki>!</nowiki>
  −
  −
ipv6 route 2001:DB8:192::/48 Null0 254
  −
  −
ipv6 route 2001:DB8:198::/48 Null0 254
  −
  −
ipv6 route 2001:DB8:254::/48 Null0 254
   
|
 
|
 
|-
 
|-
486行目: 413行目:  
|-
 
|-
 
|BGP-CE
 
|BGP-CE
|ip routing
+
|
<nowiki>!</nowiki>
+
ip routing
 
+
<nowiki>!
interface Loopback0
+
interface Loopback0
 
+
  description Router-ID
description Router-ID
+
  ip address 198.51.100.254 255.255.255.255
 
+
ip address 198.51.100.254 255.255.255.255
+
!
 
+
interface GigabitEthernet1
 
+
  description Core_Gi4
<nowiki>!</nowiki>
+
  ip address 192.0.2.1 255.255.255.252
 
+
 
interface GigabitEthernet1
+
 
 
+
description Core_Gi4
+
  ip ospf network point-to-point
 
+
!
ip address 192.0.2.1 255.255.255.252
+
router ospf 1
 
+
  router-id 198.51.100.254
. .
+
  passive-interface default
 
+
  no passive-interface GigabitEthernet1
.
+
  network 192.0.2.0 0.0.0.3 area 0.0.0.0
ip ospf network point-to-point
+
  network 198.51.100.254 0.0.0.0 area 0.0.0.0
 
+
  default-information originate</nowiki>
<nowiki>!</nowiki>
+
 
  −
router ospf 1
  −
 
  −
router-id 198.51.100.254
  −
 
  −
passive-interface default
  −
 
  −
no passive-interface GigabitEthernet1
  −
 
  −
network 192.0.2.0 0.0.0.3 area 0.0.0.0
  −
 
  −
network 198.51.100.254 0.0.0.0 area 0.0.0.0
  −
 
  −
default-information originate
  −
|ipv6 unicast-routing
  −
<nowiki>!</nowiki>
  −
 
  −
interface Loopback0
  −
 
  −
description Router-ID
  −
 
  −
ipv6 address 2001:DB8:254::254/128
  −
 
  −
ipv6 ospf 1 area 0.0.0.0
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
interface GigabitEthernet1
  −
 
  −
description Core_Gi4
  −
 
  −
ipv6 address 2001:DB8:192::1/64
  −
 
  −
ipv6 enable
  −
 
  −
ipv6 nd ra suppress all
  −
 
  −
ipv6 ospf 1 area 0.0.0.0
  −
 
  −
ipv6 ospf network point-to-point
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
ipv6 router ospf 1
  −
 
  −
router-id 198.51.100.254
  −
 
  −
default-information originate
  −
 
  −
passive-interface default
  −
 
  −
no passive-interface GigabitEthernet1
  −
 
  −
.
  −
 
  −
.
      +
|
 +
ipv6 unicast-routing
 +
<nowiki>!
 +
interface Loopback0
 +
  description Router-ID
 +
  ipv6 address 2001:DB8:254::254/128
 +
  ipv6 ospf 1 area 0.0.0.0
 +
!
 +
interface GigabitEthernet1
 +
  description Core_Gi4
 +
  ipv6 address 2001:DB8:192::1/64
 +
  ipv6 enable
 +
  ipv6 nd ra suppress all
 +
  ipv6 ospf 1 area 0.0.0.0
 +
  ipv6 ospf network point-to-point
 +
!
 +
ipv6 router ospf 1
 +
  router-id 198.51.100.254
 +
  default-information originate
 +
  passive-interface default
 +
  no passive-interface GigabitEthernet1</nowiki>
 +
    
|
 
|
 
|-
 
|-
 
|Core
 
|Core
|ip routing
+
|
<nowiki>!</nowiki>
+
ip routing
 
+
<nowiki>!
interface Loopback0
+
interface Loopback0
 
+
  description Router-ID
description Router-ID
+
  ip address 198.51.100.253 255.255.255.255
 
+
ip address 198.51.100.253 255.255.255.255
+
!
 
+
interface GigabitEthernet4
 
+
  description BGP-CE_Gi1
<nowiki>!</nowiki>
+
  ip address 192.0.2.2 255.255.255.252
 
+
interface GigabitEthernet4
+
 
+
description BGP-CE_Gi1
+
  ip ospf network point-to-point
 
+
!
ip address 192.0.2.2 255.255.255.252
+
router ospf 1
 
+
  router-id 198.51.100.253
 
+
  passive-interface default
 
+
  no passive-interface GigabitEthernet4
 
+
  network 192.0.2.0 0.0.0.3 area 0.0.0.0
ip ospf network point-to-point
+
  network 198.51.100.0 0.0.0.127 area 0.0.0.0
 
+
  network 198.51.100.253 0.0.0.0 area 0.0.0.0</nowiki>
<nowiki>!</nowiki>
  −
 
  −
router ospf 1
  −
 
  −
router-id 198.51.100.253
  −
 
  −
passive-interface default
  −
 
  −
no passive-interface GigabitEthernet4
  −
 
  −
network 192.0.2.0 0.0.0.3 area 0.0.0.0
  −
 
  −
network 198.51.100.0 0.0.0.127 area 0.0.0.0
  −
 
  −
network 198.51.100.253 0.0.0.0 area 0.0.0.0
  −
|ipv6 unicast-routing
  −
<nowiki>!</nowiki>
  −
 
  −
interface Loopback0
  −
 
  −
description Router-ID
  −
 
  −
ipv6 address 2001:DB8:254::253/128
  −
 
  −
ipv6 ospf 1 area 0.0.0.0
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
interface GigabitEthernet4
  −
 
  −
description BGP-CE_Gi1
  −
 
  −
ipv6 address 2001:DB8:192::2/64
  −
 
  −
ipv6 enable
  −
 
  −
ipv6 nd ra suppress all
  −
 
  −
ipv6 ospf 1 area 0.0.0.0
  −
 
  −
ipv6 ospf network point-to-point
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
ipv6 router ospf 1
  −
 
  −
router-id 198.51.100.253
  −
 
  −
passive-interface default
  −
 
  −
no passive-interface GigabitEthernet4
  −
 
  −
.
  −
 
  −
.
  −
 
  −
.
  −
 
      +
|
 +
ipv6 unicast-routing
 +
<nowiki>!
 +
interface Loopback0
 +
  description Router-ID
 +
  ipv6 address 2001:DB8:254::253/128
 +
  ipv6 ospf 1 area 0.0.0.0
 +
!
 +
interface GigabitEthernet4
 +
  description BGP-CE_Gi1
 +
  ipv6 address 2001:DB8:192::2/64
 +
  ipv6 enable
 +
  ipv6 nd ra suppress all
 +
  ipv6 ospf 1 area 0.0.0.0
 +
  ipv6 ospf network point-to-point
 +
!
 +
ipv6 router ospf 1
 +
  router-id 198.51.100.253
 +
  passive-interface default
 +
  no passive-interface GigabitEthernet4</nowiki>
 +
    
|
 
|
739行目: 595行目:  
|-
 
|-
 
|Core
 
|Core
|ip routing
+
|
<nowiki>!</nowiki>
+
ip routing
 +
<nowiki>!
 +
ip dhcp excluded-address 198.51.100.1 198.51.100.10
 +
!
 +
ip dhcp pool IPv4
 +
  network 198.51.100.0 255.255.255.128
 +
  default-router 198.51.100.1
 +
  dns-server 8.8.8.8
 +
!
 +
interface GigabitEthernet1
 +
  description CPE_Gi4
 +
 +
  ip address 198.51.100.1 255.255.255.128</nowiki>
 +
   −
ip dhcp excluded-address 198.51.100.1 198.51.100.10
+
|
 
+
ipv6 unicast-routing
<nowiki>!</nowiki>
+
<nowiki>!
 
+
ip dhcp pool IPv4
+
!
 
+
ipv6 dhcp pool IPv6
network 198.51.100.0 255.255.255.128
+
  address prefix 2001:DB8:198::/64
 
+
default-router 198.51.100.1
+
  dns-server 2001:4860:4860::8888
 
+
!
dns-server 8.8.8.8
+
interface GigabitEthernet1
 
+
  description CPE_Gi4
<nowiki>!</nowiki>
+
  ipv6 address FE80::198:1 link-local
 
+
  ipv6 address 2001:DB8:198::1/64
interface GigabitEthernet1
+
  ipv6 enable
 
+
  ipv6 nd prefix default no-advertise
description CPE_Gi4
+
  ipv6 nd managed-config-flag
 
+
  ipv6 nd other-config-flag
 
+
  ipv6 dhcp server IPv6</nowiki>
ip address 198.51.100.1 255.255.255.128
  −
 
  −
 
  −
 
  −
 
  −
 
  −
|ipv6 unicast-routing
  −
<nowiki>!</nowiki>
  −
 
  −
 
  −
 
  −
ipv6 dhcp pool IPv6
  −
 
  −
address prefix 2001:DB8:198::/64
  −
 
  −
 
  −
dns-server 2001:4860:4860::8888
  −
 
  −
<nowiki>!</nowiki>
  −
 
  −
interface GigabitEthernet1
  −
 
  −
description CPE_Gi4
  −
 
  −
ipv6 address FE80::198:1 link-local
  −
 
  −
ipv6 address 2001:DB8:198::1/64
  −
 
  −
ipv6 enable
     −
ipv6 nd prefix default no-advertise
  −
  −
ipv6 nd managed-config-flag
  −
  −
ipv6 nd other-config-flag
  −
  −
ipv6 dhcp server IPv6
   
|
 
|
 
|-
 
|-
 
|CPE
 
|CPE
|ip routing
+
|
<nowiki>!</nowiki>
+
ip routing
 +
<nowiki>!
 +
interface GigabitEthernet4
 +
  description Core_Gi1
 +
  ip address dhcp</nowiki>
 +
   −
interface GigabitEthernet4
+
|
 
+
ipv6 unicast-routing
description Core_Gi1
+
<nowiki>!
 
+
interface GigabitEthernet4
ip address dhcp
+
  description Core_Gi1
 
+
  ipv6 address dhcp
 
+
  ipv6 address autoconfig default
 
+
  ipv6 enable
 
+
  ipv6 nd ra suppress all
|ipv6 unicast-routing
+
  ipv6 dhcp client request vendor</nowiki>
<nowiki>!</nowiki>
  −
 
  −
interface GigabitEthernet4
  −
 
  −
description Core_Gi1
  −
 
  −
ipv6 address dhcp
  −
 
  −
ipv6 address autoconfig default
  −
 
  −
ipv6 enable
  −
 
  −
ipv6 nd ra suppress all
     −
ipv6 dhcp client request vendor
   
|
 
|
 
|-
 
|-

案内メニュー