OcNOS SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : Virtual Private LAN Service Commands
Virtual Private LAN Service Commands
This chapter describes each VPLS (Virtual Private LAN Service) command.
ve-id
ac-admin-status
Use this command to configure the admin status of an attachment circuit specific to a VPLS instance.
Command Syntax
ac-admin-status down
no ac-admin-status
Parameter
down
set the admin role as DOWN
Default
By default, ac admin status is up
Command Mode
Interface VPLS
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows the configuration of admin status for attachment circuit specific to VPLS instance
#configure terminal
(config)#interface xe1
(config-if)#mpls-vpls vpls1 service-template st1
(config-if-vpls)#no ac-admin-status
ac-description
Use this command to add description for an attachment circuit specific for a VPLS instance
Use the no parameter with this command to remove the description
Command Syntax
ac-description LINE
Parameter
LINE
Characters describing this AC
Default
By default, ac description LINE is disabled
Command Mode
Interface VPLS
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows the configuration of description for attachment circuit specific to VPLS instance
#configure terminal
(config)#interface xe1
(config-if)#mpls-vpls vpls1 service-template st1
(config-if-vpls)#ac-description AC1_VPLS1
clear mpls vpls
Use this command to clear VPLS data.
Command Syntax
clear mpls vpls (NAME |) mac-addresses
Parameters
NAME
Clear data for the VPLS instance with name given
mac-addresses
Flush all MAC addresses for a VPLS instance
Command Mode
Exec mode and privileged exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#clear mpls vpls VPLS_123 mac-addresses
control-word
Use this command to enable control-word for a VPLS instance.
Use the no parameter with this command to disable control-word.
Command Syntax
control-word
no control-word
Parameters
None
Default
By default, control-word is disabled.
Command Mode
VPLS mode
Applicability
This command was introduced in OcNOS version 4.1.
Example
#(config-vpls)#control-word
 
#(config-vpls)#no control-word
exit-signaling
Use this command to exit the VPLS signaling configuration mode, and start signaling. To configure signaling with LDP, see the signaling ldp command. Other VPLS signaling configuration commands include show mpls vpls, show mpls vpls, vpls-vc, vpls-ac-group, and vpls-peer.
Note: It is critical to give this command after all VPLS signaling configurations are complete, otherwise signaling does not start.
Command Syntax
exit-signaling
Parameters
None
Default
No default value is specified
Command Mode
VPLS Signaling mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
# configure terminal
(config)#mpls vpls test 100
(config-vpls)#signaling ldp
(config-vpls-sig)#exit-signaling
 
exit-if-vpls
Use this command to exit from Interface VPLS mode
Command Syntax
exit-if-vpls
Parameter
None
Default
No default value is specified
Command Mode
Interface VPLS
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows exiting from interface VPLS mode
#configure terminal
(config)#interface xe1
(config-if)#mpls-vpls vpls1 service-template st1
(config-if-vpls)#ac-description AC1_VPLS1
(config-if-vpls)#exit-if-vpls
(config-if-vpls)#exit
learning disable (VPLS Mode)
Use this command to disable learning for a VPLS instance.
Use the no form of this command to enable learning on a VPLS instance.
Note: This command disables learning on all the attachment circuits and pseudo-wires belonging to that VPLS instance.
Command Syntax
learning disable
no learning disable
Parameter
None
Default
By default, learning disable is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config-vpls)#mpls vpls vpls2 vlan 3
(config-vpls)#learning disable
(config-vpls)#exit
 
#configure terminal
(config-vpls)#mpls vpls vpls2 vlan 3
(config-vpls)#no learning disable
(config-vpls)#exit
learning disable (Interface VPLS Mode)
Use this command to disable learning on a particular Attachment Circuit (AC) interface.
Use the learning enable command to enable learning on a particular AC interface.
Note: This command disables MAC learning only on that interface.
Command Syntax
learning disable
Parameter
None
Default
By default, learning disable is disabled
Command Mode
Interface VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth0
(config-if)#mpls-vpls vpls1 service-template st1
(config-if-vpls)#learning disable
(config-if-vpls)#exit
 
learning enable
Use this command to enable learning on a particular attachment circuit (AC) interface.
Use the learning disable (Interface VPLS Mode) command to disable learning on a particular AC interface.
Note: This command enables MAC learning only on that AC interface.
Command Syntax
learning enable
Parameter
None
Default
By default, learning enable is enabled
Command Mode
Interface VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth0
(config-if)#mpls-vpls vpls1 service-template st1
(config-if-vpls)#learning enable
(config-if-vpls)#exit
no learning
Use this command to reset learning on a particular AC-interface to the global learning configuration.
Command Syntax
no learning
Parameter
None
Default
By default, no learning is disabled
Command Mode
Interface VPLS mode and VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth0
(config-if)#mpls-vpls vpls1 service-template st1
(config-if-vpls)#no learning
(config-if-vpls)#exit
(config)#
 
