实验模拟器环境:
EVE(需要私聊)
拓扑图
Switch>enable
Switch#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Switch1
Switch1(config)#vlan 4094
Switch1(config-vlan)#interface vlan 4094
*Jul 27 01:34:10.508: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4094, changed state to down
Switch1(config)#interface loopback 1
Switch1(config-if)#ip address 78.78.78.1 255.255.255.0
Switch1(config-if)#no shutdown
*Jul 27 01:34:29.927: %LINK-3-UPDOWN: Interface Vlan4094, changed state to down
Switch1(config)#interface loopback 1
Switch1(config-if)#ip address 78.78.78.1 255.255.255.0
Switch1(config-if)#no shutdown
Switch1(config-if)#
*Jul 27 01:37:18.184: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
Switch1(config)#interface g0/0
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 4094
*Jul 27 01:43:08.340: %LINK-3-UPDOWN: Interface Vlan4094, changed state to up
*Jul 27 01:43:09.341: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4094, changed state to up
Switch1(config)#router ospf 10
Switch1(config-router)#network 77.77.77.0 255.255.255.0 ar 0
Switch1(config-router)#network 78.78.78.0 255.255.255.0 ar 0
Switch1(config-router)#area 0 authentication message-digest
Switch1(config-router)#exit
Switch1(config)#interface vlan 4094
Switch1(config-if)#ip ospf authentication
Switch1(c