DHCPV6
  4i8hCvzXKbg6 2023年11月13日 23 0

DHCPV6_Standard

PC1:

<pc1>display current-configuration  

[V200R003C00]

#

sysname pc1

#

snmp-agent local-engineid 800007DB03000000000000

snmp-agent  

#

clock timezone China-Standard-Time minus 08:00:00

#

portal local-server load flash:/portalpage.zip

#

drop illegal-mac alarm

#

ipv6  

#

wlan ac-global carrier id other ac id 0

#

set cpu-usage threshold 80 restore 75

#

dhcp enable

#

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 auto link-local //本地link-local,只能在本链路通信,不可以跨跳

ipv6 address auto global default  //接受RA报文,并通过RA报文学习缺省路由

undo ipv6 nd ra halt

ipv6 address auto dhcp //自动获取dhcpV6 地址

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

<pc1>

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

#

dhcp enable

#

dhcpv6 pool pool1

address prefix 2023:10::/64 //dhcpv6前缀

excluded-address 2023:10::1 //排除地址

#

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

#

interface GigabitEthernet0/0/1

ipv6 enable  

ipv6 address 2023:10::1/64  

ipv6 address auto link-local

undo ipv6 nd ra halt

dhcpv6 server pool1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

<r1>

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月13日 0

暂无评论