#configure terminal
(config)#mpls vpls vpls5 vlan 34
(config-vpls)#learning limit 500
(config-vpls)#exit
(config)#
 
 
 
 
 
mpls vpls
Use this command to create an instance of MPLS-based Virtual Private LAN Services (VPLS).
Use the no parameter with this command to delete an MPLS-based VPLS instance.
Command Syntax
mpls vpls NAME
mpls vpls NAME <1-4294967295>
no mpls vpls NAME
Parameters
NAME
VPLS instance identifier
<1-4294967295>
VPLS instance identifier
Default
By default, mpls vpls is disabled
Command Mode
Configuration mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#mpls vpls t1 6489
(config-vpls)#exit
 
mpls-vpls service-template
Use this command to bind a VPLS instance to a service template.
Use the no parameter with this command unbind the VPLS instance from service template.
Command Syntax
mpls-vpls VPLS_NAME service-template TEMPLATE_NAME
no mpls-vpls VPLS_NAME service-template TEMPLATE_NAME
Parameters
VPLS_NAME
VPLS instance name
TEMPLATE_NAME
Service template name
Default
N/A
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface eth1
(config-if)#switchport
(config-if)#mpls-vpls VPLS1 service-template C1
(config_if_vpls)#exit-if-vpls
 
(config-if)#no mpls-vpls VPLS1 service-template C1
(config_if)#exit-if-vpls
 
show mpls vpls
Use this command to display logging information configured for MPLS.
Command Syntax
show mpls vpls
show mpls vpls debug-detail
show mpls vpls detail
show mpls vpls mesh
show mpls vpls NAME
show mpls vpls NAME mesh
show mpls vpls NAME spoke
show mpls vpls spoke
show mpls vpls count
Parameters
debug-detail
Show detailed VPLS information for debugging purpose
detail
Display detailed VPLS information
mesh
Display MPLS VPLS Mesh Forwarding information. Use this parameter to display information about all core Virtual Circuit (VC) connections for all VPLS instances. Give the name of a VPLS instance to display information about that instance.
NAME
Display the identifying string for the VPLS domain
spoke
Display MPLS VPLS Spoke Forwarding information. Use this parameter to display information about all spoke VC connections for all VPLS instances. Give the name of a VPLS instance to display information about that instance.
count
Display the count of VPLS instances
Command Mode
Exec and Privileged Exec modes
Applicability
This command was introduced before OcNOS version 1.3.
Examples
Using show mpls vpls command without parameters displays information about all VPLS instances.
The example below displays information about the VPLS instance v1, returned when using the NAME parameter.
#show mpls vpls t1
Virtual Private LAN Service Instance: t1, ID: 1
Group ID: 0, VPLS Type: Ethernet VPLS, Configured MTU: 0
Description: none
Configured interfaces: none
Mesh Peers: 192.168.0.80 (Up)
192.168.0.90 (Up)
Spoke Peers: t100 (Up)
#
 
Table 3-2 explains the show command output fields.
 
Table 3-2: show mpls vpls t1 output field
Field
Description
Virtual Private LAN Service Instance
Number of VPLAN service instance.
ID
VPLAN identification detail for service instance.
Group ID
Group identification detail for VLAN.
VPLS Type
Type of VPLS in the interface.
Configured MTU
Number of configured MTU in the VPLs.
Description
Details of VPLS.
Configured interfaces
Description of the configured interfaces.
Mesh Peers
Configuring the VPLS mesh peers.
Spoke Peers
Configuring the VPLS spoke peers.
 
 
The example below displays the name of the VPLS instance, its ID, they type of instance (Ethernet), the M and S peers, and the signaling protocol. For the first entry, the signaling protocol is BGP and for the second entry it is LDP.
#show mpls vpls
Name VPLS-ID Type MPeers SPeers SIG-Protocol
v1 100 Ethernet 1 0 BGP
v3 300 Ethernet 1 0 LDP
 
 
Table 3-3 explains the show command output fields.
 
Table 3-3: show mpls vpls output field
Field
Description
Name
Type of the MPLS protocol.
VPLS-ID
Identification detail of VPLS.
Type
Type of VPLS in MPLS protocol.
Mesh Peers
Configuring the VPLS mesh peers.
Spoke Peers
Configuring the VPLS spoke peers.
SIG-Protocol
Type of protocol in MPLS configuration.
 
 
The example below displays the output when using the debug-detail parameter. It displays information for VPLS instance vpls1, including the signaling protocol, create time, uptime, total down time, associated transport, traffic statistics if non-zero and statistics profile enabled, and so on.
#show mpls vpls debug-detail
Virtual Private LAN Service Instance: vpls1, ID: 300
SIG-Protocol: LDP
Attachment-Circuit: UP
Learning: Enabled
Control-Word: Disabled
Flow Label Status: Disabled, Direction: None, Static: No
Group ID: 0, VPLS Type: Ethernet VLAN, Configured MTU: 1500
Description: none
service-tpid: dot1.q
Operating mode: Tagged
Svlan Id: 0
Svlan Tpid: 8100
 
