admin 管理员组

文章数量: 1184232


2024年1月5日发(作者:java自学书)

display current-configuration

# sysname AR1#ipv6

#ospfv3 1 router-id 10.1.1.1#interface GigabitEthernet0/0/0 ipv6 enable

ipv6 address 2001:DB8:100::1/64

ospfv3 1 area 0.0.0.0#interface LoopBack0 ip address 10.1.1.1 255.255.255.255

ospfv3 1 area 0.0.0.0#bgp 100 router-id 10.1.1.1 undo default ipv4-unicast peer 2001:DB8:100::2 as-number 100

peer 2001:DB8:100::3 as-number 100

# ipv4-family unicast undo synchronization # ipv6-family unicast undo synchronization peer 2001:DB8:100::2 enable peer 2001:DB8:100::3 enable#returnAR2:

dis current-configuration

# sysname AR2#ipv6

#ospfv3 1 router-id 10.3.3.3#interface GigabitEthernet0/0/0 ipv6 enable

ipv6 address 2001:DB8:100::2/64

ospfv3 1 area 0.0.0.0#interface GigabitEthernet0/0/1 ip address 192.168.24.2 255.255.255.0

#interface LoopBack0 ip address 10.2.2.2 255.255.255.255

ospfv3 1 area 0.0.0.0#interface Tunnel0/0/0 ipv6 enable

ipv6 address 2001:DB8:24::2/64

tunnel-protocol gre source 192.168.24.2 destination 192.168.24.4#bgp 100 router-id 10.2.2.2 peer 2001:DB8:24::4 as-number 200

peer 2001:DB8:100::1 as-number 100

peer 2001:DB8:100::3 as-number 100

# ipv4-family unicast undo synchronization # ipv6-family unicast undo synchronization network 2001:DB8:100:: 64

peer 2001:DB8:24::4 enable peer 2001:DB8:100::1 enable peer 2001:DB8:100::1 default-route-advertise peer 2001:DB8:100::3 enable peer 2001:DB8:100::3 default-route-advertise#ospf 1 router-id 10.2.2.2

area 0.0.0.0

network 10.2.2.2 0.0.0.0

network 192.168.24.0 0.0.0.255

#returnAR3:

dis current-configuration

# sysname AR3#ipv6

#ospfv3 1 router-id 10.2.2.2#interface Serial4/0/0 link-protocol ppp ip address 192.168.35.3 255.255.255.0

#interface GigabitEthernet0/0/0 ipv6 enable

ipv6 address 2001:DB8:100::3/64

ospfv3 1 area 0.0.0.0#interface LoopBack0 ip address 10.3.3.3 255.255.255.255

ospfv3 1 area 0.0.0.0#bgp 100 router-id 10.3.3.3 undo default ipv4-unicast peer 2001:DB8:100::1 as-number 100

peer 2001:DB8:100::2 as-number 100

# ipv4-family unicast undo synchronization # ipv6-family unicast undo synchronization peer 2001:DB8:100::1 enable peer 2001:DB8:100::2 enable#returnAR4:

dis current-configuration

# sysname AR4#ipv6

#isis 1 is-level level-2 cost-style wide network-entity 49.0001.0000.0000.0004.00 # ipv6 enable topology standard ipv6 default-route-advertise always

#interface GigabitEthernet0/0/0 ip address 192.168.24.4 255.255.255.0

isis enable 1#interface GigabitEthernet0/0/1 ipv6 enable

ipv6 address 2002:A06:606:46::4/64

isis ipv6 enable 1#interface LoopBack0 ip address 10.4.4.4 255.255.255.255

#interface Tunnel0/0/0 ipv6 enable

ipv6 address 2001:DB8:24::4/64

tunnel-protocol gre source 192.168.24.4 destination 192.168.24.2#bgp 200 router-id 10.4.4.4 undo default ipv4-unicast peer 2001:DB8:24::2 as-number 100

peer 2002:A06:606:56::5 as-number 200

# ipv4-family unicast undo synchronization # ipv6-family unicast undo synchronization import-route isis 1 peer 2001:DB8:24::2 enable peer 2002:A06:606:56::5 enable peer 2002:A06:606:56::5 next-hop-local

#ospf 1 router-id 10.4.4.4

area 0.0.0.0

network 10.4.4.4 0.0.0.0

network 192.168.24.0 0.0.0.255

#returnAR5:

dis current-configuration

# sysname AR5#ipv6

#isis 1 is-level level-2 cost-style wide network-entity 49.0001.0000.0000.0005.00 # ipv6 enable topology standard#interface Serial4/0/0 link-protocol ppp ip address 192.168.35.5 255.255.255.0

#interface Serial4/0/1 link-protocol ppp#interface GigabitEthernet0/0/0 ipv6 enable

ipv6 address 2002:A06:606:56::5/64

isis ipv6 enable 1#interface LoopBack0 ip address 10.5.5.5 255.255.255.255

isis enable 1#bgp 200 router-id 10.5.5.5 undo default ipv4-unicast peer 2002:A06:606:46::4 as-number 200

# ipv4-family unicast undo synchronization # ipv6-family unicast undo synchronization import-route isis 1 peer 2002:A06:606:46::4 enable#returnAR6:

dis current-configuration

# sysname AR7#ipv6

#dhcp enable#dhcpv6 pool pool address prefix 2002:A07:707::/64 dns-server 2001:DB8:100::1#isis 1 is-level level-2 cost-style wide network-entity 49.0001.0000.0000.0007.00 # ipv6 enable topology standard #interface GigabitEthernet0/0/0 ip address 192.168.67.7 255.255.255.0

isis enable 1#interface GigabitEthernet0/0/1 ipv6 enable

ipv6 address 2002:A07:707::7/64

undo ipv6 nd ra halt ipv6 nd autoconfig other-flag isis ipv6 enable 1 dhcpv6 server pool#interface LoopBack0 ip address 10.7.7.7 255.255.255.255

isis enable 1#interface Tunnel0/0/0 ipv6 enable

ipv6 address 2002:A07:707:67::7/64

tunnel-protocol ipv6-ipv4 6to4 source LoopBack0#ipv6 route-static :: 0 Tunnel0/0/0

#returnAR7:dis current-configuration

# sysname AR8#ipv6

#dhcp enable#interface GigabitEthernet0/0/0 ipv6 enable

ipv6 address auto link-local ipv6 address auto dhcp //配置通过dhcpv6获取IP地址#return


本文标签: 配置 自学 获取 作者 IP地址