-
萬事開頭難 It is the first step that costs. / The first step is the hardest.
-
好的開始是成功的一半 A good beginning is half the battle.
SecurtCRT的talent地址爲2016-2027,橫數,共十二臺
在真機上清空配置:
>reset saved-configuration
>reboot
在用戶界面選擇保留原有配置(save),然後重啓(reboot),重啓後配置還在,在用戶界面輸入reset saved-configuration(清空已保存設備),再度重啓,配置已經被刪除完畢
在真機上做實驗時注意交換機的端口默認是關閉的,需要進行開啓(no shutdown),我做昨天的在模擬器上的trunk實驗,今天在真機上做。
配置如下:
<sw01>
version 7.1.070, Feature 1306L02
#
sysname sw01
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
lldp global enable
#
fan prefer-direction slot 1 port-to-power
password-recovery enable
#
vlan 1
#
vlan 10
#
vlan 20
#
stp global enable
#
interface NULL0
#
interface Vlan-interface10
ip address 10.1.1.254 255.255.255.0
#
interface Vlan-interface20
ip address 20.1.1.254 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 10
shutdown
#
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 20
shutdown
#
interface GigabitEthernet1/0/3
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 10 20
#
<sw02>
#
version 7.1.070, Feature 1306L02
#
sysname sw02
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
lldp global enable
#
fan prefer-direction slot 1 port-to-power
password-recovery enable
#
vlan 1
#
vlan 10
#
vlan 20
#
stp global enable
#
interface NULL0
#
interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 10
#
interface GigabitEthernet1/0/2
port link-mode bridge
port access vlan 20
#
interface GigabitEthernet1/0/3
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 10 20
#
開啓失敗檢查主機網卡是否啓用。
注意:save current configuration?選擇no,不保存原有配置
然後接口開不了是怎麼回事?!!!
急死了!!!!!!!!!!!!!
折騰了半天,去看機器,發現線沒有連,他奶奶的我真是個蠢貨。
最後需要退出銳捷校園網客戶端或者禁用相關網卡,否則無法ping同另一臺的網關或者IP地址,而使用中的網卡是連接機櫃(網絡5),禁用後纔可以ping通真機,以完成本實驗。