Configured interfaces:
Interface: xe4
Status: Up
Service-template : vpls1
Match criteria : 440
 
Mesh Peers:
2.2.2.2 State: Installed
CreateTime: 08:56:53, UpTime: 08:56:53
TotalDownTime: N/A, FlapCount: 0, LastFlapReason: N/A
Tunnel-Id: 11
Transport: owner CLI, ftn_ix 9
3.3.3.3 State: Installed
CreateTime: 08:56:53, UpTime: 08:56:53
TotalDownTime: N/A, FlapCount: 0, LastFlapReason: N/A
Tunnel-Name: t1
Transport: owner RSVP, ftn_ix 8
4.4.4.4 State: Installed
CreateTime: 08:56:53, UpTime: 08:49:39
TotalDownTime: 00:01:11, FlapCount: 1, LastFlapReason: FIB delete from protocol
Tunnel-Policy: p1
Transport: owner SR_POLICY, ftn_ix 13
 
 
The example below displays the output when using the detail parameter. It displays information for VPLS instance v1, including the signaling protocol.
#show mpls vpls detail
Virtual Private LAN Service Instance: vpls1, ID: 10
SIG-Protocol: LDP
Attachment-Circuit :UP
Learning: Enabled
Group ID: 0, VPLS Type: Ethernet VLAN, Configured MTU: 1500
Description: none
service-tpid: dot1.q
Operating mode: Tagged
Svlan Id: 0
Svlan Tpid: 8100
Configured interfaces:
Interface: xe39
 
Service-template : t1
Match criteria : Accept all
Mesh Peers:
2.2.2.2 (Up)
 
Table 3-4 explains the show command output fields.
 
Table 3-4: show mpls vpls details output field
Field
Description
Virtual Private LAN Service Instance
Number of VPLS service instance.
ID
VPLS identification detail for service instance.
SIG-Protocol
Type of protocol in MPLS configuration.
Attachment-Circuit
Details of the attached circuit in interface.
Learning
State of the interface.
Group ID
Group identification detail for VLAN.
VPLS Type
Type of VPLS in MPLS protocol.
Configured MTU
Number of configured MTU in the VPLs.
Description
Details of VPLS.
Service-tpid
Service TP identifier configured for the VPLS PW.
Operating mode
Type of mode in the interface.
Svlan Id
Configures a specific virtual LAN (VLAN).
Svlan Tpid
Service vlan TP identifier for the VPLS PW.
Redundancy admin role
Creating a Backup Administrator Role.
Redundancy oper role
Operational Role of the VPLS instance.
Configured interfaces
Details of the configured interfaces.
Interface
Selects an interface to configure.
Oper-state
Displays the current status of the cross-connect segment – Up or Down.
Service-template
Used to configure advanced service-related option.
Match criteria
Identifies prefix characteristics (network, BGP path attribute, nexthop, and so on) for a specific sequence.
Mesh Peers
Configuring the VPLS mesh peers.
PW Status Local
Used to perform limited local configuration changes, monitor device status and utilization, and simple local troubleshooting.
Remote
PW status of Remote end.
 
The example below displays the output provided when using the mesh parameter without a specific VPLS name.
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol
100 2.2.2.2 N/A 52503 eth2 53258 0/Dn 2 BGP
300 2.2.2.2 N/A none N/A none 0/Dn 1 LDP
 
 
Table 3-5 explains the show command output fields.
 
Table 3-5: show mpls vpls output field
Field
Description
VPLS-ID
Identification details of the VPLS.
Peer Addr
IP address of the peer device.
Tunnel-Label
Tunnel label used for the next segment.
In-label
Displays the ingress (incoming interface) label for this segment.
Out-Label
Label received from downstream neighbor for route.
Network-Intf
Installed as a result of configuring an interface.
Lkps/St
Opcode and Status of the VPLS PW.
PW-INDEX
Index of the VPLS entry in PW table.
SIG-Protocol
Signaling protocol used for VPLS labels advertisement.
 
The following is a sample output of the show mpls vpls detail command displaying detailed information about all configured VPLS instances.
#show mpls vpls detail
Virtual Private LAN Service Instance: vpls3100, ID: 3100
SIG-Protocol: BGP
Route-Distinguisher :65010:3100
Route-Target :65010:3100
VE-ID :31
Attachment-Circuit :UP
Learning: Enabled
Group ID: 0, Configured MTU: 9216
Description: none
service-tpid: dot1.q
Operating mode: Raw
Configured interfaces:
Interface: xe26
Service-template : vpls3100_3100_13100
Match criteria : 3100
Action type : Translate
Action value : 4075
Outgoing tpid : dot1.q
 
Mesh Peers:
2.2.2.2 (Up)
 
