代码拉取完成,页面将自动刷新
! Example Switch Configuration
!
hostname hostname-2
!
vlan 10
name access-port
!
interface Loopback0
ip address 192.168.1.2 255.255.255.255
no ip redirects
no ip unreachables
no ip proxy-arp
!
interface Gi1/1
description core-1 P2P
no switchport
ip address 192.168.101.5 255.255.255.254
no ip redirects
no ip unreachables
no ip proxy-arp
no shutdown
!
interface Gi1/2
description core-2 P2P
no switchport
ip address 192.168.100.7 255.255.255.254
no ip redirects
no ip unreachables
no ip proxy-arp
no shutdown
!
interface Gi1/2
description access port
switchport
switchport mode access
switchport access vlan 10
interface Gi1/3
description access port
switchport
switchport mode access
switchport access vlan 10
interface Gi1/4
description access port
switchport
switchport mode access
switchport access vlan 10
interface Gi1/5
description access port
switchport
switchport mode access
switchport access vlan 10
interface Gi1/6
description access port
switchport
switchport mode access
switchport access vlan 10
interface Gi1/7
description access port
switchport
switchport mode access
switchport access vlan 10
interface Gi1/8
description access port
switchport
switchport mode access
switchport access vlan 10
!
interface Vlan10
description Access Network
ip address 192.168.201.254 255.255.255.0
ip helper-address 192.168.0.1
ip helper-address 192.168.0.2
no ip redirects
no ip unreachables
no ip proxy-arp
!
router ospf 1
router-id 192.168.1.2
nsf cisco
passive-interface default
no passive-interface gi1/1
no passive-interface gi1/1
no passive-interface Vlan10
!
ip access-list standard LINE_MGMT
permit 192.168.0.0 0.0.0.255
!
line con 0
exec-timeout 30 0
timeout login response 15
line vty 0 4
access-class LINE_MGMT in
exec-timeout 30 0
timeout login response 15
length 0
transport input ssh
line vty 5 15
access-class LINE_MGMT in
exec-timeout 30 0
timeout login response 15
length 0
transport input ssh
!
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。