Comments (4)
I can't reproduce the issue. I've performed the following steps:
- Deploy configuration to device via Ansible. vlan_interfaces file has the following entry:
root@arc-switch1025:/home/admin# cat /etc/network/interfaces.d/vlan_interfaces
...
auto Vlan100
iface Vlan100 inet static
bridge_ports Ethernet96 Ethernet100
address 100.100.100.100
netmask 255.255.255.0
#
root@arc-switch1025:/home/admin#
- Reboot device
- Verify that VLAN interface is created:
root@arc-switch1025:/home/admin# ip link show Vlan100
38: Vlan100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9216 qdisc noqueue state UP mode DEFAULT group default
link/ether 00:02:03:04:05:00 brd ff:ff:ff:ff:ff:ff
root@arc-switch1025:/home/admin# ip link show Ethernet96
97: Ethernet96: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9216 qdisc pfifo_fast master Vlan100 state UP mode DEFAULT group default qlen 1000
link/ether 00:02:03:04:05:00 brd ff:ff:ff:ff:ff:ff
root@arc-switch1025:/home/admin# ip link show Ethernet100
98: Ethernet100: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9216 qdisc pfifo_fast master Vlan100 state DOWN mode DEFAULT group default qlen 1000
link/ether 00:02:03:04:05:00 brd ff:ff:ff:ff:ff:ff
journalctl -b | grep -i vlan
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_VLAN: mlnx_sai_vlan.c[337]- mlnx_create_vlan: Create vlan vlan 100
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_VLAN: mlnx_sai_vlan.c[504]- mlnx_create_vlan_member: Create vlan member, #0 Vlan member VID=100 #1 Vlan member port=Port,11100,000000
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_VLAN: mlnx_sai_vlan.c[562]- mlnx_create_vlan_member: Created vlan member Vlan member port 11100 vlan 100
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_UTILS: mlnx_sai_utils.c[467]- set_dispatch_attrib_handler: Set Port Vlan ID, key:port 11100, val:100
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_VLAN: mlnx_sai_vlan.c[504]- mlnx_create_vlan_member: Create vlan member, #0 Vlan member VID=100 #1 Vlan member port=Port,11300,000000
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_VLAN: mlnx_sai_vlan.c[562]- mlnx_create_vlan_member: Created vlan member Vlan member port 11300 vlan 100
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_UTILS: mlnx_sai_utils.c[467]- set_dispatch_attrib_handler: Set Port Vlan ID, key:port 11300, val:100
Oct 06 11:38:22 arc-switch1025 docker[908]: Oct 06 11:38:22 NOTICE SAI_RIF: mlnx_sai_rif.c[193]- mlnx_create_router_interface: Create rif, #0 Router interface virtual router ID=Virtual router,0,000000 #1 Router interface source MAC address=[00:02:03:04:05:00] #2 Router interface type=1 #3 Router interface vlan ID=100
- Ping host connected to one of port in VLAN interface:
root@arc-switch1025:/home/admin# ping 100.100.100.200
PING 100.100.100.200 (100.100.100.200) 56(84) bytes of data.
64 bytes from 100.100.100.200: icmp_seq=1 ttl=64 time=0.427 ms
64 bytes from 100.100.100.200: icmp_seq=2 ttl=64 time=0.277 ms
64 bytes from 100.100.100.200: icmp_seq=3 ttl=64 time=0.263 ms
64 bytes from 100.100.100.200: icmp_seq=4 ttl=64 time=0.335 ms
64 bytes from 100.100.100.200: icmp_seq=5 ttl=64 time=0.190 ms
^C
--- 100.100.100.200 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3998ms
rtt min/avg/max/mdev = 0.190/0.298/0.427/0.080 ms
root@arc-switch1025:/home/admin#
- Restart orchagent:
root@arc-switch1025:/home/admin# systemctl restart orchagent
- Verify that after restart VLAN interface is created and all port added to VLAN:
journalctl -f | grep -i vlan
...
Oct 06 11:49:08 arc-switch1025 docker[2662]: Oct 06 11:49:08 NOTICE SAI_VLAN: mlnx_sai_vlan.c[337]- mlnx_create_vlan: Create vlan vlan 100
Oct 06 11:49:08 arc-switch1025 docker[2662]: Oct 06 11:49:08 NOTICE SAI_RIF: mlnx_sai_rif.c[193]- mlnx_create_router_interface: Create rif, #0 Router interface virtual router ID=Virtual router,0,000000 #1 Router interface source MAC address=[00:02:03:04:05:00] #2 Router interface type=1 #3 Router interface vlan ID=100
Oct 06 11:49:41 arc-switch1025 docker[2505]: Execute command returns non-zero value! /sbin/ifup --all --force --interfaces /etc/network/interfaces.d/vlan_interfaces
Oct 06 11:49:41 arc-switch1025 docker[2662]: Oct 06 11:49:41 NOTICE SAI_VLAN: mlnx_sai_vlan.c[504]- mlnx_create_vlan_member: Create vlan member, #0 Vlan member VID=100 #1 Vlan member port=Port,11100,000000
Oct 06 11:49:41 arc-switch1025 docker[2662]: Oct 06 11:49:41 NOTICE SAI_VLAN: mlnx_sai_vlan.c[562]- mlnx_create_vlan_member: Created vlan member Vlan member port 11100 vlan 100
Oct 06 11:49:41 arc-switch1025 docker[2662]: Oct 06 11:49:41 NOTICE SAI_UTILS: mlnx_sai_utils.c[467]- set_dispatch_attrib_handler: Set Port Vlan ID, key:port 11100, val:100
Oct 06 11:49:41 arc-switch1025 docker[2662]: Oct 06 11:49:41 NOTICE SAI_VLAN: mlnx_sai_vlan.c[504]- mlnx_create_vlan_member: Create vlan member, #0 Vlan member VID=100 #1 Vlan member port=Port,11300,000000
Oct 06 11:49:41 arc-switch1025 docker[2662]: Oct 06 11:49:41 NOTICE SAI_VLAN: mlnx_sai_vlan.c[562]- mlnx_create_vlan_member: Created vlan member Vlan member port 11300 vlan 100
Oct 06 11:49:41 arc-switch1025 docker[2662]: Oct 06 11:49:41 NOTICE SAI_UTILS: mlnx_sai_utils.c[467]- set_dispatch_attrib_handler: Set Port Vlan ID, key:port 11300, val:100
- Ping host connected to one of port in VLAN interface:
root@arc-switch1025:/home/admin# ping 100.100.100.200
PING 100.100.100.200 (100.100.100.200) 56(84) bytes of data.
64 bytes from 100.100.100.200: icmp_seq=1 ttl=64 time=0.524 ms
64 bytes from 100.100.100.200: icmp_seq=2 ttl=64 time=0.222 ms
64 bytes from 100.100.100.200: icmp_seq=3 ttl=64 time=0.231 ms
64 bytes from 100.100.100.200: icmp_seq=4 ttl=64 time=0.335 ms
64 bytes from 100.100.100.200: icmp_seq=5 ttl=64 time=0.353 ms
^C
--- 100.100.100.200 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.222/0.333/0.524/0.109 ms
root@arc-switch1025:/home/admin#
Can you please provide additional information/steps how to reproduce the issue?
Thanks,
Sasha
from sonic.
@stcheng , I am not able to produce the problem. After I restart the orchagent docker on mlnx platform. I see the ports are added to Vlan233 back.
acsadmin@str-msn2700-03:~$ sudo brctl show Vlan233
bridge name bridge id STP enabled interfaces
Vlan233 8000.000203040500 no Ethernet92
Ethernet96
from sonic.
Can we consider this bug is fixed and close it?
from sonic.
Thanks for the verification! I'll close the issue.
from sonic.
Related Issues (20)
- Upstreaming Ondatra Framework + MVP tests HOT 2
- gNMI Save On Set HOT 1
- Nonexistent SONIC builds
- Unable to install/use software switch HOT 1
- SONiC Debian Upgrade Cadence - process improvement
- Able to boot on an Arista 7050T, but it throws a `fallocate: fallocate failed: Operation not supported` error HOT 1
- Celestica Seastone DX010 - SFP port not working
- Celestica DX010, when setting all the Ethernet ports MTU to 9216 it crashes swss and other dockers
- SONiC Management Framework gNMI Client Example Client Operations
- EVPN VxLAN Multihoming HOT 2
- Arista 7050QX-32S's Image download link in supported_devices_platforms.md is correct?
- Bookworm Upgrade LLDP, SNMP subagent, ICCPD, PDE, NAT, FRR
- Go Code format checker and formatter
- RESTCONF infra enhancement
- CVL Infra Enhancement
- CVL singleton table and multi-list table support
- CVL dynamic table field support
- SONIC Trademark License is outdated
- UMF Config Session Support
- docker issue on Arista 7060CX-32S HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonic.