2011年10月3日 星期一

Cisco Trunk & PortChannel

Trunk~
conf t
interface Gi1/0/23
switchport trunk allowed vlan 1
switchport mode trunk
!
interface Gi1/0/24
switchport trunk allowed vlan 1
switchport mode trunk

wri



Port Channel~


如果是要將2個port合併頻寬的話,則用下列方法即可
conf t
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
interface Gi1/0/23
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode active
!
interface Gi1/0/24
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode active
wri


2011年9月29日 星期四

Juniper SSG 520M/550M 教育訓練影片

[Juniper SSG 520M/550M 教育訓練影片]

http://www.juniper.net/us/en/training/elearning/ssg520_550.html

2011年9月19日 星期一

FB登入後無法正常顯示首頁內容

當電腦登入Facebook發現無法正常顯示FB首頁時,可能是電腦DNS有問題
此時可以試試將DNS清除
電腦左下角開始-->執行-->輸入cmd--->輸入 ipconfig /flushdns 即可
再重新登入FB帳號...

2011年8月16日 星期二

Extreme Download Upload Backup Command

Backup Configuration File
Selecting Active Image Files
Download a New Image File
Selecting Active Configuration Files
Restoring the Configuration
Downloading ASCII-formatted
Managing ASCII-formatted
Returning the Switch To Factory Defaults





Extreme EAPS LAB1

LAB1: 三台Summit X150-24T
EAPS Domain = EAPS1
Control Valn = CV1 tag 100 QP8
Protection Vlan =  P1 tag 101 , P2 tag 102 , P3 tag 103
-----------------------------------------------------------------------------
第一台當EAPS MASTER Mode
Step 1 

configure vlan default delete ports all  (將Default Vlan預設Port Delet)
configure vr VR-Default delete ports 1-26
configure vr VR-Default add ports 1-26
configure vlan default delete ports 1-26
create vlan "cv1"  (Control Vlan)
configure vlan cv1 tag 100
configure vlan cv1 qosprofile QP8
create vlan "p1"   (Protection Vlan)
configure vlan p1 tag 101
create vlan "p2"
configure vlan p2 tag 102
create vlan "p3"
configure vlan p3 tag 103
configure vlan cv1 add ports 1-2 tagged
configure vlan p1 add ports 1-2 tagged
configure vlan p1 add ports 3-5 untagged
configure vlan p2 add ports 1-2 tagged
configure vlan p2 add ports 6-8 untagged
configure vlan p3 add ports 1-2 tagged
configure vlan p3 add ports 9-11 untagged
configure vlan p1 ipaddress 192.168.0.1 255.255.255.0


Step2
configure eaps fast-convergence on
(如果架構中有一台並非設定eaps的Switch,此指令要下,事後下必須reboot Master Switch才會生效)



enable eaps
create eaps eaps1
configure eaps eaps1 mode master  (選其中一台為 Eaps Master其他為Transit)
configure eaps eaps1 primary port 1
configure eaps eaps1 secondary port 2
configure eaps eaps1 failtime expiry-action open-secondary-port
enable eaps eaps1
configure eaps eaps1 add control vlan cv1
configure eaps eaps1 add protected vlan p1
configure eaps eaps1 add protected vlan p2
configure eaps eaps1 add protected vlan p3

----------------------------------------------------------------------------------------------------------
第二台 EAPS 當 Transit Mode

Step 1


configure vlan default delete ports all
configure vr VR-Default delete ports 1-26
configure vr VR-Default add ports 1-26
configure vlan default delete ports 1-26
create vlan "cv1"
configure vlan cv1 tag 100
configure vlan cv1 qosprofile QP8
create vlan "p1"
configure vlan p1 tag 101
create vlan "p2"
configure vlan p2 tag 102
create vlan "p3"
configure vlan p3 tag 103
configure vlan cv1 add ports 1-2 tagged
configure vlan p1 add ports 1-2 tagged
configure vlan p1 add ports 3-5 untagged
configure vlan p2 add ports 1-2 tagged
configure vlan p2 add ports 6-8 untagged
configure vlan p3 add ports 1-2 tagged
configure vlan p3 add ports 9-11 untagged
configure vlan p1 ipaddress 192.168.0.2 255.255.255.0

