Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config interface shutdown/startup doesnt work in 201803 branch #2272

Closed
chitra-raghavan opened this issue Nov 19, 2018 · 2 comments
Closed

Comments

@chitra-raghavan
Copy link
Contributor

Description

config interface shutdown/startup doesnt work in 201803 branch

Steps to reproduce the issue:

  1. sudo config interface shutdown/startup Ethernet2
  2. Error is thrown and interface status is not changed

Describe the results you received:

root@sonic-z9100-02:~# ifconfig  Ethernet2
Ethernet2 Link encap:Ethernet  HWaddr 4c:76:25:e4:e4:c2
		  inet6 addr: fe80::4e76:25ff:fee4:e4c2/64 Scope:Link
		  UP BROADCAST RUNNING MULTICAST  MTU:9100  Metric:1
		  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
		  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
		  collisions:0 txqueuelen:1000
		  RX bytes:0 (0.0 B)  TX bytes:1313 (1.2 KiB)

root@sonic-z9100-02:~#
root@sonic-z9100-02:~# show interface status Ethernet2
  Interface    Lanes    Speed    MTU           Alias    Oper    Admin
-----------  -------  -------  -----  --------------  ------  -------
  Ethernet2    51,52      50G   9100  fiftyGigE1/1/2      up       up
root@sonic-z9100-02:~#
root@sonic-z9100-02:~# config interface shutdown Ethernet2
ifdown: interface Ethernet2 not configured
root@sonic-z9100-02:~# config interface startup Ethernet2
Ignoring unknown interface Ethernet2=Ethernet2.
root@sonic-z9100-02:~#

Describe the results you expected:

The interfaces status should change accordingly upon config interface shutdown/startup

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

root@sonic-z9100-02:~# show version
SONiC Software Version: SONiC.HEAD.87-ce54ef7
Distribution: Debian 8.11
Kernel: 3.16.0-6-amd64
Build commit: ce54ef7
Build date: Tue Oct 30 20:16:25 UTC 2018
Built by: johnar@jenkins-worker-4

Docker images:
REPOSITORY                 TAG                 IMAGE ID            SIZE
docker-syncd-brcm          HEAD.87-ce54ef7     0b12467446fc        372.6 MB
docker-orchagent-brcm      HEAD.87-ce54ef7     91edc486eeff        294.3 MB
docker-orchagent-brcm      latest              91edc486eeff        294.3 MB
docker-lldp-sv2            HEAD.87-ce54ef7     99a1eac6d870        306.7 MB
docker-lldp-sv2            latest              99a1eac6d870        306.7 MB
docker-dhcp-relay          HEAD.87-ce54ef7     0aea3298eaf6        288.7 MB
docker-dhcp-relay          latest              0aea3298eaf6        288.7 MB
docker-database            HEAD.87-ce54ef7     d195c5be63cf        288.7 MB
docker-database            latest              d195c5be63cf        288.7 MB
docker-teamd               HEAD.87-ce54ef7     f4962e114572        294.1 MB
docker-teamd               latest              f4962e114572        294.1 MB
docker-snmp-sv2            HEAD.87-ce54ef7     656cf2f5657b        326.5 MB
docker-snmp-sv2            latest              656cf2f5657b        326.5 MB
docker-router-advertiser   HEAD.87-ce54ef7     5b348d48d8ed        286.4 MB
docker-router-advertiser   latest              5b348d48d8ed        286.4 MB
docker-platform-monitor    HEAD.87-ce54ef7     3f80a1a03448        308.3 MB
docker-platform-monitor    latest              3f80a1a03448        308.3 MB
docker-fpm-quagga          HEAD.87-ce54ef7     e98213aceb12        300.7 MB
docker-fpm-quagga          latest              e98213aceb12        300.7 MB
docker-syncd-brcm-rpc      latest              65c5c84841c9        621 MB
docker-syncd-brcm          latest              65c5c84841c9        621 MB

root@sonic-z9100-02:~#
@stcheng
Copy link
Contributor

stcheng commented Nov 20, 2018

On 201803 branch, please still use ip link set [up|down] command to toggle the interfaces.

@chitra-raghavan
Copy link
Contributor Author

Thanks

yxieca added a commit to yxieca/sonic-buildimage that referenced this issue Jul 22, 2022
… advance submodule head

sairedis:
* 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik]

platform-daemon:
* 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity  (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12]

linkmgrd:
* c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (sonic-net#96) (HEAD -> 202205) [Jing Zhang]
* bbae81d 2022-07-18 | Add support for reconciliation after warm restart  (sonic-net#76) [Jing Zhang]

utilities:
* bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit]
* ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms]
* 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie]
* a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy]

swss-common:
* 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this issue Jul 23, 2022
… advance submodule head (#11518)

sairedis:
* 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik]

platform-daemon:
* 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity  (#275) (HEAD -> 202205, github/202205) [vdahiya12]

linkmgrd:
* c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (#96) (HEAD -> 202205) [Jing Zhang]
* bbae81d 2022-07-18 | Add support for reconciliation after warm restart  (#76) [Jing Zhang]

utilities:
* bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit]
* ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (#2253) [bingwang-ms]
* 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (#1851) (#2261)" (#2274) (github/202205) [Ying Xie]
* a6404b7 2022-07-17 | show commands for SYSTEM READY (#1851) (#2261) [Senthil Kumar Guruswamy]

swss-common:
* 509b265 2022-07-06 | Add device global table definition (#645) (HEAD -> 202205) [tjchadaga]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
liat-grozovik pushed a commit that referenced this issue Jul 28, 2022
feeac84 [counters] Keep counters cache in a single directory (#2232)
cd7909e Updated the CLI file for Radius and Linux kernel commands (#2276)
cd6898b Update db_migrator to support `PORT_QOS_MAP|global` (#2205)
8f4fc62 Revert "Revert "[scripts/fast-reboot] Shutdown remaining containers through systemd (#2133)" (#2161)" (#2184)
27667cf Fix test for pfcwd_sw_enable in db_migrator_test (#2253)
e1866e3 [MultiAsic] sudo reboot command doesn't gracefully stop Asic syncd# on multiasic platform (#2258)
9e3ba82 Change db_migrator major version on master branch from version 2 to 3 (#2272)
65346ce Microsoft mandatory file (#2177)
308e25f portconfig option to configure Tx power and laser frequency of ZR transceiver module (#2197)
e49b1e8 [vnet_route_check] Align DB data parse logic with format used by swsscommon API (#2268)

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
skbarista pushed a commit to skbarista/sonic-buildimage that referenced this issue Aug 17, 2022
… advance submodule head (sonic-net#11518)

sairedis:
* 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik]

platform-daemon:
* 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity  (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12]

linkmgrd:
* c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (sonic-net#96) (HEAD -> 202205) [Jing Zhang]
* bbae81d 2022-07-18 | Add support for reconciliation after warm restart  (sonic-net#76) [Jing Zhang]

utilities:
* bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit]
* ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms]
* 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie]
* a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy]

swss-common:
* 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants