Tuesday, June 7, 2016

1. Vlan

interface FastEthernet0/11
switchport access vlan 10

switchport mode access

2. DTP

3. Inter Vlan

switchport mode trunk

interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 172.17.10.1 255.255.255.0

inter fa0/0 no shut

4. VTP

Switch(config)# vtp domain name

Switch(config)# vtp mode mode

Switch(config)# vtp password password

show vtp status
show vtp counters

5. Port security

wg_sw_2950(config)#interface fa0/1
wg_sw_2950(config-if)#switchport mode access
wg_sw_2950(config-if)#switchport port-security
wg_sw_2950(config-if)#switchport port-security maximum 1
wg_sw_2950(config-if)#switchport port-security mac-address 0008.eeee.eeee
wg_sw_2950(config-if)#switchport port-security violation shutdown

6. STP

SW(config)#spanning-tree vlan 5 root
SW(config)#spanning-tree vlan 5 secondary

7. Etherchannel

SW(config-if)#channel-group 1 mode active

show interfaces etherchannel

8. HRPS, VRRP

Default Gateway Redundancy

HSRP:

RouterA(config)# interface GigabitEthernet0/0
RouterA(config-if)# ip address 10.1.10.2 255.255.255.0
RouterA(config-if)# standby 1 ip 10.1.10.1
RouterA(config-if)# standby 1 priority 110
RouterA(config-if)# standby 1 preempt

Router A chạy ở chế độ Active có lệnh preempt, router B chạy chế độ standby không cần lệnh này.

Related Posts:

  • IPv6Cau hinh IPv6 - 128 bit - quy tac rut gon dia chi ipv6… Read More
  • Lab 2: Định tuyến RIP - EIGRP - OSPF 0. Dinh Tuyen Tinh Cau hinh defaut route: de mac dinh chuyen tiep goi tin ra ngoai ip route 0.0.0.0 0.0.0.0 200.1.1.2  1. RIP router rip version 2 network 172.16.0.0 network 192.168.1.0 network 192.168.10.0 2.… Read More
  • Lab 4 - Wan 1. HDLC encapsulation Router(config-if)#encapsulation HDLC 2. PPP encapsulation HDLC is default encapsulation on cisco router, PPP using to connect non-cisco router Authentication: PAP or CHAP Pap - send passwor… Read More
  • Lab 3: Switching 1. Vlan interface FastEthernet0/11 switchport access vlan 10 switchport mode access 2. DTP 3. Inter Vlan switchport mode trunk interface FastEthernet0/0.10 encapsulation dot1Q 10 ip address 172.17.10.1 255.255.255.0 … Read More
  • Lab 5 - Network IP Services and Security 1. ACL 2. DHCP Mot Router co the tao nhieu Pool tuong ung voi nhieu dai dia chi cap IP R(Config)#ip dhcp excluded-address 192.168.10.1 192.168.10.9 R(Config)#ip dhcp excluded-address 192.168.10.254 R(Config)#ip dhcp poo… Read More

0 comments:

Post a Comment

Chuyên mục

Bài viết theo tháng

Bài đăng gần nhất