瞻博EX4300交換機配置如下:
set version 17.3R3-S4.2
set system host-name cwgx
set system auto-snapshot
set system root-authentication encrypted-password "$6$1jzlUPRY$xIvLg/d0UEXsv9ZwXynfKPxN.AR6LWDFfLJ7LmWpvrtui5kZeqjGQgxELMy9GpEJ4JFeWM7blZ22iZLD9U2qY."
set system login user lab uid 2000
set system login user lab class super-user
set system login user lab authentication encrypted-password "$6$5XGerkGf$mPykqr9T2Mpcl7Phdc4b8WQ.14fv7oMt4wioopGIPVzcNBCArgEs9PXXuqrY1R.yimMq/q/nxN4DoLVPDAfVW/"
set system login user lin uid 2001
set system login user lin class super-user
set system login user lin authentication encrypted-password "$6$WlGSqYeb$EifPZavoNvUL3Kv9Tuhui0RJvPXlMnXE/EIBit0BXzAcSvXP9VBQmlS0AxqW1caYaf3wpvli5IGh5lRl5XJ.H1"
set system services telnet
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag all
set interfaces ge-0/0/0 unit 0 family ethernet-switching
set interfaces ge-0/0/1 unit 0 family ethernet-switching
set interfaces ge-0/0/2 unit 0 family ethernet-switching
set interfaces ge-0/0/3 unit 0 family ethernet-switching
set interfaces ge-0/0/4 unit 0 family ethernet-switching
set interfaces ge-0/0/5 unit 0 family ethernet-switching
set interfaces ge-0/0/6 unit 0 family ethernet-switching
set interfaces ge-0/0/7 unit 0 family ethernet-switching
set interfaces ge-0/0/8 unit 0 family ethernet-switching
set interfaces ge-0/0/9 unit 0 family ethernet-switching
set interfaces ge-0/0/10 unit 0 family inet address 172.28.16.254/30
set interfaces ge-0/0/11 unit 0 family inet address 172.16.254.54/30
set interfaces ge-0/0/12 unit 0 family ethernet-switching
set interfaces ge-0/0/13 unit 0 family ethernet-switching
set interfaces ge-0/0/14 unit 0 family ethernet-switching
set interfaces ge-0/0/15 unit 0 family ethernet-switching
set interfaces ge-0/0/16 unit 0 family ethernet-switching
set interfaces ge-0/0/17 unit 0 family ethernet-switching
set interfaces ge-0/0/18 unit 0 family ethernet-switching
set interfaces ge-0/0/19 unit 0 family ethernet-switching
set interfaces ge-0/0/20 unit 0 family ethernet-switching interface-mode access
set interfaces ge-0/0/20 unit 0 family ethernet-switching vlan members 40
set interfaces ge-0/0/21 unit 0 family ethernet-switching
set interfaces ge-0/0/22 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/22 unit 0 family ethernet-switching vlan members all
set interfaces ge-0/0/23 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/23 unit 0 family ethernet-switching vlan members all
set interfaces ge-0/2/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/2/0 unit 0 family ethernet-switching vlan members all
set interfaces xe-0/2/0 unit 0 family ethernet-switching
set interfaces ge-0/2/1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/2/1 unit 0 family ethernet-switching vlan members all
set interfaces xe-0/2/1 unit 0 family ethernet-switching
set interfaces ge-0/2/2 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/2/2 unit 0 family ethernet-switching vlan members all
set interfaces xe-0/2/2 unit 0 family ethernet-switching
set interfaces ge-0/2/3 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/2/3 unit 0 family ethernet-switching vlan members all
set interfaces xe-0/2/3 unit 0 family ethernet-switching
set interfaces irb unit 0 family inet
set interfaces irb unit 10 description vlan10
set interfaces irb unit 10 family inet address 172.28.17.1/24
set interfaces me0 unit 0 family inet address 1.1.1.1/24
set interfaces vlan unit 0 family inet
set interfaces vlan unit 10 description vlan10
set interfaces vlan unit 10 family inet address 172.28.17.1/24
set interfaces vlan unit 20 description vlan20
set interfaces vlan unit 20 family inet address 172.28.18.1/24
set interfaces vlan unit 30 description vlan30
set interfaces vlan unit 30 family inet address 172.28.19.1/24
set interfaces vlan unit 40 description vlan40
set interfaces vlan unit 40 family inet address 172.28.20.1/24
set interfaces vlan unit 50 description vlan50
set interfaces vlan unit 50 family inet address 172.28.21.1/24
set interfaces vlan unit 60 description vlan60
set interfaces vlan unit 60 family inet address 172.28.22.1/24
set interfaces vlan unit 100 description vlan100
set interfaces vlan unit 100 family inet address 172.28.16.1/24
set routing-options static route 172.28.254.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.101.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.100.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.9.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.8.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.7.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.6.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.5.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.4.0/24 next-hop 172.28.16.253
set routing-options static route 172.28.2.0/24 next-hop 172.28.16.253
set routing-options static route 172.16.0.0/16 next-hop 172.16.254.53
set routing-options static route 0.0.0.0/0 next-hop 172.16.254.53
set protocols lldp interface all
set protocols lldp-med interface all
set protocols igmp-snooping vlan all
set protocols rstp interface all
set poe interface all
set vlans default vlan-id 1
set vlans default l3-interface irb.1
set vlans vlan10 vlan-id 10
set vlans vlan10 l3-interface irb.10
set vlans vlan100 vlan-id 100
set vlans vlan100 l3-interface irb.100
set vlans vlan20 vlan-id 20
set vlans vlan20 l3-interface irb.20
set vlans vlan30 vlan-id 30
set vlans vlan30 l3-interface irb.30
set vlans vlan40 vlan-id 40
set vlans vlan40 l3-interface irb.40
set vlans vlan50 vlan-id 50
set vlans vlan50 l3-interface irb.50
set vlans vlan60 vlan-id 60
set vlans vlan60 l3-interface irb.60
無法PING通VLAN的IP地址,也無法設定VLAN的L3-interface, 提示錯誤:root@cwgx# set vlans vlan40 l3-interface vlan.40
error: l3-interface: 'vlan.40': Only IRB interface is supported, e.g. irb.10
求大神們幫忙給解釋一下錯在哪里了?剛開始接觸瞻博交換機不太熟悉命令,謝謝!!!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/285019.html
標籤:網絡協議與配置
