Got it

vsi router on stick

Latest reply: Jan 25, 2022 07:15:19 187 7 0 0 0

Hello,


I'm not sure about how to set up a vsi that ends in a subinterface (like if it was a router on stick with a vsi).

OSPF, MPLS and LDP are working fine.


I've trying to configure Vlanif for L3 and binding physical and subinterfacces to the vsi but the vsi doesn't goes up, or i can't see any mac. The only way that i get up the vsi and see some mac is like this configuration:


PE1:

interface XGigabitEthernet0/0/9
 description SW1
 port link-type trunk
 port trunk allow-pass vlan 69


interface XGigabitEthernet0/0/15
 description PE2
 port link-type trunk
 port trunk allow-pass vlan 8


vsi TEST-MGMT static
 pwsignal ldp
  vsi-id 69
  peer 10.100.1.179
  peer 10.100.1.178
  traffic-statistics enable


interface Vlanif69
 description TEST-MGMT
 l2 binding vsi TEST-MGMT


PE2:

interface GigabitEthernet0/2/25
 description PE1
 undo shutdown
 l2 binding vsi TEST-MGMT access-port


interface GigabitEthernet0/2/25.8
 vlan-type dot1q 8
 ip address 10.255.255.41 255.255.255.0
 ospf cost 10
 ospf network-type p2p
 ospf ldp-sync
 mpls
 mpls ldp


interface GigabitEthernet0/2/25.69
 vlan-type dot1q 69
 ip address 192.168.12.1 255.255.255.0


vsi TEST-MGMT
 traffic-statistics enable
 pwsignal ldp
  vsi-id 69
  peer 10.100.1.254


SW1

interface XGigabitEthernet0/0/2
 description PE1
 port link-type trunk
 port trunk allow-pass vlan 69


interface Vlanif69
 ip address 192.168.12.69 255.255.255.0


But I can't ping 192.168.12.69 from PE2


<PE2>

GigabitEthernet0/2/25.8(100M)     10.255.255.41/24     up         up       --  
GigabitEthernet0/2/25.69(100M)    192.168.12.1/24      up         up       -- 


display vsi
Total VSI number is 1, 1 is up, 0 is down, 1 is LDP mode, 0 is BGP mode, 0 is BGPAD mode, 0 is mixed mode, 0 is unspecified mode
--------------------------------------------------------------------------
Vsi                             Mem    PW    Mac       Encap     Mtu   Vsi
Name                            Disc   Type  Learn     Type      Value State
--------------------------------------------------------------------------
TEST-MGMT                       --     ldp   unqualify vlan      9216  up



<PE2>display mac-address vsi TEST-MGMT
MAC address table of slot 0:
----------------------------------------------------------------------------------------------------------------------
MAC Address    VLAN/BD/                        PEVLAN CEVLAN Port/Peerip                        Type      LSP/LSR-ID
               VSI/SI/EVPN                                                                                MAC-Tunnel
----------------------------------------------------------------------------------------------------------------------
00e0-fc09-bcf9 TEST-MGMT                       -      -      GE0/2/25                           dynamic   0/-         
----------------------------------------------------------------------------------------------------------------------
Total matching items on slot 0 displayed = 1


<PE2>ping 192.168.12.69
     100.00% packet loss


Could you give me some advice?


Thanks a lot

This article contains more resources

You need to log in to download or view. No account? Register

x

Hello! Thank you for contacting us.
We are working on an answer for you.
View more
  • x
  • convention:

Hi, friend!
I have reviewed your feedback. I think the feedback is incomplete. The suggestions are as follows:
1. Ping SW1 from PE-1 and check whether the ping succeeds.
2. Run the display vsi name xxx verbose command on PE-1 and PE-2 to check the VSI status.
3. Check whether PE-1 and PE-2 can ping each other.
4. Run the display vsi command on PE-1.
View more
  • x
  • convention:

Posted by fuzi_yao at 2022-01-20 01:18 Hi, friend!I have reviewed your feedback. I think the feedback is incomplete. The suggestions are as ...
Hi,

1. Ping SW1 from PE-1 and check whether the ping succeeds.

interface Vlanif69
description TEST-MGMT
l2 binding vsi TEST-MGMT

To check if I ping SW1 I need IP in the same network:

[PE1]interface Vlanif 69
[PE1-Vlanif69]undo l2 binding vsi TEST-MGMT
[PE1-Vlanif69]ip add 192.168.12.50 24

[PE1-Vlanif69]ping 192.168.12.69
PING 192.168.12.69: 56 data bytes, press CTRL_C to break
Reply from 192.168.12.69: bytes=56 Sequence=1 ttl=254 time=1 ms
Reply from 192.168.12.69: bytes=56 Sequence=2 ttl=254 time=1 ms
Reply from 192.168.12.69: bytes=56 Sequence=3 ttl=254 time=1 ms
Reply from 192.168.12.69: bytes=56 Sequence=4 ttl=254 time=1 ms
Reply from 192.168.12.69: bytes=56 Sequence=5 ttl=254 time=1 ms

2. Run the display vsi name xxx verbose command on PE-1 and PE-2 to check the VSI stat

[PE1]display vsi name TEST-MGMT verbose

***VSI Name : TEST-MGMT
Administrator VSI : no
Isolate Spoken : disable
VSI Index : 9
PW Signaling : ldp
Member Discovery Style : static
PW MAC Learn Style : unqualify
Encapsulation Type : vlan
MTU : 9216
Diffserv Mode : uniform
Mpls Exp : --
DomainId : 255
Domain Name :
Ignore AcState : disable
P2P VSI : disable
Create Time : 0 days, 17 hours, 35 minutes, 24 seconds
VSI State : up

VSI ID : 69
*Peer Router ID : 10.100.1.179
Negotiation-vc-id : 69
primary or secondary : primary
ignore-standby-state : no
VC Label : 3645
Peer Type : dynamic
Session : up
Tunnel ID : 0x48001247
Broadcast Tunnel ID : 0x48001247
Broad BackupTunnel ID : 0x0
CKey : 37
NKey : 36
Stp Enable : 0
PwIndex : 0
Control Word : disable
BFD for PW : unavailable
*Peer Router ID : 10.100.1.178
Negotiation-vc-id : 69
primary or secondary : primary
ignore-standby-state : no
VC Label : 3647
Peer Type : dynamic
Session : up
Tunnel ID : 0x48001483
Broadcast Tunnel ID : 0x48001483
Broad BackupTunnel ID : 0x0
CKey : 31
NKey : 18
Stp Enable : 0
PwIndex : 0
Control Word : disable
BFD for PW : unavailable

Interface Name : Vlanif69
State : up
Access Port : false
Last Up Time : 2022/01/20 09:22:30
Total Up Time : 0 days, 0 hours, 0 minutes, 24 seconds

**PW Information:

*Peer Ip Address : 10.100.1.178
PW State : up
Local VC Label : 3647
Remote VC Label : 3494
Remote Control Word : disable
PW Type : label
Local VCCV : alert lsp-ping bfd
Remote VCCV : alert lsp-ping bfd
Tunnel ID : 0x48001483
Broadcast Tunnel ID : 0x48001483
Broad BackupTunnel ID : 0x0
Ckey : 0x1f
Nkey : 0x12
Main PW Token : 0x48001483
Slave PW Token : 0x0
Tnl Type : LSP
OutInterface : Vlanif8
Backup OutInterface :
Stp Enable : 0
PW Last Up Time : 2022/01/20 09:22:30
PW Total Up Time : 0 days, 16 hours, 54 minutes, 39 seconds


<PE2>display vsi name TEST-MGMT verbose

***VSI Name : TEST-MGMT
Work Mode : normal
Administrator VSI : no
Isolate Spoken : disable
VSI Index : 11
PW Signaling : ldp
Member Discovery Style : --
Bridge-domain Mode : disable
PW MAC Learn Style : unqualify
Encapsulation Type : vlan
MTU : 9216
Diffserv Mode : uniform
Service Class : --
Color : --
DomainId : 255
Domain Name :
Ignore AcState : disable
P2P VSI : disable
Multicast Fast Switch : disable
Create Time : 0 days, 17 hours, 30 minutes, 57 seconds
VSI State : up

