Thứ Hai, 12 tháng 12, 2011
CONFIGURE LAB DOT1Q-TUNNEL (Q in Q)
1, BASIC CONFIGURE HOSTNAME
# A1: Hostname for customer A1
# A1 SPEED UP
# STEP1: HOSTNAME A1 for customer A1
enable
config terminal
hostname A1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
====================================================
# STEP1: HOSTNAME A2 for customer A2
enable
config terminal
hostname A2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
===================================================
# STEP1: HOSTNAME ISP1 for provide ISP1
enable
config terminal
hostname ISP1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
===================================================
# STEP1: HOSTNAME ISP2 for provide ISP2
enable
config terminal
hostname ISP2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
====================================================
# STEP2: CONFIGURE VLAN 10,20,30 AND ASSING PORT FOR VLAN ON SWITCH A1
# A1 TRUNK, VLAN,spanning-tree portfast default
config terminal
vlan 10,20,30
exit
interface f0/1
switchport trunk encapsulation dot 1q
switchport mode trunk
exit
interface range f0/2 - 4
switchport mode access
switchport access vlan 10
exit
interface range f0/5 - 7
switchport mode access
switchport access vlan 20
exit
interface range f0/8 - 10
switchport mode access
switchport access vlan 30
exit
spanning tree portfast default
end
wr
=================================================
# A2 TRUNK, VLAN,spanning-tree portfast default
config terminal
vlan 10,20,30
exit
interface f0/1
switchport trunk encapsulation dot 1q
switchport mode trunk
exit
interface range f0/2 - 4
switchport mode access
switchport access vlan 10
exit
interface range f0/5 - 7
switchport mode access
switchport access vlan 20
exit
interface range f0/8 - 10
switchport mode access
switchport access vlan 30
exit
spanning-tree portfast default
end
wr
=================================================
# STEP3: CONFIGURE DOT 1Q-TUNNEL INTERFACE
# ISP1 CONFIGURE DOT 1Q-TUNNEL INTERFACE
config terminal
vlan 100
exit
system mtu 1504
interface F0/1
switchport access vlan 100
switchport mode dot1q-tunnel
l2protocol-tennel {cdp|vtp|stp}
exit
interface f0/24
switchport trunk encapsulation dot 1q
switchport mode trunk
end
wr
===================================================
# ISP2 CONFIGURE DOT 1Q-TUNNEL INTERFACE
config terminal
vlan 100
exit
system mtu 1504
interface F0/1
switchport access vlan 100
switchport mode dot1q-tunnel
l2protocol-tennel {cdp|vtp|stp}
exit
interface f0/24
switchport trunk encapsulation dot 1q
switchport mode trunk
end
wr
===================================================
COMMANS TEST
# show interface status
# show interface {int} switchport
# show interface trunk
# show cdp neighbor
# show system mtu
=================THE END================
Đăng ký:
Đăng Nhận xét (Atom)
Không có nhận xét nào:
Đăng nhận xét