Table 3-6 explains the show command output fields.
 
Table 3-6: show mpls vpls details output field
Field
Description
Virtual Private LAN Service Instance
Number of VPLS service instance.
 
ID
VPLS identification detail for service instance.
SIG-Protocol
Type of protocol in MPLS configuration.
Attachment-Circuit
Details of the attached circuit in interface.
Learning
State of the interface.
Group ID
Group identification detail for VLAN.
VPLS Type
Type of VPLS in MPLS protocol.
Configured MTU
Number of configured MTU in the VPLs.
Description
Details of VPLS.
Service-tpid
Service TP identifier configured for the VPLS PW.
Operating mode
Type of mode in the interface.
Svlan Id
Configures a specific virtual LAN (VLAN).
Svlan Tpid
Service vlan TP identifier for the VPLS PW.
Redundancy admin role
Creating a Backup Administrator Role.
Redundancy oper role
Operational Role of the VPLS instance.
Configured interfaces
Details of the configured interfaces.
Interface
Selects an interface to configure.
Oper-state
Displays the current status of the cross-connect segment – Up or Down.
Service-template
Used to configure advanced service-related option.
Match criteria
Identifies prefix characteristics (network, BGP path attribute, nexthop, and so on) for a specific sequence.
Mesh Peers
Configuring the VPLS mesh peers.
PW Status Local
Used to perform limited local configuration changes, monitor device status and utilization, and simple local troubleshooting.
Remote
PW status of Remote end.
 
The following is a sample output of the show mpls vpls mesh command displaying information about all the core VC connections for all VPLS instances.
#show mpls vpls mesh
VPLS-ID Peer Addr In-Intf In-Label Out-Intf Out-Label Lkps/St PW-INDEX SIG-Protocol Status Ecmp-Group
1 192.168.0.80 eth0 16 eth0 640 1/Up 1 BGP Active N/A
1 192.168.0.90 eth1 18 eth1 642 1/Up 2 BGP Active N/A
2 192.168.0.80 eth0 19 eth0 641 1/Up 1 BGP Active N/A
2 192.168.0.90 eth1 17 eth1 643 1/Up 2 BGP Active N/A
#
 
Table 3-7 explains the show command output fields.
 
Table 3-7: show mpls vpls mesh output field
Field
Description
VPLS-ID
Identification details of the VPLS.
Peer Addr
IP address of the peer device.
In-Intf
Installed as a result of configuring an interface.
In-label
Displays the ingress (incoming interface) label for this segment.
Out-Label
Label received from downstream neighbor for route.
Network-Intf
Installed as a result of configuring an interface.
Lkps/St
Opcode and Status of the VPLS PW.
PW-INDEX
Psuedo wire index
SIG-Protocol
Signalling protocol
Status
Status of Psuedo wire
Ecmp-Group
Equal cost multi path group
 
The following is a sample output of the show mpls vpls spoke displaying the spoke VC connection to the VPLS instance.
#show mpls vpls spoke
VPLS-ID Virtual Circuit In-Intf In-Label Out-Intf Out-Label Lkps/St
1 t100 eth2 20 eth2 640 1/Up
#
 
Table 3-8 explains the show command output fields.
 
Table 3-8: show mpls vpls spoke output field
Field
Description
VPLS-ID
Identification details of the VPLS.
Virtual Circuit
Used in transportation of data over a packet switch computer network.
In-Intf
Installed as a result of configuring an interface.
In-label
Displays the ingress (incoming interface) label for this segment.
Out-Label
Label received from downstream neighbor for route.
Network-Intf
Installed as a result of configuring an interface.
Lkps/St
Opcode and Status of the VPLS PW.
 
The following is a sample output of show mpls vpls count displaying information about total, active and inactive vpls instances.
#show mpls vpls count
-------------------------------
Total VPLS instances : 2
Active VPLS instances : 2
Inactive VPLS instances : 0
-------------------------------
 
Table 3-9 explains the show command output fields.
 
Table 3-9: show mpls vpls count output field
Field
Description
Total VPLS instances
Number of total VPLS instance.
Active VPLS instances
Number of active VPLS instance.
Inactive VPLS instances
Number of inactive VPLS instance.
 
show mpls vpls mac-address
Use this command to display retrieved VPLS learning mac-addresses on MPLS enabled node.
Command Syntax
show mpls vpls mac-address (name NAME |) (interface IFNAME |) (peer A.B.C.D |) (count |)
Parameters
NAME
Specify the name of the vpls instance
count
Counts the number of MAC address learned
IFNAME
Specify the name of interface
A.B.C.D
Specify the peer address
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#show mpls vpls mac-address
VPLS-ID MAC address Learned from Peer address
1 08:00:27:85:28:8a eth1 1.1.1.1
1 08:00:27:99:91:1d eth3 -
 
 
#show mpls vpls mac-address count
Total no of MAC addresses learnt :2
 
 
#show mpls vpls mac-address name vpls1
MAC address Learned from Peer address
08:00:27:85:28:8a eth1 1.1.1.1
08:00:27:99:91:1d eth3 -
 
 
 