VSI ID : 69
*Peer Router ID : 10.100.1.179
Negotiation-vc-id : 69
Encapsulation Type : vlan
primary or secondary : primary
ignore-standby-state : no
VC Label : 2548
Peer Type : dynamic
Session : up
Tunnel ID : 0x0000000001004c88ae
Broadcast Tunnel ID : --
Broad BackupTunnel ID : --
CKey : 321
NKey : 16777420
PwIndex : 321
Control Word : disable
BFD for PW : unavailable
*Peer Router ID : 10.100.1.254
Negotiation-vc-id : 69
Encapsulation Type : vlan
primary or secondary : primary
ignore-standby-state : no
VC Label : 3494
Peer Type : dynamic
Session : up
Tunnel ID : 0x0000000001004c88b8
Broadcast Tunnel ID : 0x0000000001004c88b8
Broad BackupTunnel ID : --
CKey : 322
NKey : 16777413
PwIndex : 322
Control Word : disable
BFD for PW : unavailable

Interface Name : GigabitEthernet0/2/25
State : up
Ac Block State : unblocked
Access Port : true
Last Up Time : 2022/01/19 16:22:26
Total Up Time : 0 days, 16 hours, 1 minutes, 8 seconds

**PW Information:

*Peer Ip Address : 10.100.1.254
PW State : up
Local VC Label : 3494
Remote VC Label : 3647
Remote Control Word : disable
PW Type : label
Local VCCV : alert lsp-ping bfd
Remote VCCV : alert lsp-ping bfd
Tunnel ID : 0x0000000001004c88b8
Broadcast Tunnel ID : 0x0000000001004c88b8
Broad BackupTunnel ID : --
Ckey : 0x142
Nkey : 0x10000c5
Main PW Token : 0x0
Slave PW Token : 0x0
Tnl Type : ldp
OutInterface : GigabitEthernet0/2/25.8
Backup OutInterface : --
PW Last Up Time : 2022/01/20 08:22:25
PW Total Up Time : 0 days, 17 hours, 6 minutes, 25 seconds


3. Check whether PE-1 and PE-2 can ping each other.



<PE2>ping 10.255.255.42
PING 10.255.255.42: 56 data bytes, press CTRL_C to break
Reply from 10.255.255.42: bytes=56 Sequence=1 ttl=254 time=1 ms
Reply from 10.255.255.42: bytes=56 Sequence=2 ttl=254 time=1 ms
Reply from 10.255.255.42: bytes=56 Sequence=3 ttl=254 time=1 ms
Reply from 10.255.255.42: bytes=56 Sequence=4 ttl=254 time=1 ms
Reply from 10.255.255.42: bytes=56 Sequence=5 ttl=254 time=1 ms

--- 10.255.255.42 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms

PE2>ping 10.100.1.254
PING 10.100.1.254: 56 data bytes, press CTRL_C to break
Reply from 10.100.1.254: bytes=56 Sequence=1 ttl=254 time=1 ms
Reply from 10.100.1.254: bytes=56 Sequence=2 ttl=254 time=1 ms
Reply from 10.100.1.254: bytes=56 Sequence=3 ttl=254 time=1 ms
Reply from 10.100.1.254: bytes=56 Sequence=4 ttl=254 time=1 ms
Reply from 10.100.1.254: bytes=56 Sequence=5 ttl=254 time=1 ms

--- 10.100.1.254 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms


4. Run the display vsi command on PE-1.

bcn-office-cs-20] display vs
[bcn-office-cs-20] display vsi
Total VSI number is 1, 1 is up, 0 is down, 1 is LDP mode, 0 is BGP mode, 0 is BGPAD mode, 0 is mixed mode, 0 is unspecified mode
--------------------------------------------------------------------------
Vsi Mem PW Mac Encap Mtu Vsi
Name Disc Type Learn Type Value State
--------------------------------------------------------------------------

TEST-MGMT static ldp unqualify vlan 9216 up


