命令分析
IPV6 ROUTE-STATIC 目的地址 子网掩码 接口地址 下一跳地址
核心配置
R1:
ipv6 route-static 2001:8:: 64 2001:10::2
R2:
ipv6 route-static 2001:9:: 64 2001:10::1
全部配置
R1
<r1>display current-configuration
[V200R003C00]
#
sysname r1
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
ipv6
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:9::1/64
ipv6 address auto link-local
#
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2001:10::1/64
ipv6 address auto link-local
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ipv6 route-static 2001:8:: 64 2001:10::2
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<r1>
R2:
<r2>display current-configuration
[V200R003C00]
#
sysname r2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
ipv6
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:8::1/64
ipv6 address auto link-local
#
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2001:10::2/64
ipv6 address auto link-local
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ipv6 route-static 2001:9:: 64 2001:10::1
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<r2>