Function
This command is used to query the binding between the IP address and the
traffic stream. When a user cannot go online, and the IP address is bound, run
this command to check whether the IP address of the user is bound to the traffic
stream.
Format
display bind { adsl |
shdsl } frameid/slotid/portid { vpi
vpi vci vci [ single-service
| user-encap user-encap | user-vlan {
untagged | user-vlanid } | user-8021p
user-8021p [ user-vlan user-vlanid ] ] |
autosense }
display bind atm frameid/slotid/portid [ vpi vpi vci vci single-service ]
display bind eth frameid/slotid/portid { stream | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] }
display bind { adsl | shdsl | eth } frameid/slotid/portid
display bind vdsl frameid/slotid/portid { stream | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] | autosense }
display bind vdsl frameid/slotid/portid [ vpi vpi vci vci [ single-service | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] ] ]
display bind vdsl frameid/slotid/portid autosense
display bind gpon frameid/slotid/portid [ gemport gemportid [ { user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] } ] ]
display bind service-port index
display bind all
display bind atm frameid/slotid/portid [ vpi vpi vci vci single-service ]
display bind eth frameid/slotid/portid { stream | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] }
display bind { adsl | shdsl | eth } frameid/slotid/portid
display bind vdsl frameid/slotid/portid { stream | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] | autosense }
display bind vdsl frameid/slotid/portid [ vpi vpi vci vci [ single-service | user-encap user-encap | user-vlan { untagged | user-vlanid } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] ] ]
display bind vdsl frameid/slotid/portid autosense
display bind gpon frameid/slotid/portid [ gemport gemportid [ { user-vlan { untagged | user-vlanid } | user-8021p user-8021p [ user-vlan user-vlanid ] } ] ]
display bind service-port index
display bind all
Parameters
Parameter | Description | Value |
---|---|---|
adsl | Indicates the IP address bound to the ADSL traffic stream. To access the network in the ADSL mode, use this parameter. | - |
shdsl | Indicates the IP address bound to the SHDSL traffic stream. To access the network in the SHDSL mode, use this parameter. | - |
atm | Indicates the IP address bound to the ATM traffic stream. To access the network in the ATM mode, use this parameter. | - |
eth | Indicates the IP address bound to the ETH traffic stream. To access the network in the ETH mode, use this parameter. | - |
vdsl | Indicates the IP address bound to the VDSL traffic stream. To access the network in the VDSL mode, use this parameter. | - |
gpon | Indicates the IP address bound to the GPON traffic stream. To access the network in the GPON mode, use this parameter. | - |
frameid/slotid/portid | Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. To specify a traffic stream by its physical position, use this parameter. | Please see Differences Between Shelves. |
vpi vpi | Indicates the VPI of the traffic stream. It is used with the VCI to identify a virtual path. |
Numeral type. Range:
|
vci vci | Indicates the VCI of the traffic stream. It is used with the VPI to identify a virtual path. |
|
single-service | When the port type is single port for single traffic stream, use this parameter. | - |
autosense | Indicates an auto-sense traffic stream. When the traffic stream learns the user VPI/VCI automatically, use this parameter. | - |
stream | To query the IP address bound to the port in the case of single port for single service, in the ETH access or the PTM access of VDSL, use this parameter. | Numeral type. Range: 0-255. |
user-vlan user-vlanid | Indicates the VLAN ID on the user side. To query the IP address bound to the physical port with the VLAN on the user side, use this parameter. | Numeral type. Range: 1-4095. |
user-8021p user-8021p | Indicates the user priority. To query the IP address bound to the physical port with the user priority, use this parameter. | Numeral type. Range: 0-7. |
user-encap user-encap |
Indicates the user-side encapsulation type. To differentiate users
by the user-side encapsulation type, use this parameter.
|
Enumerated type. Options: ipoe and pppoe, where:
|
untagged |
Indicates that when the traffic stream carries multiple services classified
by user VLAN, you can specify the packet as untagged. The untagged packet does not contain the VLAN information. |
- |
all | Queries the binding between all traffic streams and the IP address. | - |
service-port index | Indicates the traffic stream ID. It uniquely identifies a traffic stream. | |
gemport gemportid | Indicates the GEM port ID. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use. | Numeral type. Range: 128-3999. |
Example
To query the binding between the IP address and the traffic stream of GEM
port 128 on GPON port 0/3/0, do as follows:
huawei#display bind gpon 0/3/0 gemport 128
-------------------------
No. IP address
-------------------------
0 10.10.10.2
1 2001:0DB8:0:CD30::/64
2 -
3 -
4 -
5 -
6 -
7 -
-------------------------
To query the binding between all traffic streams and the IP address, do as
follows:huawei#display bind all -------------------------------------------------------------------- SRV-P TYPE F /S /P VLAN ID VPI VCI FLOWTYPE FLOWPARA IP-NUM INDEX -------------------------------------------------------------------- 5 adsl 0 /3 /0 10 0 35 vlan 100 1 2 adsl 0 /3 /0 10 0 37 - - 8 -------------------------------------------------------------------- Total: 2 Note: F--Frame, S--Slot, P--Port, VPI indicates GEM Port ID for GPON, v/e--vlan/encap, pri-tag--priority-tagged, ppp--pppoe, ip--ipoe, ip4--ipv4oe, ip6--ipv6oeTo query the binding between traffic stream 0 and the IP address, do as follows:
huawei#display bind service-port 0 ----------------------------------------------- No. IP address ----------------------------------------------- 0 2001:DB8:0:CD30::/64 1 10.10.1.100 2 - 3 - 4 - 5 - 6 - 7 - -----------------------------------------------
System Response
- The system displays the queried result when the command runs successfully.
- The following table describes the parameters in response to the
display bind gpon 0/3/0 gemport 128
command.
Parameter Description No. Indicates the number of the IP addresses bound to the traffic stream. Each traffic stream can be bound to a maximum of eight IP addresses. IP address Indicates the IP address bound to the traffic stream. "-" indicates that the IP address is not bound. - The following table describes the parameters in response to the
display bind all command.
Parameter Description SRV-P INDEX Indicates the traffic stream ID. Type Indicates the traffic stream type. The options are ADSL, SHDSL, VDSL, ATM, GPON, and ETH access modes. F /S /P Indicates the subrack ID, slot ID, and port ID. VLAN ID Indicates the upstream VLAN ID of the traffic stream. VPI In the case of an xDSL port, it is the virtual path identification. In the case of a GPON port or a EPON port, it is the ONT ID. VCI In the case of an xDSL port, it is the virtual channel identification. In the case of a GPON port, it is the GEM port ID. In the case of an EPON port, it is meaningless. FLOWTYPE Indicates the traffic type. The displayed traffic type is the same as that configured by the service-port(profile mode) command. FLOWPARA Indicates the flow parameter. The flow parameter differentiates by the flow type. The flow parameters displayed are consistent with that configured by the service-port(profile mode) command. IP-NUM Indicates the number of the IP addresses bound to the traffic stream. Total Indicates the number of the traffic streams bound to the IP address.
No comments:
Post a Comment