华为模拟器ipv6接口配置
本实验所需命令:
1.ipv6
2.ipv6 enable
3.ipv6 address ??????
4.display ipv6 interface g ?/?/?(用来查看ipv6配置是否正确
全球单播地址为3001::1/64和3001::2/64
实验需求:
让路由器有ipv6转发功能
给路由器互连的两个接口配置全球单播地址
所需设备两台路由器即可
以下是拓扑图:
详细步骤如下:
AR1:
Enter system view, return user view with Ctrl+Z.
[Huawei]ipv6
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ipv6 enable
[Huawei-GigabitEthernet0/0/0]ipv6 address 3001::1/64
[Huawei-GigabitEthernet0/0/0]
Oct 25 2013 10:39:06-05:13 Huawei IPV6/2/IF_IPV6CHANGE:OID 16777216.50331648.100663296.16777216.33554432.16777216.922746880.33554432.0.16777216 The status of the IPv6 Interface changed. (IfIndex=50331648, IfDescr=HUAWEI, AR Series, GigabitEthernet0/0/0 Interface, IfOperStatus=16777216, IfAdminStatus=16777216)
[Huawei-GigabitEthernet0/0/0]
Oct 25 2013 10:39:06-05:13 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPv6 on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]
AR2:
Enter system view, return user view with Ctrl+Z.
[Huawei]ipv6
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ipv6 enable
[Huawei-GigabitEthernet0/0/0]ipv6 address 3001::2/64
[Huawei-GigabitEthernet0/0/0]
Oct 25 2013 10:41:02-05:13 Huawei IPV6/2/IF_IPV6CHANGE:OID 16777216.50331648.100663296.16777216.33554432.16777216.922746880.33554432.0.16777216 The status of the IPv6 Interface changed. (IfIndex=50331648, IfDescr=HUAWEI, AR Series, GigabitEthernet0/0/0 Interface, IfOperStatus=16777216, IfAdminStatus=16777216)
[Huawei-GigabitEthernet0/0/0]
Oct 25 2013 10:41:02-05:13 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPv6 on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]
验证一下:
就此完成