juniper交換機將多個接口加入同時到vlan中-創新互聯

[EX/QFX] Wildcard range commands for EX switches

創新互聯成立與2013年,是專業互聯網技術服務公司,擁有項目成都網站設計、網站制作網站策劃,項目實施與項目整合能力。我們以讓每一個夢想脫穎而出為使命,1280元尋甸做網站,已為上家服務,為尋甸各地企業和個人服務,聯系電話:18980820575

  [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:

另外有需要云服務器可以了解下創新互聯scvps.cn,海內外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業上云的綜合解決方案,具有“安全穩定、簡單易用、服務可用性高、性價比高”等特點與優勢,專為企業上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。

分享標題:juniper交換機將多個接口加入同時到vlan中-創新互聯
網站網址:http://m.kartarina.com/article48/cdcchp.html

成都網站建設公司_創新互聯,為您提供外貿網站建設App開發App設計響應式網站手機網站建設品牌網站建設

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

h5響應式網站建設
主站蜘蛛池模板: 成人免费无码精品国产电影| 人妻无码视频一区二区三区| r级无码视频在线观看| 无码丰满熟妇浪潮一区二区AV | 亚洲中文字幕无码中文| 无码人妻丰满熟妇区毛片18| 亚洲精品无码乱码成人| 97精品人妻系列无码人妻| 国产成人精品无码免费看| 国产网红主播无码精品| 人妻无码视频一区二区三区| 中文字幕无码av激情不卡| 亚洲精品无码激情AV| 久久久久久99av无码免费网站| 亚洲AV无码国产丝袜在线观看 | 无码av最新无码av专区| 人妻少妇无码精品视频区| 无码人妻精品一区二区三区99性| 日韩精品无码免费专区午夜| 无码丰满熟妇一区二区| 久久无码高潮喷水| 69久久精品无码一区二区| 亚洲日韩欧洲无码av夜夜摸| 无码国内精品久久人妻麻豆按摩 | 久久无码专区国产精品发布| 亚洲人成人无码网www电影首页 | 亚洲AV无码专区电影在线观看| 国产成人无码午夜视频在线观看| 伊人久久精品无码麻豆一区| 精品日韩亚洲AV无码| 青青草无码免费一二三区| 久久午夜夜伦鲁鲁片免费无码| 久久精品aⅴ无码中文字字幕| 丰满日韩放荡少妇无码视频| 亚洲AV无码一区二区三区系列 | 国产成人无码一区二区三区| 国产色爽免费无码视频| 亚洲中文久久精品无码| 亚洲精品色午夜无码专区日韩| 久久久久亚洲AV成人无码网站| 国产乱子伦精品无码码专区|