以下是二层组网方式会话信息,不同终端尝试都可以联动上线。
可以看到在线用户信息是有v4 v6地址的
<zcmu-bras>dis ip subscriber session username wuchcs
verbose
Basic:
Description
: -
Username
: wuchcs
Domain
: dm2
VPN instance
: N/A
IP address
: 172.20.176.237
IPv6 address
: 2001:DA8:xxxx:800::6
User address type : N/A
MAC address
: A-B-C
Service-VLAN/Customer-VLAN : 800/-
Access interface :
RAGG1.800
User ID
: 0x38200275
VPI/VCI(for ATM) :
-/-
VSI Index
: -
VSI link ID
: -
VXLAN ID
: -
DNS servers
: 192.168.99.16
10.100.1.44
IPv6 DNS servers :
N/A
DHCP lease
: 3600 sec
DHCP remain lease : N/A
DHCPv6 lease
: 2592000 sec
DHCPv6 remain lease : N/A
Access time
: Aug 26 10:55:56 2020
Online time(hh:mm:ss) : 00:14:27
Service node
: Slot 0 CPU 0
Authentication type : Web
IPv4 access type :
DHCP
IPv6 access type :
DHCP
IPv4 detect state :
Detecting
IPv6 detect state :
Detecting
State
: Online
AAA:
ITA policy name :
N/A
IP pool
: wuxian
IPv6 pool
: wuxian
IPv6 nd preifx pool : N/A
Primary DNS server : N/A
Secondary DNS server : N/A
Primary IPv6 DNS server : N/A
Secondary IPv6 DNS server : N/A
Session idle cut :
1800 sec, 10240 bytes, direction:Both
Session duration :
N/A, remaining: N/A
Traffic quota
: N/A
Traffic remained :
N/A
Acct start-fail action : Online
Acct update-fail action : Online
Acct quota-out action : Offline
Dual-stack accounting mode : Merge
Max IPv4 multicast addresses: 4
IPv4 multicast address list : N/A
Max IPv6 multicast addresses: 4
IPv6 multicast address list : N/A
Accounting start time : Aug 26
10:56:11 2020
Redirect URL
: N/A
Subscriber ID
: -
QoS:
User profile
: N/A
Session group profile : N/A
User group ACL
: N/A
Inbound CAR
: N/A
Outbound CAR
: N/A
Inbound user priority : N/A
Outbound user priority : N/A
Flow statistic:
Uplink packets/bytes :
4204/645918
Downlink packets/bytes : 5623/5725799
IPv6 uplink packets/bytes : 0/0
IPv6 downlink packets/bytes : 0/0
三层组网方式:
三层组网会生成两个ipoe会话表项,从下边也可以看出来
ipv4和ipv6 ipoe触发方式都是dhcp
但是ipv4和ipv6的ipoe会话是两个,不能够做到ipv4上线ipv6跟着ipv4上线
<zcmu-bras>dis ip subscriber session username yqm
verbose
Basic:
Description
: -
Username
: yqm
Domain
: dm2
VPN instance
: N/A
IP address
: 172.16.144.3
User address type : N/A
MAC address
: A-B-C
Service-VLAN/Customer-VLAN : -/-
Access interface :
XGE0/0/3
User ID
: 0x30000099
VPI/VCI(for ATM) :
-/-
VSI Index
: -
VSI link ID
: -
VXLAN ID
: -
DNS servers
: N/A
IPv6 DNS servers :
N/A
DHCP lease
: N/A
DHCP remain lease : N/A
Access time
: Aug 26 10:25:07 2020
Online time(hh:mm:ss) : 00:05:26
Service node
: Slot 0 CPU 0
Authentication type : Web
IPv4 access type :
Static
IPv4 detect state :
Detecting
State
: Online
AAA:
ITA policy name :
N/A
IP pool
: N/A
IPv6 pool
: N/A
IPv6 nd preifx pool : N/A
Primary DNS server : N/A
Secondary DNS server : N/A
Primary IPv6 DNS server : N/A
Secondary IPv6 DNS server : N/A
Session idle cut :
1800 sec, 10240 bytes, direction:Both
Session duration :
N/A, remaining: N/A
Traffic quota
: N/A
Traffic remained :
N/A
Acct start-fail action : Online
Acct update-fail action : Online
Acct quota-out action : Offline
Dual-stack accounting mode : Merge
Max IPv4 multicast addresses: 4
IPv4 multicast address list : N/A
Max IPv6 multicast addresses: 4
IPv6 multicast address list : N/A
Accounting start time : Aug 26
11:44:20 2020
Redirect URL
: N/A
Subscriber ID
: -
QoS:
User profile
: N/A
Session group profile : N/A
User group ACL
: N/A
Inbound CAR
: N/A
Outbound CAR
: N/A
Inbound user priority : N/A
Outbound user priority : N/A
Flow statistic:
Uplink packets/bytes :
1679/140880
Downlink packets/bytes : 375/139352
IPv6 uplink packets/bytes : 0/0
IPv6 downlink packets/bytes : 0/0
Basic:
Description
: -
Username
: yqm
Domain
: dm2
VPN instance
: N/A
IPv6 address
: 2001:DA8:xxxx:299::3
User address type : N/A
MAC address
: A-B-C
Service-VLAN/Customer-VLAN : -/-
Access interface :
XGE0/0/3
User ID
: 0x3000009b
VPI/VCI(for ATM) :
-/-
VSI Index
: -
VSI link ID
: -
VXLAN ID
: -
DNS servers
: N/A
IPv6 DNS servers :
N/A
DHCPv6 lease
: N/A
DHCPv6 remain lease : N/A
Access time
: Aug 26 11:44:03 2020
Online time(hh:mm:ss) : 00:00:53
Service node
: Slot 0 CPU 0
Authentication type : Web
IPv6 access type :
Static
IPv6 detect state :
Detecting
State
: Online
AAA:
ITA policy name :
N/A
IP pool
: N/A
IPv6 pool
: N/A
IPv6 nd preifx pool : N/A
Primary DNS server : N/A
Secondary DNS server : N/A
Primary IPv6 DNS server : N/A
Secondary IPv6 DNS server : N/A
Session idle cut :
1800 sec, 10240 bytes, direction:Both
Session duration :
N/A, remaining: N/A
Traffic quota
: N/A
Traffic remained :
N/A
Acct start-fail action : Online
Acct update-fail action : Online
Acct quota-out action : Offline
Dual-stack accounting mode : Merge
Max IPv4 multicast addresses: 4
IPv4 multicast address list : N/A
Max IPv6 multicast addresses: 4
IPv6 multicast address list : N/A
Accounting start time : Aug 26
11:48:52 2020
Redirect URL
: N/A
Subscriber ID
: -
QoS:
User profile
: N/A
Session group profile : N/A
User group ACL
: N/A
Inbound CAR
: N/A
Outbound CAR
: N/A
Inbound user priority : N/A
Outbound user priority : N/A
Flow statistic:
Uplink packets/bytes : 27/4525
Downlink packets/bytes : 32/10795
IPv6 uplink packets/bytes : 0/0
IPv6 downlink packets/bytes : 0/0