เปิดปิด 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

  • cisco
  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Related Articles

(Vmware) How to install VMware Tools on Debian, Ubuntu and CentOS

How to install VMware Tools on Debian, Ubuntu and CentOS go to VM > Guest >...

วิธีทำ Virtual Host บน XAMPP ในระบบปฏิบัติการ Windows

วิธีทำ Virtual Host บน XAMPP ในระบบปฏิบัติการ Windows Virtual Host คืออะไร ? Virtual Host...

สอนการเปิดการใช้งาน SSL ฟรี Let’s Encrypt

เปิดใช้งาน https กับ Let’s Encrypt ให้เว็บไซต์โดยใช้ DirectAdmin ก่อนอื่นมาทำความรู้จักกับ...

สอนลง openssh บน ubuntu

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

GLANCES ตรวจสอบสถานะเซิฟเวอร์

Glances เป็นเครื่องมือที่เหมาะสำหรับ Admin...

Powered by WHMCompleteSolution