Step 2
enable eaps
create eaps eaps1
configure eaps eaps1 mode transit
configure eaps eaps1 primary port 1
configure eaps eaps1 secondary port 2
enable eaps eaps1
configure eaps eaps1 add control vlan cv1
configure eaps eaps1 add protected vlan p1
configure eaps eaps1 add protected vlan p2
configure eaps eaps1 add protected vlan p3
------------------------------------------------------------------------
第三台 EAPS 當Transit Mode

Step1
enable eaps
create eaps eaps1
configure eaps eaps1 mode transit
configure eaps eaps1 primary port 1
configure eaps eaps1 secondary port 2
enable eaps eaps1
configure eaps eaps1 add control vlan cv1
configure eaps eaps1 add protected vlan p1
configure eaps eaps1 add protected vlan p2
configure eaps eaps1 add protected vlan p3

Step2
enable eaps
create eaps eaps1
configure eaps eaps1 mode transit
configure eaps eaps1 primary port 1
configure eaps eaps1 secondary port 2
enable eaps eaps1
configure eaps eaps1 add control vlan cv1
configure eaps eaps1 add protected vlan p1
configure eaps eaps1 add protected vlan p2
configure eaps eaps1 add protected vlan p3
------------------------------------------------------------------------------
Master Switch
Show eaps detail

EAPS Enabled: Yes
EAPS Fast-Convergence: On
EAPS Display Config Warnings: On
EAPS Multicast Add Ring Ports: Off
EAPS Multicast Send IGMP Query: On
EAPS Multicast Temporary Flooding: Off
EAPS Multicast Temporary Flooding Duration: 15 sec
Number of EAPS instances: 1

  Name: eaps1
  State: Complete                               Running: Yes
  Enabled: Yes    Mode: Master
  Primary port:   1             Port status: Up Tag status: Tagged
  Secondary port: 2             Port status: Blocked    Tag status: Tagged
  Hello Egress Port: Primary
  Hello timer interval: 1  sec  0  millisec
  Fail timer interval:  3  sec  0  millisec
  Fail Timer expiry action: Open secondary port
  Last update: From Master Id 00:04:96:51:d8:d9, at Tue Aug 16 15:08:39 2011
  EAPS Domain has following Controller Vlan:
    Vlan Name                    VID
    cv1                          100
  EAPS Domain has following Protected Vlan(s):
    Vlan Name                    VID
    p1                           101
    p2                           102
    p3                           103
  Number of Protected Vlans: 3

-------------------------------------------------------------------------------

Transit Switch
Show eaps detail

EAPS Enabled: Yes
EAPS Fast-Convergence: Off
EAPS Display Config Warnings: On
EAPS Multicast Add Ring Ports: Off
EAPS Multicast Send IGMP Query: On
EAPS Multicast Temporary Flooding: Off
EAPS Multicast Temporary Flooding Duration: 15 sec
Number of EAPS instances: 1

  Name: eaps1
  State: Links-Up                               Running: Yes
  Enabled: Yes    Mode: Transit
  Primary port:   1             Port status: Up Tag status: Tagged
  Secondary port: 2             Port status: Up Tag status: Tagged
  Hello timer interval: 1  sec  0  millisec
  Fail timer interval:  3  sec  0  millisec
  Preforwarding Timer interval: 15 sec
  Last update: From Master Id 00:04:96:51:d8:d9, at Tue Aug 16 15:10:08 2011
  EAPS Domain has following Controller Vlan:
    Vlan Name                    VID
    cv1                          100
  EAPS Domain has following Protected Vlan(s):
    Vlan Name                    VID
    p1                           101
    p2                           102
    p3                           103
  Number of Protected Vlans: 3



2011年7月22日 星期五

Extreme 回復出廠值

Extreme XOS沒辦法只回復password,下列的方式會讓所有的設定不見,請詳實告知user。

1. 重開機出現Running POST的時候按住空白鍵。

2. POST完成之後會進入boot rom模式。

3. 在提示符號下輸入:

4. Config abc 後按enter (abc指的是隨便一個檔名,目的在使系統找不到檔案後開機時load default)

5. 輸入Boot後按enter。

系統重開之後就回預設值,所有的設定都會不見。





将仿真终端接到设备的console口上
按住空格键启动设备电源
进入bootrom状态
选择D,恢复出厂缺省值 选择F,重新启动

Extreme 基本操作