CCIE思科教育培训 CCIE培训

CISCO4908的配置例程

CISCO 4908G配置:
sh run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable password cisco 进去特权模式的密码
!
username cisco password 0 cisco 远程telnet管理登陆的用户名和密码
ip subnet-zero
bridge irb 桥接路由
!
!
!
interface Port-channel1 建立一个快速通道
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel1.1 设置快速通道的vlan1接口,子端口1
encapsulation dot1Q 1 native 封装802.1q协议,设置为vlan 1
no ip redirects
no ip directed-broadcast
bridge-group 1 桥接本交换机所有的vlan 1
!
interface Port-channel1.2 设置快速通道vlan 2接口,子端口2
encapsulation dot1Q 2 封装802.1q协议,设置为vlan 2
no ip redirects
no ip directed-broadcast
bridge-group 2 桥接本交换机的 vlan 2
!
interface Port-channel1.3
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface Port-channel1.4
encapsulation dot1Q 4
no ip redirects
no ip directed-broadcast
bridge-group 4
!
interface Port-channel1.5
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 5
!
interface Port-channel1.6
encapsulation dot1Q 6
no ip redirects
no ip directed-broadcast
bridge-group 6
!
interface Port-channel1.10
encapsulation dot1Q 10
no ip redirects
no ip directed-broadcast
bridge-group 10
!
interface GigabitEthernet1
no ip address
no ip directed-broadcast
!
interface GigabitEthernet1.1 设置第一个千兆口的第一个子端口
encapsulation dot1Q 1 native 使第一个子端口划分为vlan 1中
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet1.2 设置第一个千兆口的第二个子端口
encapsulation dot1Q 2 把第二个子端口划分为 vlan 2中(注:第2个子端口必须划分到vlan 2,不能划分到其他vlan否则,就无效)
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet1.3
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet1.4
encapsulation dot1Q 4
no ip redirects
no ip directed-broadcast
bridge-group 4
!
interface GigabitEthernet1.5
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 5
!
interface GigabitEthernet1.6
encapsulation dot1Q 6
no ip redirects
no ip directed-broadcast
bridge-group 6
!
interface GigabitEthernet1.10
encapsulation dot1Q 10
no ip redirects
no ip directed-broadcast
bridge-group 10
!
interface GigabitEthernet2
no ip address
no ip directed-broadcast
!
interface GigabitEthernet2.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet2.2
encapsulation dot1Q 2
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet2.3
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet2.4
encapsulation dot1Q 4
no ip redirects
no ip directed-broadcast
bridge-group 4
!
interface GigabitEthernet2.5
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 5
!
interface GigabitEthernet2.6
encapsulation dot1Q 6
no ip redirects
no ip directed-broadcast
bridge-group 6
!
interface GigabitEthernet2.10
encapsulation dot1Q 10
no ip redirects
no ip directed-broadcast
bridge-group 10
!
interface GigabitEthernet3
no ip address
no ip directed-broadcast
!
interface GigabitEthernet3.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet3.2
encapsulation dot1Q 2
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet3.3
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet3.4
encapsulation dot1Q 4
no ip redirects
no ip directed-broadcast
bridge-group 4
!
interface GigabitEthernet3.5
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 5
!
interface GigabitEthernet3.6
encapsulation dot1Q 6
no ip redirects
no ip directed-broadcast
bridge-group 6
!
interface GigabitEthernet3.10
encapsulation dot1Q 10
no ip redirects
no ip directed-broadcast
bridge-group 10
!
interface GigabitEthernet4
no ip address
no ip directed-broadcast
!
interface GigabitEthernet4.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet4.2
encapsulation dot1Q 2
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet4.3
encapsulation dot1Q 3
no ip redirects

Tags:

发布: admin 分类: CCIE思科 评论: 0 浏览: 92
留言列表
发表留言
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。