EasyManua.ls Logo

HP 5800 Series

HP 5800 Series
396 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
218
Syntax
encapsulation { port-based | s-vid vlan-id [ only-tagged ] | tagged | untagged }
undo encapsulation
View
Service instance view
Default level
2: System level
Parameters
port-based: Matches all packets received on the current port.
s-vid vlan-id: Specifies a VLAN ID to match packets carrying the specified VLAN ID. If the specified VLAN
ID is the default VLAN ID (PVID) of the current port and the only-tagged keyword is not specified, the
service instance matches packets carrying the current port’s PVID tag as well as untagged packets.
only-tagged: Matches only tagged packets.
tagged: Matches all tagged packets received on the port.
untagged: Matches all untagged packets received on the port.
Examples
# On port GigabitEthernet 1/0/1, configure service instance 100 to match all packets received on the
port.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] service-instance 100
[Sysname-GigabitEthernet1/0/1-srv100] encapsulation port-based
[Sysname-GigabitEthernet1/0/1-srv100] quit
[Sysname-GigabitEthernet1/0/1] quit
# On port GigabitEthernet 1/0/2, configure service instance 101 to match packets carrying the VLAN
tag of 200.
[Sysname-GigabitEthernet1/0/2] service-instance 101
[Sysname-GigabitEthernet1/0/2-srv101] encapsulation s-vid 200 only-tagged
[Sysname-GigabitEthernet1/0/2-srv101] quit
# On port GigabitEthernet 1/0/2, configure service instance 102 to match all untagged packets.
[Sysname-GigabitEthernet1/0/2] service-instance 102
[Sysname-GigabitEthernet1/0/2-srv102] encapsulation untagged
encapsulation (VSI view)
Description
Use the encapsulation command to specify the encapsulation type of a VPLS instance.
By default, the encapsulation type of a VPLS instance is VLAN, which corresponds to the VPLS instance
PW encapsulation type of VLAN.
Syntax
encapsulation { bgp-vpls | ethernet | vlan }

Table of Contents

Other manuals for HP 5800 Series

Related product manuals