OmniSwitch6850 命令配置实例

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Switch 1 配置命令

配IP

-> vlan 2 name “SIG1”

-> vlan 3 name “AU1”

-> vlan 4 name “SIG2”

-> vlan 5 name “AU2”

-> vlan 3000 name “AU_CE1”

-> vlan 3001 name “SIG_CE1”

-> vlan 2 port default 1/1

-> vlan 3 port default 1/2

-> vlan 4 port default 1/3

-> vlan 5 port default 1/4

-> ip interface SIG1 address 10.138.7.30 mask 255.255.255.248 vlan 2

-> ip interface AU1 address 10.141.7.6 mask 255.255.255.248 vlan 3

-> ip interface SIG2 address 10.138.7.158 mask 255.255.255.248 vlan 4

-> ip interface AU2 address 10.141.7.134 mask 255.255.255.248 vlan 5

-> ip interface AU_CE1 address 192.168.0.4 mask 255.255.255.248 vlan 3000 -> ip interface SIG_CE1 address 192.168.0.132 mask 255.255.255.248 vlan 3001

配trunk

-> vlan 2 802.1q 1/12

-> vlan 3 802.1q 1/12

-> vlan 4 802.1q 1/12

-> vlan 5 802.1q 1/12

-> vlan 3000 802.1q 1/24

-> vlan 3001 802.1q 1/24

配VRRP

-> vrrp 2 2

-> vrrp 2 2 10.138.7.30

-> vrrp 2 2 enable

-> vrrp track 2 enable port 1/1

-> vrrp 2 2 track-association 2

-> vrrp 3 3

-> vrrp 3 3 10.141.7.6

-> vrrp 3 3 enable

-> vrrp track 3 enable port 1/2

-> vrrp 3 3 track-association 3

-> vrrp 4 4

-> vrrp 4 4 10.138.7.158

-> vrrp 4 4 enable

-> vrrp track 4 enable port 1/3

-> vrrp 4 4 track-association 4

-> vrrp 5 5

-> vrrp 5 5 10.141.7.134

-> vrrp 5 5 enable

-> vrrp track 5 enable port 1/4

-> vrrp 5 5 track-association 5

配路由

->ip static-route *.*.*.*(MGW subnet) mask *.*.*.*(MGW mask) gateway 192.168.0.2 ->ip static-route *.*.*.*(WCS subnet) mask *.*.*.*(WCS mask) gateway 192.168.0.130 须根据目的地址修改

Switch 2 配置命令

配IP

-> vlan 2 name “SIG1”

-> vlan 3 na me “AU1”

-> vlan 4 name “SIG2”

-> vlan 5 name “AU2”

-> vlan 3005 name “AU_CE2”

-> vlan 3006 name “SIG_CE2”

-> vlan 2 port default 1/1

-> vlan 3 port default 1/2

-> vlan 4 port default 1/3

-> vlan 5 port default 1/4

-> ip interface SIG1 address 10.138.7.29 mask 255.255.255.248 vlan 2

-> ip interface AU1 address 10.141.7.5 mask 255.255.255.248 vlan 3

-> ip interface SIG2 address 10.138.7.157 mask 255.255.255.248 vlan 4

-> ip interface AU2 address 10.141.7.133 mask 255.255.255.248 vlan 5

-> ip interface AU_CE2 address 192.168.0.5 mask 255.255.255.248 vlan 3005 -> ip interface SIG_CE2 address 192.168.0.133 mask 255.255.255.248 vlan 3006 配trunk

-> vlan 2 802.1q 1/12

-> vlan 3 802.1q 1/12

-> vlan 4 802.1q 1/12

-> vlan 5 802.1q 1/12

-> vlan 3005 802.1q 1/24

-> vlan 3006 802.1q 1/24

配VRRP

-> vrrp 2 2

-> vrrp 2 2 10.138.7.30

-> vrrp 2 2 enable

-> vrrp track 2 enable port 1/1

-> vrrp 2 2 track-association 2

-> vrrp 3 3

-> vrrp 3 3 10.141.7.6

-> vrrp 3 3 enable

-> vrrp track 3 enable port 1/2

-> vrrp 3 3 track-association 3

-> vrrp 4 4

-> vrrp 4 4 10.138.7.158

-> vrrp 4 4 enable

-> vrrp track 4 enable port 1/3

-> vrrp 4 4 track-association 4

相关文档
最新文档