亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

juniper交換機將多個接口加入同時到vlan中

發布時間:2020-07-21 19:34:24 來源:網絡 閱讀:3532 作者:杰1992 欄目:網絡安全

[EX/QFX] Wildcard range commands for EX switches


   [KB23789] Show KB Properties


SUMMARY:

This article provides information about the wildcard range commands for EX switches.

PROBLEM OR GOAL:

The wildcard range option enables you to configure multiple interface configuration statements by using a single set command; instead of configuring each of them individually for interfaces. The range option with the wildcard command enables you to specify ranges in activate, deactivate, delete, protect, set, show, and unprotect commands.

CAUSE:


SOLUTION:


VLAN output before applying configuration:


{master:0}[edit]

root@dnd-26-plz# run show vlans

Name Tag Interfaces

default        ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0,

                    ge-0/0/9.0, ge-0/0/11.0, ge-0/0/12.0, ge-0/0/13.0,

                    ge-0/0/14.0, ge-0/0/15.0, ge-0/0/16.0, ge-0/0/17.0,

                    ge-0/0/18.0, ge-0/0/19.0, ge-0/0/20.0, ge-0/0/21.0,

                    ge-0/0/22.0, ge-0/0/23.0, ge-0/0/24.0, ge-0/0/25.0,

                    ge-0/0/26.0, ge-0/0/27.0, ge-0/0/28.0, ge-0/0/29.0,

                    ge-0/0/30.0, ge-0/0/31.0, ge-0/0/32.0, ge-0/0/33.0,

                    ge-0/0/34.0, ge-0/0/35.0, ge-0/0/36.0, ge-0/0/37.0,

                    ge-0/0/38.0, ge-0/0/39.0, ge-0/0/40.0, ge-0/0/41.0,

                    ge-0/0/42.0, ge-0/0/43.0, ge-0/0/44.0, ge-0/0/45.0,

                    ge-0/0/46.0, ge-0/0/47.0


tes110 110 ge-0/0/1.0


test100 100 ge-0/0/0.0


test127 127 ge-0/0/2.0


test254 254 ge-0/0/3.0, ge-0/0/4.0, ge-0/0/10.0


v500 500 None




Command issued to add a group of interfaces to a VLAN:

root@dnd-26-plz# wildcard range set interfaces ge-0/0/[11-13,16,23,45] unit 0 family ethernet-switching vlan members v500



VLAN output after applying the configuration:


{master:0}[edit]

root@dnd-26-plz# run show vlans

Name Tag Interfaces

default         ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0, ge-0/0/9.0, ge-0/0/14.0, ge-0/0/15.0, ge-0/0/17.0, ge-0/0/18.0, ge-0/0/19.0,

                     ge-0/0/20.0, ge-0/0/21.0, ge-0/0/22.0, ge-0/0/24.0, ge-0/0/25.0, ge-0/0/26.0, ge-0/0/27.0, ge-0/0/28.0, ge-0/0/29.0, ge-0/0/30.0,

                     ge-0/0/31.0, ge-0/0/32.0, ge-0/0/33.0, ge-0/0/34.0, ge-0/0/35.0, ge-0/0/36.0, ge-0/0/37.0, ge-0/0/38.0, ge-0/0/39.0, ge-0/0/40.0,

                     ge-0/0/41.0, ge-0/0/42.0, ge-0/0/43.0, ge-0/0/44.0, ge-0/0/46.0, ge-0/0/47.0


tes110 110  ge-0/0/1.0


test100 100 ge-0/0/0.0


test127 127 ge-0/0/2.0


test254 254 ge-0/0/3.0, ge-0/0/4.0, ge-0/0/10.0


v500      500 ge-0/0/11.0, ge-0/0/12.0, ge-0/0/13.0, ge-0/0/16.0, ge-0/0/23.0, ge-0/0/45.0



//下面的配置效果和上面的一樣

The end result is that the same configuration is applied to all of the above interfaces:

root@dnd-26-plz# set interfaces ge-0/0/11 unit 0 family ethernet-switching vlan members v500

root@dnd-26-plz# set interfaces ge-0/0/12 unit 0 family ethernet-switching vlan members v500

root@dnd-26-plz# set interfaces ge-0/0/13 unit 0 family ethernet-switching vlan members v500

root@dnd-26-plz# set interfaces ge-0/0/16 unit 0 family ethernet-switching vlan members v500

root@dnd-26-plz# set interfaces ge-0/0/23 unit 0 family ethernet-switching vlan members v500

root@dnd-26-plz# set interfaces ge-0/0/45 unit 0 family ethernet-switching vlan members v500

The same can be used for the following purposes - active, deactivate, delete, protect, set, show, and unprotect configuration commands.


This new option is documented in the Release Notes (including the link). For more information, refer to the following configuration example: 


http://www.juniper.net/techpubs/en_US/junos/topics/example/junos-cli-wildcard-range-configuring.html


PURPOSE:

Configuration

Implementation

RELATED LINKS: 


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

吉水县| 肥乡县| 淮南市| 乐都县| 留坝县| 县级市| 甘孜县| 宜昌市| 阿拉善左旗| 宣威市| 嵊州市| 于田县| 天津市| 浮梁县| 浏阳市| 台东市| 通榆县| 上思县| 屏山县| 普兰县| 阿瓦提县| 盘锦市| 逊克县| 福州市| 台州市| 尉氏县| 新邵县| 修武县| 信阳市| 建湖县| 灵丘县| 吴旗县| 将乐县| 威远县| 万年县| 和政县| 竹溪县| 桓仁| 罗田县| 乐亭县| 太和县|