#show mpls vpls mac-address name vpls1 count
Total no of MAC addresses learnt :2
 
 
#show mpls vpls mac-address interface eth1
VPLS-ID MAC address Learned from Peer address
1 08:00:27:85:28:8a eth1 1.1.1.1
 
 
#show mpls vpls mac-address interface eth1 count
Total no of MAC addresses learnt :1
 
#show mpls vpls mac-address name vpls1 interface eth1
MAC address Learned from Peer address
08:00:27:85:28:8a eth1 1.1.1.1
 
 
#show mpls vpls mac-address name vpls1 interface eth1 count
Total no of MAC addresses learnt :1
 
 
#show mpls vpls mac-address peer 1.1.1.1
VPLS-ID MAC address Learned from Peer address
1 08:00:27:85:28:8a eth1 1.1.1.1
 
 
#show mpls vpls mac-address peer 1.1.1.1 count
Total no of MAC addresses learnt :1
 
 
#show mpls vpls mac-address name vpls1 peer 1.1.1.1
MAC address Learned from Peer address
08:00:27:85:28:8a eth1 1.1.1.1
 
 
#show mpls vpls mac-address name vpls1 peer 1.1.1.1 count
Total no of MAC addresses learnt :1
 
 
#show mpls vpls mac-address interface eth1 peer 1.1.1.1
VPLS-ID MAC address Learned from Peer address
1 08:00:27:85:28:8a eth1 1.1.1.1
 
 
# show mpls vpls mac-address interface eth1 peer 1.1.1.1 count
Total no of MAC addresses learnt :1
 
 
#show mpls vpls mac-address name vpls1 interface eth1 peer 1.1.1.1
MAC address Learned from Peer address
08:00:27:85:28:8a eth1 1.1.1.1
 
 
#show mpls vpls mac-address name vpls1 interface eth1 peer 1.1.1.1 count
Total no of MAC addresses learnt :1
 
Table 3-10 explains the show command output fields.
 
Table 3-10: show mpls vpls mac-address output field
Field
Description
MAC address
Used to forward the packet into a given VPLS instance.
Learned from
MAC addresses learned from a specific interface.
Peer address
IP address of the peer device.
show mpls vpls split-horizon
Use this command to display the split horizon grouping information.
Command Syntax
show mpls vpls split-horizon <vpls_name>
Parameters
 
Default
None
Command Mode
EXEC mode
Applicability
This command was introduced before OcNOS version 6.5.2.
Example
The following example shows a summary of all VPLS instances, showing their VPLS ID, type, details (such as spokes or ACs), associated interfaces, and the split horizon group they belong to:
#show mpls vpls split-horizon
+------------+------------+-----------------+---------------+--------------+
| VPLSID | Type | Details | Interface | Group |
+------------+------------+-----------------+---------------+--------------+
800 AC st2 xe9 access2
800 AC - xe17.800 access1
800 Spoke vc2 - network
2000 Spoke vc1 - access1
 
The following example shows the split horizon details for a specific VPLS instance, showing similar information but focused on the specified VPLS ID:
#show mpls vpls split-horizon vpls800
+------------+------------+-----------------+---------------+--------------+
| VPLSID | Type | Details | Interface | Group |
+------------+------------+-----------------+---------------+--------------+
800 AC st2 xe9 access2
800 AC - xe17.800 access1
800 Spoke vc2 - network
The following example shows when there is no VPLS is configured with the specified VPLS ID:
#show mpls vpls split-horizon vpls200
% No VPLS with name: vpls200 configured.
The following example shows VPLS split horizon details for VPLS ID 2000:
#show mpls vpls split-horizon vpls2000
+------------+------------+-----------------+---------------+--------------+
| VPLSID | Type | Details | Interface | Group |
+------------+------------+-----------------+---------------+--------------+
2000 Spoke vc1 - access1
Table 3-10 explains the show command output fields.
 
Table 3-11: show mpls vpls split-horizon output field
Field
Description
VPLSID
The ID of the VPLS instance. It uniquely identifies each VPLS in the network.
Type
The type of connection within the VPLS instance.
Details
Additional details about the VPLS connection type, such as the virtual circuit (VC) number or other identifiers related to the connection.
Interface
The physical or logical interface on the PE router that is part of the VPLS instance.
Group
The split-horizon group associated with the VPLS instance.
 
show mpls vpls statistics
Use this command to display MPLS traffic statistics for VPLS network or access or all ports.
Note: Multicast traffic statistics not supported by hardware.
Command Syntax
show mpls vpls NAME statistics
show mpls vpls NAME statistics ((network-port ((peer A.B.C.D)|(spoke-vc VC-NAME)|)) | (access-port (IFNAME (ethernet|(vlan <1-4094>))|)))
Parameters
NAME
Name of the VPLS instance
a.b.c.d
Mesh peer address of VC instance
VC-NAME
Name of the spoke VC instance
IFNAME
Name of the access-port interface
<1-4094>
VLAN ID of access-port of type VLAN
Command Mode
Exec mode and privileged exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show mpls vpls v1 statistics
Virtual Private LAN Service Instance: v1, ID: 10
 
Access port statistics:
Interface: xe3/4 VLAN ID: 2
RX: Input packets : 10
Input bytes : 640
TX: Output packets : 0
Output bytes : 0
 
Network port statistics:
Mesh Peer: 8.8.8.8 (Up)
RX: Input packets : 0
Input bytes : 0
TX: Output packets : 10
Output bytes : 640
 
Table 3-10 explains the show command output fields.
 
Table 3-12: show mpls vpls statistics output field
Field
Description
Access port statistics
Traffic statistics on Access port of VC/VPLS.
Network port statistics
Traffic statistics on Provider port of VC/VPLS.
Interface
Type of interface in the network.
VLAN ID
Identification details of the VPLS.
Mesh Peer
Configuring the VPLS mesh peers.
RX
Number of received packets.
Input packets
Number of hello packets received from the neighbor.
Input bytes
Size of hello packets received from the neighbor.
TX
Number of packets transmitted.
Output packets
Number of hello packets sent to the neighbor.
Output bytes
Size of hello packets sent to the neighbor.
 
signaling ldp
Use this command to establish a pseudowire connection between Provider Edge (PE) routers. Use this command to use the Label Distribution Protocol (LDP) for signaling and to support VPLS auto-discovery between VPLS instances.Using this command triggers LDP to signal a pseudowire between the configured VPLS peers in the same VPLS instance. The vpls-peer command is used to identify the VPLS peers that are part of a VPLS instance
Note: Issuing this command puts the router into VPLS signaling (config-vpls-sig) mode.
Use the no parameter with this command to remove (tear down) pseudowires with other PE routers.
Command Syntax
signaling ldp
no signaling ldp
Parameters
None
Default
By default, signaling ldp is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)# mpls vpls test 100
(config-vpls)#signaling ldp
(config-vpls-sig)#vpls-peer 97.97.97.97
(config-vpls-sig)#exit
signaling bgp
Use this command to establish a pseudowire connection between Provider Edge (PE) routers. Use this command to use the Border Gateway Protocol (BGP) for signaling and to support VPLS auto-discovery between VPLS instances.Using this command triggers BGP to auto-discover VPLS peers and signal pseudowire between the VPLS peers in the same VPLS instance.
Note: Issuing this command puts the router into VPLS signaling .
Use the no parameter with this command to remove (tear down) pseudowires with other PE routers.
Command Syntax
signaling bgp
no signaling bgp
Parameters
None
Default
By default, signaling bgp is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)# mpls vpls test 100
(config-vpls)#signaling bgp
(config-vpls-sig)#exit
 
signaling bgp
Use this command to establish a pseudowire connection between Provider Edge (PE) routers. Use this command to use the Border Gateway Protocol (BGP) for signaling and to support VPLS auto-discovery between VPLS instances.Using this command triggers BGP to auto-discover VPLS peers and signal pseudowire between the VPLS peers in the same VPLS instance.
Note: Issuing this command puts the router into VPLS signaling .
Use the no parameter with this command to remove (tear down) pseudowires with other PE routers.
Command Syntax
signaling bgp
no signaling bgp
Parameters
None
Default
By default, signaling bgp is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)# mpls vpls test 100
(config-vpls)#signaling bgp
(config-vpls-sig)#exit
split-horizon (service-template)
Use this command to configure split-horizon group for vpls attachment circuit.
Use the no form of this command to remove split-horizon group from vpls attachment circuit.
Command Syntax
split-horizon group (network | access1 | access2)
no split-horizon group
Parameters
network
Split-horizon group name network
access1
Split-horizon group name access1
access2
Split-horizon group name access2
Default
By default, split horizon is disabled.
Command Mode
Interface VPLS mode
Applicability
This command was introduced before OcNOS version 6.3.0 and applicable only on Qumran1 devices.
Examples
#configure terminal
(config)#interface xe1
(config-if)#switchport
(config-if)#mpls-vpls vpls1 service-template vc1
(config-if-vpls)#split-horizon group access1
(config-if-vpls)#no split-horizon group
 
static-mac
Use this command to add static MAC address to attachment circuit specific for a VPLS instance.
Use the no parameter with this command to remove static MAC address.
Note: It is not supported, if the user configures same mac address on different attachment circuits for same VPLS instance.
Command Syntax
static-mac XXXX.XXXX.XXXX
no static-mac XXXX.XXXX.XXXX
Parameter
XXXX.XXXX.XXXX
MAC address in HHHH.HHHH.HHHH format.
Default
By default, mac is disabled
Command Mode
Interface VPLS
Applicability
This command was introduced before OcNOS version 4.2.
Examples
(config)#interface ce11/2
(config-if)#mpls-vpls vpls2 service-template vc1
(config-if-vpls)#static-mac 0000.0400.0602
 
tunnel-select-policy
Use this command to set tunnel-policy for a VPLS instance. This command is used for BGP signaling based VPLS instance. This will be used while selecting transport for the peer.
Use the no parameter with this command to un-configure tunnel selection policy.
Command Syntax
tunnel-select-policy TNLPOLICYNAME
no tunnel-select-policy
Parameters
TNLPOLICYNAME
Name of tunnel policy
Command Mode
VPLS SIG mode
Applicability
This command was introduced before OcNOS version 4.2.
Examples
#configure terminal
(config)#mpls vpls vpls1 10
(config-vpls)#signaling bgp
(config-vpls-sig)#tunnel-select-policy policy1
 
ve-id
Use this command to configure a VPLS Edge (VE) device. Each Provider Edge (PE) device participating in a VPLS must have at least one VE ID. When the PE is connected to several u-PEs (Layer 2 PE devices used to provide Layer 2 aggregation), there are unique VE ID’s for each u-PE. The PE may also be assigned a VE ID, if it is to act as the VE for the VPLS.
Use the no parameter with this command to remove a VE ID.
Command Syntax
ve-id <1-65535>
no ve-id <1-65535>
Parameters
<1-65535>
VE-ID’s range is between 1 and 65535. This should be unique among the VPLS Peers for a VPLS instance.
Default
By default, ve id is disabled
Command Mode
BGP VPLS Signaling mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls vpls test 100
(config-vpls)#signaling bgp
(config-vpls-sig)#ve-id 2
(config-vpls-sig)#exit
 
vpls-ac-group
Use this command to assign an Attachment Circuit (AC) group to VPLS.
Use the no parameter with this command to remove an AC group.
Command Syntax
vpls-ac-group GROUPNAME
no vpls-ac-group
Parameter
GROUPNAME
Enter a name for the AC group
Default
By default, vpls ac group is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls vpls test 12
(config-vpls)#vpls-ac-group new-ac
(config-vpls)#no vpls-ac-group
vpls-description
Use this command to add a description line for a VPLS instance.
Use the no parameter with this command to remove a VPLS description.
Command Syntax
vpls-description LINE
no vpls-description (LINE|)
Parameter
LINE
Enter a text string for the VPLS instance
Default
By default, vpls description is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#mpls vpls test 34
(config-vpls)#vpls-description This is for testing
(config-vpls)#exit
vpls fib-entry
Use this command to create a static VPLS FIB entry. When a VPLS peer is configured manually, no signaling is done. Therefore, a VPLS static entry must be created for all manually created nodes.
Use the no option with this command to delete a static VPLS FIB entry.
Command Syntax
vpls fib-entry VPLS-ID (peer A.B.C.D| spoke-vc VC-NAME) IN-LABEL OUT-INTF OUT-LABEL
no vpls fib-entry VPLS-ID ((peer A.B.C.D)| (spoke-vc VC-NAME))
no vpls fib-entry VPLS-ID ((peer A.B.C.D)| (spoke-vc VC-NAME)) IN-LABEL OUT-INTF OUT-LABEL
Parameters
VPLS-ID
VPLS identifier
peer
Mesh peer address VPLS identifier
A.B.C.D
Peer IPv4 Address.
spook-vc
Spoke VC
VC-NAME
Virtual Circuit name
IN-LABEL
Incoming label value in the range of <16-15999>
OUT-INTF
Provider-facing interface
OUT-LABEL
Outgoing label value in the range of <16-15999>
Default
By default, vpls fib entry is disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The first example shows how to configure VPLS FIB entry 100 with mesh peer 97.97.97.97 for incoming label 15999, outgoing interface eth2 with outgoing label 15999:
#configure terminal
(config)#vpls fib-entry 100 peer 97.97.97.97 15999 eth2 15999
 
