The service-port command is used to create a service virtual port. A service virtual port is used to connect to the user device. After the user device is connected to the service virtual port, the service stream is generated from the service virtual port to the user device. In this way, various service streams can travel to the user device.
The undo service-port command is used to delete a service virtual port. To delete a service virtual port that does not need to carry services, run this command. After the command is executed successfully, the service virtual port is not available.
ATM access mode
Create an AoE service virtual port:
service-port [ index ] vlan aoe atm frameid/slotid/portid vpi vpi vci vci [ single-service ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a non-AoE service virtual port:
service-port [ index ] vlan vlanid atm frameid/slotid/portid vpi vpi vci vci [ single-service ] [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Delete a service virtual port:
undo service-port vlan [ vlanid | aoe ] atm frameid/slotid/portid
ADSL access mode
Create an AoE service virtual port:
service-port [ index ] vlan aoe adsl frameid/slotid/portid vpi vpi vci vci [ single-service ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an autosense service virtual port:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid adsl frameid/slotid/portid autosense [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an all-service service virtual port:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid adsl frameid/slotid/portid vpi vpi vci vci [ single-service ] [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a multi-service service virtual port:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid adsl frameid/slotid/portid vpi vpi vci vci multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Delete a service virtual port:
undo service-port vlan [ vlanid | aoe ] adsl frameid/slotid/portid
VDSL access mode
Create a single-service service virtual port in the PTM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid vdsl mode ptm frameid/slotid/portid [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a multi-service service virtual port in the PTM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid vdsl mode ptm frameid/slotid/portid multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a multi-service service virtual port in the ATM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid vdsl mode atm frameid/slotid/portid vpi vpi vci vci multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an autosense service virtual port in the ATM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid vdsl mode atm frameid/slotid/portid autosense [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an all-service service virtual port in the ATM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid vdsl mode atm frameid/slotid/portid vpi vpi vci vci [ single-service ] [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an all-service service virtual port without VLAN translation in the ATM mode:
service-port [ index ] vlan aoe vdsl mode atm frameid/slotid/portid vpi vpi vci vci [ single-service ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Delete a service virtual port:
undo service-port vlan [ vlanid | aoe ] vdsl frameid/slotid/portid
E2E service mode
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan { vlanid | name vlan-name } gpon frameid/slotid/portid ont ontid { { eth | vdsl } ont-port-list | iphost } multi-service user-vlan { untagged | user-vlanid | priority-tagged } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ] * | add-double [ inner-vlan vlanid | inner-priority priority ] * } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan { vlanid | name vlan-name } port frameid/slotid/portid ont ontid [ { eth | vdsl } ont-port-list | iphost ] multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] | user-8021p-list user-8021p-list { user-vlan user-vlanid | vlan-all } } [ tag-transform { default | transparent | translate | translate-and-add inner-vlan vlanid [ inner-priority priority ] | add-double inner-vlan vlanid [ inner-priority priority ] } ] [ bundle bundleid cos cos ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan { vlanid | name vlan-name } epon frameid/slotid/portid ont ontid eth ont-port-list [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ] * } ] [ bundle bundleid cos cos ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan { vlanid | name vlan-name } epon frameid/slotid/portid ont ontid eth ont-port-list multi-service { user-vlan { { untagged | user-vlanid [ to end-user-vlanid ] | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ] [ bundle bundleid cos cos ]
SHDSL access mode
Create a single-service service virtual port in the PTM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid shdsl mode ptm frameid/slotid/portid [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a multi-service service virtual port in the PTM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ]vlan vlanid shdsl mode ptm frameid/slotid/portid multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a multi-service service virtual port in the ATM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid { shdsl mode atm frameid/slotid/portid vpi vpi vci vci multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an autosense service virtual port in the ATM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid shdsl mode atm frameid/slotid/portid autosense [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an all-service service virtual port in the ATM mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid shdsl mode atm frameid/slotid/portid vpi vpi vci vci [ single-service ] [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create an all-service service virtual port without VLAN translation in the ATM mode:
service-port [ index ] vlan aoe vdsl mode atm frameid/slotid/portid vpi vpi vci vci [ single-service ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Delete a service virtual port:
undo service-port vlan [ vlanid | aoe ] shdsl frameid/slotid/portid
GPON access mode:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid gpon frameid/slotid/portid ont ontid { gemport gemindex | eth port-index-list | iphost } [ multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } ] [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Delete all the service virtual ports in a VLAN:
undo service-port vlan vlanid gpon frameid/slotid/portid [ ont ontid gemport gemindex ]
Delete all the service virtual ports on a physical port:
undo service-port port frameid/slotid/portid ont ontid gemport gemindex [ user-vlan { untagged | user-vlanid } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] ]
EPON access mode:
Create a single-service service virtual port:
service-port [ index ] vlan vlanid epon frameid/slotid/portid ont ontid [ eth port-index-list ] [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ] * } ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a multi-service service virtual port:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid epon frameid/slotid/portid ont ontid [ eth port-index-list ] multi-service { user-vlan { { untagged | user-vlanid [ to end-user-vlanid ] | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ] [ bundle bundleid cos cos ]
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid epon frameid/slotid/portid ont { ontid | all } multi-service { user-vlan { { untagged | user-vlanid [ to end-user-vlanid ] | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ] [ bundle bundleid cos cos ]
Delete a service virtual port:
undo service-port vlan vlanid epon frameid/slotid/portid ont ontid
undo service-port epon frameid/slotid/portid ont ontid
E2E traffic stream of the xPON access:
service-port [ index ] vlan vlanid port frameid/slotid/portid ont ontid [ {eth | vdsl } port-index-list | iphost ] [ multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } ] [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ bundle bundleid cos cos ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
ETH access mode
Create a multi-service service virtual port:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid eth frameid/slotid/portid multi-service { user-vlan { { untagged | user-vlanid | priority-tagged } [ user-encap user-encap ] | other-all } | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } [ tag-transform { default | transparent | translate | translate-and-add [ inner-vlan vlanid | inner-priority priority ]* | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid eth frameid/slotid/portid multi-service double-vlan outer-vlan vlanid inner-vlan vlanid [ tag-transform { translate-double [ inner-vlan vlanid | inner-priority priority ] * | translate-and-remove } ] [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Create a single-service service virtual port:
service-port [ index ] [ uplink-port frameid/slotid/portid ] vlan vlanid eth frameid/slotid/portid [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ]* } ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
service-port [ index ] vlan vlanid eth frameid/slotid/portid [ tag-transform { default | add-double [ inner-vlan vlanid | inner-priority priority ] * } ] [ bundle bundleid cos cos ] [ rx-cttr rx-index tx-cttr tx-index | inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Connection-oriented service virtual port:
service-port [ index ] source eth frameid/slotid/portid { user-vlan { untagged | user-vlanid } | double-vlan outer-vlan vlanid inner-vlan vlanid } destination gpon frameid/slotid/portid [ ont ontid { gemport gemindex | eth port-index-list | iphost } ] multi-service user-vlan { untagged | user-vlanid} [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
service-port [ index ] source eth frameid/slotid/portid { user-vlan { untagged | user-vlanid } | double-vlan outer-vlan vlanid inner-vlan vlanid } destination eth frameid/slotid/portid multi-service { user-vlan { untagged | user-vlanid } | double-vlan outer-vlan vlanid inner-vlan vlanid } [ inbound traffic-table { index index | name name } outbound traffic-table { index index | name name } ]
Delete a service virtual port:
undo service-port vlan vlanid eth frameid/slotid/portid
undo service-port autosense
undo service-port port frameid/slotid/portid autosense
undo service-port port frameid/slotid/portid { user-8021p user-8021p [ user-vlan user-vlanid ] | user-encap user-encap | user-vlanid { untagged | user-vlanid } }
undo service-port port frameid/slotid/portid vpi vpi [ vci vci ] { single-service | user-8021p user-8021p [ user-vlan user-vlanid ] |user-vlan { untagged | user-vlanid } | user-encap user-encap } }
undo service-port port frameid/slotid/portid vpi vpi [ vci vci ]
undo service-port { all | index }
Modify the traffic profile bound to the service virtual port:
service-port index { inbound traffic-table { index index | name name } | outbound traffic-table { index index | name name } } *
Delete service ports on a board:
undo service-port board frameid/slotid autosense
There are four types of parameters in the service-port command. For details, see Access mode parameters, Traffic classification parameters, VLAN translation parameters, and Traffic profile parameters
Parameter |
Description |
Value |
---|
Parameter |
Description |
Value |
---|---|---|
index |
Indicates the index of a service virtual port. To create a service virtual port by index, use this parameter. When creating a service virtual port, you can choose to specify the index or you can choose not to. If you do not specify it, the system allocates the smallest idle index automatically. |
Numeral type. Range:
NOTE:
The service port ID of command lines is smaller than that configured on the NMS by 1. |
atm |
Indicates the ATM service type. When the user access mode is ATM, use this parameter. |
- |
adsl |
Indicates the ADSL service type. When the user access mode is ADSL, use this parameter. |
- |
shdsl |
Indicates the SHDSL service type. When the user access mode is SHDSL, use this parameter. |
- |
vdsl |
Indicates the VDSL service type. When the user access mode is VDSL, use this parameter. |
- |
eth |
Indicates the ETH service type. When the user access mode is ETH, use this parameter. |
- |
gpon |
Indicates the GPON service type. When the user access mode is GPON, use this parameter. |
- |
aoe |
Indicates the ATM over Ethernet (AoE) service. When the access user is an AoE emulation user, use this parameter. AoE emulation is to transmit the traditional ATM service on access devices or networks in the Ethernet architecture. The ATM cell in the AoE emulation technology is not resolved or reassembled. As a whole, it is considered as an Ethernet packet or PWE3 payload, and the cell is transmitted on access devices or networks. After the reserved VLAN is set by running the vlan reserve command, the system considers the first reserved VLAN as the AOE VLAN by default. |
- |
mode |
Indicates the VDSL working mode. It can be ATM or PTM mode.
|
Enumerated type. Options: atm and ptm. |
other-all |
Differentiates users based on the transparent LAN service (TLS). If both the TLS traffic and the traffic stream on the tagged user-side VLAN (or untagged) are configured, the user-side packet maps the user VLAN first. The packets that do not map the user-side VLAN are considered to map the TLS traffic and transmitted to the upper layer network in this special channel. The upstream VLAN for the TLS traffic must be a QinQ VLAN or a Stacking VLAN. |
- |
vlanid |
Indicates the VLAN ID. It identifies a VLAN uniquely. |
Numeral type. Range: 1-4093. |
vpi vpi |
Indicates the virtual path identifier. It is used to identify a user when used with the VCI. |
Numeral type. Range:
|
vci vci |
Indicates the virtual channel identifier. It is used to identify a user when used with the VPI. |
|
port frameid/slotid/portid |
Indicates the subrack ID, the slot ID and the port ID. Enter "/" between the subrack ID, slot ID, and port ID. To create a service virtual port for a specified port, use this parameter. |
Please see Differences Between Shelves. |
board frameid/slotid |
Indicates the subrack ID and slot ID. Enter "/" between the subrack ID and the slot ID. To create a service virtual port for a specified slot, use this parameter. |
Please see Differences Between Shelves. |
autosense |
Indicates the auto-sensing service virtual port. This parameter is used for the system to automatically learn the VPI and VCI on the user side. Each physical port can create one auto-sensing service stream at most, and the auto-sensing service stream cannot coexist with a common service stream. |
- |
ont ontid |
Indicates the ONT ID. To set the service virtual port for a specified ONT, use this parameter. |
Please see Differences Between Shelves. |
eth port-index-list |
Indicates the Ethernet list on an ONT. To configure the service by using end-to-end service stream, use this parameter. For example, if the port-index-list is set to "0,2-3", it indicates port IDs are 0, 2, and 3. This parameter cannot be configured if the port vlan(gpon profile) command or the port vlan(epon profile) command is used to configure the VLAN of a user port. This parameter cannot be configured if the port vlan(gpon profile) command or the port vlan(epon profile) command is used to configure the native VLAN of an ONT port. |
Character string type. A string of 1-32 characters. |
vdsl port-index-list |
Indicates the VDSL list on an ONT. To configure the service by using end-to-end service stream, use this parameter. For example, if the port-index-list is set to "0,2-3", it indicates port IDs are 0, 2, and 3. This parameter cannot be configured if the port vlan(gpon profile) command or the port vlan(epon profile) command is used to configure the VLAN of a user port. This parameter cannot be configured if the port vlan(gpon profile) command or the port vlan(epon profile) command is used to configure the native VLAN of an ONT port. |
Character string type. A string of 1-32 characters. |
iphost |
Indicates the voice port on an ONT. The IPHOST port is a virtual port of an ONT, which is responsible for the communication between the voice chip and the GMAC chip. You can use this parameter only when using the end-to-end service stream (which is created between an OLT and an ONT by running the service-port command). This parameter cannot be configured if the port vlan(gpon profile) command or the port vlan(epon profile) command is used to configure the VLAN of a user port. This parameter cannot be configured if the port vlan(gpon profile) command or the port vlan(epon profile) command is used to configure the native VLAN of an ONT port. |
- |
gemport gemindex |
Indicates the GEM port ID. GEM ports of each PON port are numbered in a centralized way. |
Numeral type. Range: 0-1023. |
source | Indicate the source of the connection-oriented service virtual port. To create a connection-oriented service virtual port, use this parameter. |
- |
destination | Indicate the destination of the connection-oriented service virtual port. |
- |
bundle bundleid |
Indicates the index of a service flow bundle which is added by a service stream. The service flow bundle is a forwarding model (CoS-based forwarding) adopted for meeting the QoS requirements of Layer 3 terminal access. Each service flow bundle corresponds to a type of service of a user; each type of service is indicated by a service flow and maps one CoS priority. You need to run the service-port-bundle command to create a service flow bundle before creating a bundle service. |
Numeral type. Range: 0-16383. |
cos cos |
Indicates the relevant CoS value of a service virtual port that is added to a service flow Bundle. Each Cos value of the same service flow Bundle must be unique. |
Numeral type. Range: 0-7. |
all |
To create a raw stream of an EPON port or delete all service virtual ports, use this parameter. |
- |
uplink-port frameid/slotid/portid |
Indicates
the subrack ID, the slot ID and the port ID. Enter "/" between the
subrack ID, slot ID, and port ID. When the strict SVLAN+CVLAN forwarding
(the packet is forwarded on the service board and control board based
on SVLAN+CVLAN) is configured, use this parameter to specify the
uplink-port. Configure the traffic stream that uses strict SVLAN+CVLAN
forwarding. The procedure is as follows:
|
Please see Differences Between Shelves. |
Parameter |
Description |
Value |
---|
Parameter |
Description |
Value |
---|
Parameter |
Description |
Value |
---|
Parameter |
Description |
Value |
---|---|---|
traffic-table |
Indicates the keyword for modifying the traffic profile referenced by a service virtual port. |
- |
inbound |
Indicates
the inbound port direction. In the case of a service-oriented service
virtual port, this port refers to the destination port.
|
- |
outbound |
Indicates
the outbound port direction. In the case of a service-oriented service
virtual port, this port refers to the destination port.
|
- |
rx-cttr rx-index |
Indicates the traffic index of a connection in the receiving direction (from the network side to the user side).
You can select a proper traffic index in one of the following ways:
The function of this parameter is the same as the function of the outbound parameter. The outbound parameter is recommended. |
Numeral type. Range: 0-1023. |
tx-cttr tx-index |
Indicates the traffic index of a connection in the sending direction (from the user side to the network side). For how to select a proper parameter, see the description of parameter rx-cttr index. The function of this parameter is the same as the function of the inbound parameter. The inbound parameter is recommended. |
Numeral type. Range: 0-1023. |
index index |
Indicates the index of the traffic profile. |
Numeral type. Range: 0-1023. |
name name |
Indicates the name of the traffic profile. |
Character string type, a string of 1-32 characters. |
Service Type/ONT Type |
Bridge Type with Only the ETH Port |
Gateway Type |
Bridge Type with the Voice Port |
---|
Service Type/ONT Type |
Bridge Type with Only the ETH Port |
Gateway Type |
Bridge Type with the Voice Port |
---|---|---|---|
Tagged HSI service |
Service-port … ont ontid xx eth xx … |
Service-port … ont ontid… |
Service-port … ont ontid xx eth xx … |
Untagged HSI service |
Not supported |
Service-port … ont ontid xx iphost … The native VLAN of the ONT port must be configured. Otherwise, different services cannot be identified. |
Not supported |
VoIP voice service |
Service-port … ont ontid xx eth xx … |
Service-port … ont ontid… |
Service-port … ont ontid xx… Service-port …gpon … ont ontid iphost… |
IPTV service |
Service-port … ont ontid xx eth xx … |
Service-port … ont ontid… |
Service-port … ont ontid xx eth xx … |
Assume the following configurations: GPON port 0/3/1 of the MA5600T/MA5603T/MA5608T is connected to an ONT (that provides users with single service) with the ID 1, the index of the GEM port that carries services is 100, the service VLAN ID is 10, and the traffic profile ID is 6.
huawei(config)#service-port { desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-port<K>|vlan<K> }:vlan { aoe<K>|vlanid<U><1,4093> }:10 { adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|shdsl<K>|vdsl<K> }:gpon { frameid/slotid/portid<S><Length 1-15> }:0/3/1 { ont<K> }:ont { ontid<U><0,63> }:1 { eth<K>|gemport<K>|iphost<K> }:gemport { gemindex<U><0-1023> }:100 { <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-transform<K> }:inbound { traffic-table<K> }:traffic-table { index<K>|name<K> }:index { index<U><0,1023> }:6 { outbound<K> }:outbound { traffic-table<K> }:traffic-table { index<K>|name<K> }:index { index<U><0,1023> }:6 Command: service-port vlan 10 gpon 0/3/1 ont 1 gemport 100 inbound traffic-table index 6 outbound traffic-table index 6
Assume that a household user requests the Internet access service with the access rate 2048 kbit/s. The ADSL port 0/4/0 of the 0/4/0 carries the multicast service and the Internet access service, now service virtual ports that carry the Internet access service are added, which VPI and VCI are 0 and 35 respectively (The VPI and VCI must be the same as the management VPI and VCI of the peer modem. Assume that the management VPI and VCI of the modem are 0 and 35 respectively), users are differentiated by C-VLAN. The S-VLAN ID is 10, the C-VLAN ID is 101, and the traffic profile ID is 5.
huawei(config)#service-port { desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-port<K>|vlan<K> }:vlan { aoe<K>|vlanid<U><1,4093> }:10 { adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|shdsl<K>|vdsl<K> }:adsl { frameid/slotid/portid<S><Length 1-15> }: 0/4/0 { autosense<K>|vpi<K> }:vpi { vpi<U><0,255> }:0 { vci<K> }:vci { vci<U><32,255> }:35 { <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|single-service<K>|tag-transform<K> }:multi-service { user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan { other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:101 { <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:inbound { traffic-table<K> }:traffic-table { index<K>|name<K> }:index { index<U><0,1023> }:6 { outbound<K> }:outbound { traffic-table<K> }:traffic-table { index<K>|name<K> }:index { index<U><0,1023> }:6 Command: service-port vlan 10 adsl 0/4/0 vpi 0 vci 35 multi-service user-vlan 101 inbound traffic-table index 6 outbound traffic-table index 6
Assume that GPON port 0/3/1 of the MA5600T/MA5603T/MA5608T is connected to ONT 1, the ID of the GEM port that carries services is 100, the service VLAN ID is 300, and the traffic profile name is ftth_voip; the VLAN translation mode is translate-and-add, C-VLAN 45 carried from the user side is translated to 3001, and S-VLAN 300 is added.
huawei(config)#service-port { desc<K>|index<U><0,32767>|remote-desc<K>|source<K>|uplink-port<K>|vlan<K> }:vlan { aoe<K>|vlanid<U><1,4093> }:300 { adsl<K>|atm<K>|epon<K>|eth<K>|gpon<K>|port<K>|shdsl<K>|vdsl<K> }:gpon { frameid/slotid/portid<S><Length 1-15> }:0/3/1 { ont<K> }:ont { ontid<U><0,254> }:1 { eth<K>|gemport<K>|iphost<K> }:gemport { gemindex<U><0,1023> }:100 { <cr>|bundle<K>|inbound<K>|multi-service<K>|rx-cttr<K>|tag-transform<K> }:multi-ser vice { user-8021p<K>|user-encap<K>|user-vlan<K> }:user-vlan { other-all<K>|priority-tagged<K>|untagged<K>|user-vlanid<U><1,4095> }:45 { <cr>|bundle<K>|inbound<K>|rx-cttr<K>|tag-transform<K>|user-encap<K> }:tag-transform { add-double<K>|default<K>|translate-and-add<K>|translate<K>|transparent<K> }:translat e-and-add { <cr>|bundle<K>|inbound<K>|inner-priority<K>|inner-vlan<K>|rx-cttr<K> }:inner-vlan { vlanid<U><1,4095> }:3001 { <cr>|bundle<K>|inbound<K>|inner-priority<K>|rx-cttr<K> }:inbound { traffic-table<K> }:traffic-table { index<K>|name<K> }:name { name<S><Length 1-32> }:ftth_voip { outbound<K> }:outbound { traffic-table<K> }:traffic-table { index<K>|name<K> }:name { name<S><Length 1-32> }:ftth_voip Command: service-port vlan 300 gpon 0/3/1 ont 1 gemport 100 multi-service user- vlan 45 tag-transform translate-and-add inner-vlan 3001 inbound traffic-table na me ftth_voip outbound traffic-table name ftth_voip
To delete all the service virtual ports in VLAN 10, do as follows:
huawei(config)#undo service-port
{ all<K>|autosense<K>|board<K>|desc<K>|index<U><0,32767>|port<K>|remote-desc<K>|
vlan<K> }:vlan
{ aoe<K>|vlanid<U><1,4093> }:10
{ <cr>|adsl<K>|atm<K>|autosense<K>|epon<K>|eth<K>|gpon<K>|shdsl<K>|vdsl<K> }:
Command:
undo service-port vlan 10
Warning: The operation will delete multiple or all service ports and cause
interruptions of many user services.
It will take several minutes, and console may timeout, please use command idle
-timeout to set time limit
Are you sure to release service virtual port(s)? (y/n)[n]:y
The number of total service virtual port in this operation: 1
Deleting start...
Deleting end:
The number of total service virtual port which need be deleted: 1
The number of total service virtual port which have been deleted: 0