เปิดปิด port cisco

 

Simple examples of brining up and down the interfaces on CISCO devices with shutdown and no shutdown commands.

Enable an Interface on a CISCO Device
Type the following commands to enable an interface on a CISCO switch or router :

# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# no shutdown
(config-subif)# end
# write

To display a status of an interface, use the 'show interfaces status' command :

# show interfaces FastEthernet 0/1 status
Port Name Status Vlan Duplex Speed Type
Fa0/1 connected 15 full 100 10/100BaseTX

Disable an Interface on a CISCO Device

Type the following commands to disable an interface on a CISCO switch or router :

# enable
# configure terminal
(config)# interface FastEthernet 0/1
(config-subif)# shutdown
(config-subif)# end
# write

To display a status of an interface, use the 'show interfaces status' command :

# show interfaces FastEthernet 0/1 status
Port Name Status Vlan Duplex Speed Type
Fa0/1 disabled 15 full 100 10/100BaseTX

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

สอนติดตั้ง VestaCP

Vesta Control Panel คือ? Vesta เป็น Web Hosting Control Panel ประเภท Open Source...

สอนลง openssh บน ubuntu

วิธีติดตั้ง SSH บน Ubuntu 1. ติดตั้ง SSH 1 sudo apt-get install...

สอนการเปลี่ยน Port remote desktop สำหรับ Windows

วันนี้จะมาแนะนำวิธีเปลี่ยน Port ของ Remote Desktop ใน Windows 10, Windows 8.1 และ Windows 7...

อัพเกรด Windows Server 2012 Trail To Full

How to upgrade Windows Server 2012 R2 evaluation version to full version 8 Replies On a...

สอนเปลี่ยน PHP Version บน DirectAdmin

วิธีเลือกเวอร์ชั่น php บน DirectAdmin ด้วยตัวเอง 2019-02-06 15:15:35 by Admin...

Powered by WHMCompleteSolution