The second example shows how to configure VPLS FIB entry 100 with spoke-vc t1 for incoming label 15999, outgoing interface eth2 with outgoing label 15999:
#configure terminal
(config)#vpls fib-entry 100 spoke-vc t1 15999 eth2 15999
vpls-mtu
Use this command to set the Maximum Transmission Unit (MTU) size for a given VPLS instance. This size is signaled to peer VPLS routers.
Use the no parameter with this command to remove the MTU size setting.
Command Syntax
vpls-mtu <576-65535>
no vpls-mtu (<576-65535>|)
Parameter
<576-65535>
Range of MTU size allowed for a VPLS instance
Default
By default, vpls mtu is 1500
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#mpls vpls test 34
(config-vpls)#vpls-mtu 6506
(config-vpls)#exit
vpls-peer
Use this command to add a peer to a VPLS domain. This command triggers Label Distribution Protocol (LDP) signaling by default.
Use the no parameter to delete a VPLS virtual circuit for a specific peer.
Use the no parameter to delete a VPLS tunnel mapping for a specific peer to delete/unmap tunnel-id, tunnel-name or tunnel-select-policy for a vpls-peer.
Command Syntax
vpls-peer A.B.C.D ((agi NAME saii NAME taii NAME) |) ((tunnel-id <1-5000>) | (tunnel-name TNLNAME) |) ((tunnel-select-policy TNLPOLICYNAME)|)
no vpls-peer A.B.C.D ((tunnel-id | tunnel-name | tunnel-select-policy) |)
Parameters
A.B.C.D
The address of a VPLS peer node to which a mesh virtual circuit is to be created
tunnel-id
Static Tunnel Identifier
<1-5000>
Identifying value for Tunnel-id
A.B.C.D
IPv4 Address for end-point for FEC129 MPLS Layer-2 Virtual Circuit
agi
Specify the value used for the AGI in FEC129 MPLS Layer-2 Virtual Circuit
NAME
AGI value for FEC129 MPLS Layer-2 Virtual Circuit
saii
Specify the value used for the SAII in FEC129 MPLS Layer-2 Virtual Circuit
NAME
SAII value for FEC129 MPLS Layer-2 Virtual Circuit
taii
Specify the value used for the TAII in FEC129 MPLS Layer-2 Virtual Circuit
NAME
TAII value for FEC129 MPLS Layer-2 Virtual Circuit
tunnel-name
Tunnel name of the MPLS LSP (or Layer 2 Tunnel) to be used
TUNNELNAME
Identifying name for Tunnel
tunnel-select-policy
Tunnel selection policy
TNLPOLICYNAME
Name of tunnel policy
Default
By default, vpls peer is disabled
Command Mode
VPLS Signaling mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls vpls test 100
(config-vpls)#signaling ldp
(config-vpls-sig)#vpls-peer 97.97.97.97
(config-vpls-sig)#vpls-peer 97.97.97.97 tunnel-id 24
(config-vpls)#exit
(config)#exit
vpls-peer manual
Use this command to statically configure a VPLS peer. Because this command is not used in signaling mode, no signaling is used to set up the virtual circuit. At least one such peer configuration is required for every VPLS instance.
Use the no parameter with this command to remove a statically configured VPLS peer.
Use the no parameter to delete a VPLS tunnel mapping for a specific peer to delete/unmap tunnel-id, tunnel-name or tunnel-select-policy for a vpls-peer.
Command Syntax
vpls-peer A.B.C.D ((tunnel-id <1-5000>) | (tunnel-name TNLNAME) |) (manual|)
no vpls-peer A.B.C.D ((tunnel-id | tunnel-name | tunnel-select-policy) |)
Parameters
A.B.C.D
The address of a VPLS peer node to which a mesh virtual circuit is to be created
tunnel-id
Static Tunnel Identifier
<1-5000>
Identifying value for Tunnel-id
tunnel-name
Tunnel name of the MPLS LSP (or Layer 2 Tunnel) to be used
TUNNELNAME
Identifying name for Tunnel
Default
By default, vpls peer A.B.C.D manual is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls vpls test 100
(config-vpls)#vpls-peer 97.97.97.97 manual
(config-vpls)#vpls-peer 97.97.97.97 tunnel-id 24 manual
(config-vpls)#exit
(config)#exit
vpls-type
Use this command to assign a type (either Ethernet or VLAN) for VPLS.
Note: The default type is chosen as Ethernet.
Command Syntax
vpls-type (ethernet|vlan)
Parameter
ethernet
Designate Ethernet as the VPLS type
vlan
Designate VLAN as the VPLS type
Default
By default, vpls type is ethernet
Command Mode
signaling ldp mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#mpls vpls test 100
(config-vpls)#signaling ldp
(config-vpls-sig)#vpls-type vlan
(config-vpls-sig)#vpls-peer 2.2.2.2
(config-vpls-sig)#exit
(config-vpls)#exit
vpls-vc
Use this command add a spoke virtual circuit to VPLS domain.
Use the no parameter to remove this configuration.
Command Syntax
vpls-vc NAME (ethernet|vlan|)
vpls-vc NAME (secondary NAME|) (ethernet|vlan|)
no vpls-vc NAME
Parameter
NAME
Enter a string that identifies the MPLS VC to add to the VPLS domain
secondary
Set the secondary spoke name
NAME
Enter a string that identifies the secondary spoke
ethernet
Identify the spoke type as Ethernet (default)
vlan
Identify the spoke type as VLAN.
TNLNAME
Specify the MPLS-TP tunnel-name.
Default
By default, vpls vc name is disabled
Command Mode
VPLS mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#mpls vpls test 34
(config-vpls)#vpls-vc VC1
(config-vpls)#exit
(config)#exit