如果您喜歡這裡的內容,記得分享到您的Facebook和Twitter上面所有的朋友們吧!

2007年12月31日 星期一

2007年12月27日 星期四

Lab小技巧: Banner設定(三)

在各位貼上後, 先登出, 再重新登入, 就可以看到其中的三種 Banner, 如下圖所示:

Press RETURN to get started.

01 MOTD banner
02

01 LOGIN banner
02


User Access Verification

Password:
01 EXEC banner
02

RouterA>

Lab小技巧: Banner設定(二)

其實Banner有很多種類, 我們可以使用以下的例子, 剪貼到全域的設定區(Global Configuration Mode), 來作一一檢視(下載原始檔):

banner exec /
01 EXEC banner
02
/

banner incoming /
01 INCOMING banner
02
/

banner login /
01 LOGIN banner
02
/

banner motd /
01 MOTD banner
02
/

banner prompt-timeout /
01 Prompt-Timeout banner
02
/

Lab小技巧: Banner設定(一)

Banner是在登入IOS的操作介面時, 額外顯示出來的文字訊息, 可以用來提醒登入的操作員, 重要的注意事項.

以MOTD(Message of the Day) Banner為例, 我們可以用以下的方式去設定.

RouterA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#banner motd /
Enter TEXT message. End with the character '/'.
Message of the Day, Good Day!
Welcome to RouterA/
RouterA(config)#end
RouterA#

這時候再重新登入, 就可以看到剛才作的Banner設定文字了!

RouterA#logout

Press RETURN to get started.

Message of the Day, Good Day!
Welcome to RouterA
RouterA>

2007年12月20日 星期四

Lab小技巧: 避免拼錯字, 而卡在命令執行介面

使用命令執行介面操作IOS時, 常常因為拼錯字, 結果IOS自動試著解析這個拼錯的名稱, 浪費了不少時間, 又無法中斷, 像以下這樣:

Translating "pqr"...domain server (255.255.255.255)
(255.255.255.255)

其實只要 取消這個自動解析的功能 就可以了:

Router(config)# no ip domain-lookup

那如果已經 卡在裡面的話, 又要如何解救?

其實最好的辦法, 還是等他自己Timeout. 大約要30秒.
再不然, 用 "Ctrl-Shift-6 x", 穩穩地按, 不要按太快, 也不要按 Enter. 也許可以少個幾秒鐘!

2007年12月18日 星期二

使用乙太網路線, 何時用Straight ? 何時用Cross Over?

我們先將網路設備分成兩大陣營:
  1. 主機: 包括 路由器, PC, 伺服器. 上面安裝的網路卡, 都是給自己使用的.
  2. 基礎建設: 包括 集線器, 交換器, 核心交換器. 上面的安裝的網路卡, 都是給別人用的.
如果是 不同陣營 的設備互接, 就用 Straight;
如果是 相同陣營 的設備互接, 就用 Cross Over.

2007年12月13日 星期四

IPv6 可以定義多少位址?

精準一點說, 應該是以現在的65億人口來算, 每人可以分得到大約 5×1028 個IP位址. 這也算是天文數字了!
http://en.wikipedia.org/wiki/IPv6

另外在 Google 找到一則有趣的分析評論, 其中一段的大意是 "IPv6位址有地球本身的總質子數那麼多" 或是 "IPv6位址有全宇宙的分子數那麼多" 的宣稱的確是誇大了.
http://alumnus.caltech.edu/~copeland/work/23.html

Frame Relay 四個重要推動者

Frame Relay的"四個重要推動者"應該是 Cisco, Digital Equipment Corporation (DEC), Northern Telecom, and StrataCom. 隨後在 1991年 Frame Relay Forum就成立了.

....
A major development in Frame Relay's history occurred in 1990 when Cisco, Digital Equipment Corporation (DEC), Northern Telecom, and StrataCom formed a consortium to focus on Frame Relay technology development.
.....

參考的原文:
http://www.cisco.com/en/US/tech/tk1330/tsd_technology_support_technical_reference_chapter09186a0080759833.html

2007年12月5日 星期三

Lab小技巧: 取消 debugging 訊息

取消 debugging 訊息的最快辦法是:

RouterA# u all

這個命令是由 undebug all來的.

Lab小技巧: 取消重複的帳號密碼登入功能

可以將原始檔(如下圖) Copy/Paste 到CLI:


line con 0
no login
privilege level 15
line vty 0 15
no login
privilege level 15

ICND2 Lab 8-1, Task 1步驟說明

[從 Step 4 開始]

RouterA# conf t
RouterA(config)# int s 0/0/0
RouterA(config-if)# shutdown
RouterA(config-if)# encapsulation frame-relay
RouterA(config-if)# ip address 10.140.1.2 255.255.255.0
RouterA(config-if)# no shutdown
RouterA(config-if)# end
RouterA# show run int s 0/0/0
interface Serial 0/0/0
 ip address 10.140.1.2 255.255.255.0
 encapsulation frame-relay
.....
RouterA#

ICND2 Lab 7-2, Task 4步驟說明

[從 Step 1 開始]

RouterA# conf t
RouterA(config)# int loop 2
RouterA(config-if)# ip addr 10.123.123.1 255.255.255.0
RouterA(config-if)# int ser 0/0/1
RouterA(config-if)# ip addr 10.23.23.1 255.255.255.0
RouterA(config-if)# router eigrp 100
RouterA(config-router)# network 10.0.0.0
RouterA(config-router)# end
RouterA#

ICND2 Lab 7-2, Task 3步驟說明

[從 Step 1 開始]


RouterA# conf t
RouterA(config)# ipv6 router rip cisco
RouterA(config-router)# int s0/0/1
RouterA(config-if)# ipv6 rip cisco enable
RouterA(config-if)# int loop 2
RouterA(config-if)# ipv6 rip cisco enable
RouterA(config-if)# end
RouterA# show ipv6 rip



RouterA# show ipv6 route

ICND2 Lab 7-2, Task 2步驟說明

[從 Step 1 開始]

RouterA# conf t
RouterA(config)# int s0/0/0
RouterA(config-if)# shutdown
RouterA(config-if)# exit
RouterA(config)# ipv6 unicast-routing
RouterA(config)# int s0/0/1
RouterA(config-if)# ipv6 address 2001:0410:0001:10::/64 eui-64
RouterA(config-if)# int loopback 2
RouterA(config-if)# ipv6 address 2001:0410:0001:1::/64 eui-64
RouterA(config-if)# end
RouterA# show ipv6 int

ICND2 Lab 5-1, Task 4步驟說明

[從 Step 1 開始]

RouterA# debug eigrp neighbors



RouterA# conf t
RouterA(config)# int ser 0/0/0
RouterA(config-if)# shutdown

(等10秒)

RouterA(config-if)# no shutdown
RouterA(config-if)# end
RouterA#




RouterA# undebug all
RouterA#

ICND2 Lab 5-1, Task 3步驟說明

[從 Step 1 開始]

RouterA# show ip route



RouterA# show ip protocols



RouterA# show ip eigrp neighbor



RouterA#

ICND2 Lab 5-1, Task 2步驟說明

[從 Step 1 開始]

RouterA# conf t
RouterA(config)# key chain icndchain
RouterA(config-keychain)# key 1
RouterA(config-keychain-key)# key-string san-fran
RouterA(config-keychain-key)# int ser 0/0/0
RouterA(config-if)# ip authentication mode eigrp 100 md5
RouterA(config-if)# ip authentication key-chain eigrp 100 icndchain
RouterA(config-if)# int ser 0/0/1
RouterA(config-if)# ip authentication mode eigrp 100 md5
RouterA(config-if)# ip authentication key-chain eigrp 100 icndchain
RouterA(config-if)# end
RouterA#

ICND2 Lab 5-1, Task 1步驟說明

[從 Step 6 開始]

RouterA# conf t
RouterA(config)# router eigrp 100
RouterA(config-router)# network 10.0.0.0
RouterA(config-router)# network 192.168.1.0
RouterA(config-router)# int ser 0/0/0
RouterA(config-if)# bandwidth 64
RouterA(config-if)# int ser 0/0/1
RouterA(config-if)# bandwidth 64
RouterA(config-if)# end
RouterA#

ICND2 Lab 4-1, Task 5步驟說明

[從 Step 1 開始]

RouterA# show ip route



RouterA# show ip protocols



RouterA# show ip ospf neighbor



RouterA# ping 10.1.1.1



RouterA# debug ip ospf events



RouterA#

ICND2 Lab 4-1, Task 4步驟說明

[從 Step 1 開始]

RouterA# conf t
RouterA(config)# int ser 0/0/0
RouterA(config-if)# ip ospf authentication-key san-fran
RouterA(config-if)# int ser 0/0/1
RouterA(config-if)# ip ospf authentication-key san-fran
RouterA(config-if)# end
RouterA#

RouterA# conf t
RouterA(config)# int ser 0/0/0
RouterA(config-if)# ip ospf authentication
RouterA(config-if)# int ser 0/0/1
RouterA(config-if)# ip ospf authentication
RouterA(config-if)# end
RouterA#

ICND2 Lab 4-1, Task 3步驟說明

[從 Step 1 開始]

