show tunnel-policy
Use this command to display the tunnel policy details.
Command Syntax
show tunnel-policy (NAME (service (((6pe|vpls|vpws|evpn|l3vpn|) details)) | (count)))| service details |)
Parameters
NAME
show tunnel policy table by name
service
show service information
6pe
Display 6PE service details
evpn
Display EVPN service details
l3vpn
Display L3VPN service details
vpls
Display VPLS service details
vpws
Display VPWS service details
count
show counts
details
show details
service
show service information
details
show details
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 4.2.
Examples
The following sample shows the summary of all configured tunnel policies.
#show tunnel-policy
tunnel-policy tp1
color 1
tunnel-mode dedicated
tunnel-type any
Total Services attached:
VRF : 1
VPWS : 1
VPLS : 1
EVPN :
The following sample shows the summary of specific configured tunnel policy by name.
#show tunnel-policy tp1
tunnel-policy tp1
color 1
tunnel-mode dedicated
tunnel-type any
Total Services attached:
VRF : 1
VPWS : 1
VPLS : 1
EVPN : 0
The following sample shows the detailed information of all the configured tunnel policies.
#show tunnel-policy service details
List of services configured with tunnel-policy tp1:
VPWS
VPWS-Id: 100, Name: vpws1 Status: UP, Mapped Tunnel: RSVP, ftn_ix 4, color 1
L3VPN
VRF id 2
FTN id: 1, Prefix: 20.10.30.0/24, Status: Up, Label: 25664, Mapped Tunnel: RSVP, ftn_ix 4, color 1
FTN id: 2, Prefix: 3001::/64, Status: Up, Label: 25664, Mapped Tunnel: RSVP, ftn_ix 4, color 1
VPLS
VPLS-Id: 300, Name: vpls1, Status: UP, Mapped Tunnel: RSVP, ftn_ix 4, color 1
The following sample shows the detailed information of specific configured tunnel policy by name.
# show tunnel-policy tp1 service details
Total services using tunnel-policy tp1:
VPWS
VPWS-Id: 100, Name: vpws1 Status: UP, Mapped Tunnel: RSVP, ftn_ix 4, color 1
L3VPN
VRF id 2
FTN id: 1, Prefix: 20.10.30.0/24, Status: Up, Label: 25664, Mapped Tunnel: RSVP, ftn_ix 4, color 1
FTN id: 2, Prefix: 3001::/64, Status: Up, Label: 25664, Mapped Tunnel: RSVP, ftn_ix 4, color 1
VPLS
VPLS-Id: 300, Name: vpls1, Status: UP, Mapped Tunnel: RSVP, ftn_ix 4, color 1
The following sample shows the services count of specific tunnel policy by name.
#show tunnel-policy tp1 service count
Total services using tunnel-policy tp1:
VPWS : 1
VPLS : 0
L3VPN : 2
6PE : 0
EVPN : 0
The following sample shows the detailed VPLS service information of specific tunnel policy by name.
#show tunnel-policy tp1 service vpls details
Total services using tunnel-policy tp1:
VPLS
VPLS-Id: 300, Name: vpls1, Status: UP, Mapped Tunnel: RSVP, ftn_ix 4, color 1
The following sample shows the detailed VPWS service information of specific tunnel policy by name.
#show tunnel-policy tp1 service vpws details
Total services using tunnel-policy tp1:
VPWS
VPWS-Id: 100, Name: vpws1 Status: UP, Mapped Tunnel: RSVP, ftn_ix 4, color 1
The following sample shows the detailed L3VPN service information of specific tunnel policy by name.
#show tunnel-policy tp1 service l3vpn details
Total services using tunnel-policy tp1:
L3VPN
VRF id 2
FTN id: 1, Prefix: 20.10.30.0/24, Status: Up, Label: 25664, Mapped Tunnel: RSVP, ftn_ix 4, color 1
FTN id: 2, Prefix: 3001::/64, Status: Up, Label: 25664, Mapped Tunnel: RSVP, ftn_ix 4, color 1
The following sample shows the detailed 6PE service information of specific tunnel policy by name.
#show tunnel-policy tp1 service 6pe details
Total services using tunnel-policy tp1:
6PE
FTN id: 3, Prefix: 3002::/64, Status: Up, Label: 25665, Mapped Tunnel: RSVP, ftn_ix 4, color 1
The following sample shows the detailed EVPN service information of specific tunnel policy by name.
#show tunnel-policy tp1 service evpn details
Total services using tunnel-policy tp1:
EVPN
EVPN-Id: 30, Tunnel count: 1
Peer: 105.1.1.1, Mapped Tunnel: SR_POLICY, ftn_ix 3, color 202
EVPN-Id: 1001, Tunnel count: 2
Peer: 105.1.1.1, Mapped Tunnel: SR_POLICY, ftn_ix 3, color 202 Peer: 101.1.1.1, Mapped Tunnel: SR_POLICY, ftn_ix 4, color 204