扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
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
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet4.4
encapsulation dot1Q 4
no ip redirects
no ip directed-broadcast
bridge-group 4
!
interface GigabitEthernet4.5
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 5
!
interface GigabitEthernet4.6
encapsulation dot1Q 6
no ip redirects
no ip directed-broadcast
bridge-group 6
!
interface GigabitEthernet4.10
encapsulation dot1Q 10
no ip redirects
no ip directed-broadcast
bridge-group 10
!
interface GigabitEthernet5
no ip address
no ip directed-broadcast
!
interface GigabitEthernet5.1
encapsulation dot1Q 1 native
no ip redirects
no ip directed-broadcast
bridge-group 1
!
interface GigabitEthernet5.2
encapsulation dot1Q 2
no ip redirects
no ip directed-broadcast
bridge-group 2
!
interface GigabitEthernet5.3
encapsulation dot1Q 3
no ip redirects
no ip directed-broadcast
bridge-group 3
!
interface GigabitEthernet5.4
encapsulation dot1Q 4
no ip redirects
no ip directed-broadcast
bridge-group 4
!
interface GigabitEthernet5.5
encapsulation dot1Q 5
no ip redirects
no ip directed-broadcast
bridge-group 5
!
interface GigabitEthernet5.6
encapsulation dot1Q 6
no ip redirects
no ip directed-broadcast
bridge-group 6
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者