RouterA# conf t
RouterA(config)# int loopback 0
RouterA(config-if)# ip addr 192.168.1.65 255.255.255.240
RouterA(config-if)# router ospf 100
RouterA(config-router)# network 192.168.1.65 0.0.0.0 area 0
RouterA(config-router)# network 10.2.2.3 0.0.0.0 area 0
RouterA(config-router)# network 10.140.1.2 0.0.0.0 area 0
RouterA(config-router)# network 10.23.23.1 0.0.0.0 area 0
RouterA(config-router)#int ser 0/0/0
RouterA(config-if)# bandwidth 64
RouterA(config-if)# int ser 0/0/1
RouterA(config-if)# bandwidth 64
RouterA(config-if)# end
RouterA#

2007年12月3日 星期一

ICND2 Lab 4-1, Task 2步驟說明

[從 Step 1 開始]

RouterA# conf t
RouterA(config)# no ip route 0.0.0.0 0.0.0.0 10.2.2.3
RouterA(config)# end
RouterA# show int serial 0/0/0


Description:
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters 4d03h
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/32 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=down DSR=down DTR=down RTS=down CTS=down

RouterA# conf t
RouterA(config)# int ser 0/0/0
RouterA(config-if)# ip addr 10.140.1.2 255.255.255.0
RouterA(config-if)# no shutdown
RouterA(config-if)# end
RouterA# ping 10.140.1.1



RouterA# ping 10.1.1.3



RouterA# show ip route



RouterA# show controllers serial 0/0/0



RouterA# show controllers serial 0/0/1



RouterA# conf t
RouterA(config)# int ser 0/0/1
RouterA(config-if)# clock rate 64000
RouterA(config-if)# ip address 10.23.23.1 255.255.255.0
RouterA(config-if)# no shutdown
RouterA(config-if)# end
RouterA# ping 10.23.23.2



RouterA#

ICND2 Lab 4-1, Task 1步驟說明

[從 Step 4 開始]

SwitchA# conf t
SwitchA(config)# int fa 0/11
SwitchA(config-if)# shutdown
SwitchA(config-if)# int fa 0/12
SwitchA(config-if)# shutdown
SwitchA(config-if)# end
SwitchA#

SwitchA# conf t
SwitchA(config)# int vlan 1
SwitchA(config-if)# ip addr 10.2.2.11 255.255.255.0
SwitchA(config-if)# exit
SwitchA(config)# ip default-gateway 10.2.2.3
SwitchA(config)# int fa 0/2
SwitchA(config-if)# switchport access vlan 1
SwitchA(config-if)# end
SwitchA#

2007年12月1日 星期六

ICND2 Lab 2-1, Task 5步驟說明

[從 Step 1 開始]

SwitchA# conf t
SwitchA(config)# vlan 20
SwitchA(config-vlan)# vlan 30
SwitchA(config-vlan)# end
SwitchA# show vlan


VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/22
2 VLAN0002 active Fa0/2
20 VLAN0020 active
30 VLAN0030 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
.....


SwitchA# conf t
SwitchA(config)# spanning-tree vlan 20 root primary
SwitchA(config)# spanning-tree vlan 30 root secondary
SwitchA(config)# end
SwitchA# show spanning-tree vlan 20


SwithcA# show spanning-tree vlan 30

2007年11月30日 星期五

ICND2 Lab 2-1, Task 4步驟說明

[從 Step 2 開始]

SwitchA# conf t
SwitchA(config)# spanning-tree mode rapid-pvst
SwitchA(config)# int fa 0/12
SwitchA(config-if)# duplex full
SwitchA(config-if)# speed 100
SwitchA(config-if)# switchport mode trunk
SwitchA(config-if)# end
SwitchA# show int fa 0/12 switchport


Name: Fa0/12
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled


Voice VLAN: none (Inactive)
Appliance trust: none


SwitchA# conf t
SwitchA(config)# int fa 0/12
SwitchA(config-if)# no shutdown
SwitchA(config-if)# end
SwitchA# show spanning-tree vlan 2


VLAN0002
Spanning tree enabled protocol ieee
Root ID Priority 24578
Address 000b.be96.7700
Cost 19
Port 11 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32770 (priority 32768 sys-id-ext 2)
Address 000e.d78d.ac80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/11 Root FWD 19 128.11 P2p
Fa0/12 Desg FWD 19 128.12 P2p


[從 Step 9 開始]

RouterA# telnet 10.1.1.2
Password:
CoreSwitchA>show spanning-tree vlan 2