Thanks for your help
View more
  • x
  • convention:

fuzi_yao
fuzi_yao Created Jan 20, 2022 08:41:13 (1) (0)
After analyzing the configurations you provided this morning and now, the VPLS has been established and the single-ended route is normal.
Check the routing table and forwarding table to check whether the routing table is normal.
display ip routing-table
display fib  
Hi,

---------------------------PE2--------------------------------

[PE2]display ip routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------


Destination/Mask Proto Pre Cost Flags NextHop Interface

0.0.0.0/0 O_ASE 150 75 D 10.255.255.42 GigabitEthernet0/2/25.8
10.100.1.254/32 OSPF 10 10 D 10.255.255.42 GigabitEthernet0/2/25.8
10.100.1.178/32 Direct 0 0 D 127.0.0.1 LoopBack0
10.255.255.0/24 Direct 0 0 D 10.255.255.41 GigabitEthernet0/2/25.8
10.255.255.41/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/2/25.8
10.255.255.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/2/25.8
192.168.12.0/24 Direct 0 0 D 192.168.12.1 GigabitEthernet0/2/25.69
192.168.12.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/2/25.69
192.168.12.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/2/25.69
10.100.1.254/32 10.255.255.42 DGU 09:20:07 GE0/2/25.8 0x0000000001004c88b8
10.100.1.178/32 127.0.0.1 HU 09:20:06 Loop0 0x0



[PE2]display fib slot 2
Route Flags:G - Gateway Route, H - Host Route, U - Up Route
S - Static Route, D - Dynamic Route, B - Black Hole Route
O - Other Route
--------------------------------------------------------------------------------

Destination/Mask Nexthop Flag TimeStamp Interface TunnelID
0.0.0.0/0 10.255.255.42 DGU 09:21:29 GE0/2/25.8 0x0
10.255.255.0/24 10.255.255.41 U 09:20:43 GE0/2/25.8 0x0
10.255.255.41/32 127.0.0.1 HU 09:22:47 GE0/2/25.8 0x0
10.100.1.254/32 10.255.255.42 DGU 09:20:07 GE0/2/25.8 0x0000000001004c88b8
10.100.1.178/32 127.0.0.1 HU 09:22:47 Loop0 0x0
192.168.12.0/24 192.168.12.1 U 09:18:21 GE0/2/25.69 0x0
192.168.12.255/32 127.0.0.1 HU 09:20:35 GE0/2/25.69 0x0
192.168.12.1/32 127.0.0.1 HU 09:20:49 GE0/2/25.69 0x0


-------------------------PE1-------------------------------------

<PE1>display ip routing-table
<bcn-office-cs-20>display ip routing-table | i 10.255.255
Route Flags: R - relay, D - download to fib


Destination/Mask Proto Pre Cost Flags NextHop Interface
10.255.255.40/30 Direct 0 0 D 10.255.255.42 Vlanif8
10.255.255.42/32 Direct 0 0 D 127.0.0.1 Vlanif8
10.100.1.178/32 OSPF 10 10 D 10.255.255.41 Vlanif8
10.100.1.254/32 Direct 0 0 D 127.0.0.1 LoopBack1



<PE1>display fib
Route Flags: G - Gateway Route, H - Host Route, U - Up Route
S - Static Route, D - Dynamic Route, B - Black Hole Route
L - Vlink Route


Destination/Mask Nexthop Flag TimeStamp Interface TunnelID

10.100.1.254/32 127.0.0.1 HU t[49] InLoop0 0x0
10.100.1.178/32 10.255.255.41 DGHU t[2351070] Vlanif8 0x48001483
10.255.255.40/30 10.255.255.42 U t[2329997] Vlanif8 0x0
10.255.255.0/24 10.255.255.41 DGU t[2351065] Vlanif8 0x0
10.255.255.42/32 127.0.0.1 HU t[2329997] InLoop0 0x0

I hope it helps.

Thanks
View more
  • x
  • convention:

Could anyone help me please?
View more
  • x
  • convention:

Problem solved. I used virtual-ethernet interfaces
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.