VLAN0002
Spanning tree enabled protocol rstp
Root ID Priority 24578
Address 000b.be96.7700
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 24578 (priority 24576 sys-id-ext 2)
Address 000b.be96.7700
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 128.1 P2p Peer(STP)
Fa0/2 Desg FWD 19 128.2 P2p Peer(STP)
Fa0/3 Desg FWD 19 128.3 P2p Peer(STP)
Fa0/4 Desg FWD 19 128.4 P2p Peer(STP)
Fa0/5 Desg FWD 19 128.5 P2p Peer(STP)
Fa0/6 Desg FWD 19 128.6 P2p
Fa0/7 Desg FWD 19 128.7 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.9 Shr Peer(STP)

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/10 Desg FWD 19 128.10 Shr Peer(STP)
Fa0/23 Desg FWD 19 128.23 P2p


CoreSwitchB>show spanning-tree vlan 2


Spanning tree enabled protocol rstp
Root ID Priority 24578
Address 000b.be96.7700
Cost 19
Port 13 (FastEthernet0/13)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32770 (priority 32768 sys-id-ext 2)
Address 0014.69d1.fa80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/5 Desg FWD 19 128.5 P2p
Fa0/6 Desg FWD 19 128.6 P2p
Fa0/9 Altn BLK 19 128.9 P2p
Fa0/13 Root FWD 19 128.13 P2p
Fa0/14 Altn BLK 19 128.14 P2p



CoreSwitchB>


[從 Step 11 開始]

RouterA# ping


Protocol [ip]:
Target IP address: 10.1.1.3
Repeat count [5]: 200
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 200, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (200/200), round-trip min/avg/max = 1/1/4 ms


RouterA#

ICND2 Lab 2-1, Task 3步驟說明

** 請在 SwitchA 的 VLAN 1 上, 先將 IP位址設好, 不然 Step 11還是會PING不到.

SwitchA# conf t
SwitchA(config)# int vlan 1
SwitchA(config-if)# ip address 10.1.1.20 255.255.255.0
SwitchA(config-if)# no shutdown
SwitchA(config-if)# end
SwitchA#


[從 Step 1 開始]


SwitchA# conf t
SwitchA(config)# vlan 2
SwitchA(config-vlan)# name VLAN0002
SwitchA(config-vlan)# exit
SwitchA(config)# exit

SwitchA# show vlan



VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
2 VLAN0002 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

.....


SwitchA# conf t
SwitchA(config)# int
fa 0/2
SwitchA(config-if)# switchport access vlan 2
SwitchA(config-if)# exit
SwtichA(config)# int fa 0/2
SwitchA(config-if)# spanning-tree portfast


%Warning: portfast should only be enabled on ports connected to a single host.
Connecting hubs, concentrators, switches, bridges, etc.to this interface
when portfast is enabled, can cause temporary spanning tree loops.
Use with CAUTION

%Portfast has been configured on FastEthernet0/2 but will only
have effect when the interface is in a non-trunking mode.



SwitchA (config-if)# exit

SwitchA# show vlan brief



VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
2 VLAN0002 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup



SwitchA#


[從 Step 6 開始]


RouterA>enable
Password:
RouterA#conf t
RouterA(config)# int fa 0/0
RouterA(config-if)# ip address 10.2.2.12 255.255.255.0
RouterA(config-if)# no shutdown
RouterA(config-if)# exit
RouterA(config)# exit
RouterA# ping 10.2.2.3


Sending 5, 100-byte ICMP Echos to 10.2.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


RouterA# ping 10.1.1.10




Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


RouterA# conf t
RouterA(config)# ip route 0.0.0.0 0.0.0.0 10.2.2.3
RouterA(config)# exit
RouterA# ping 10.1.1.10


Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms



RouterA#

ICND2 Lab 2-1, Task 2步驟說明

[從 Step 1 開始]

SwitchA# conf t
SwitchA(config)# int fa0/11
SwitchA(config-if)# switchport mode trunk
SwitchA(config-if)# end
SwitchA# show int fa0/11 switchport

Name: Fa0/11
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

SwitchA# conf t
SwitchA(config)# int vlan 1
SwitchA(config-if)# ip addr 10.1.1.20 255.255.255.0
SwitchA(config-if)# no shut
SwitchA(config-if)# end
SwitchA# ping 10.1.1.3

Sending 5, 100-byte ICMP Echos to
10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


SwitchA#

ICND2 Lab 2-1, Task 1步驟說明

[從 Step 4 開始]

SwitchA>enable
Password:
SwitchA# conf t
SwitchA(config)# int fa0/12
SwitchA(config-if)# shutdown
SwitchA(config-if)# exit
SwitchA(config)# vtp domain ICND
SwitchA(config)# vtp mode transparent
SwitchA(config)# end
SwitchA# show vtp status

VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 6
VTP Operating Mode : Transparent
VTP Domain Name : ICND
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x57 0xCD 0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00

SwitchA# show run

! ...

vtp domain ICND
vtp mode transparent

! ...

SwitchA#

經典熱門文章