免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3431 | 回复: 1
打印 上一主题 下一主题

CISCO交换机端口绑定 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-18 09:31 |只看该作者 |倒序浏览
哪位高手能给一个CISCO交换机IP与MAC绑定的例子,谢谢。

论坛徽章:
0
2 [报告]
发表于 2003-02-27 14:06 |只看该作者

CISCO交换机端口绑定

Switch2900>;ena
Password:
Switch-1#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 Switch-1
!
enable secret 5 $1$2N/0$G1GGWJNBPTaHG7zwXw34O/
!
!
!
!
!
!
ip subnet-zero
ip domain-name nmc.ln.cmcc
ip name-server 10.64.6.2
!
cluster commander-address 0002.7d29.d840 member 2 name ppp_cluster
!
!
interface FastEthernet0/1
description connect_to_switch-2
!
interface FastEthernet0/2
port security max-mac-count 1
!
interface FastEthernet0/3
description con_to_jiangzuopeng
!
interface FastEthernet0/4
port security max-mac-count 1
!
interface FastEthernet0/5
port security max-mac-count 1
!
interface FastEthernet0/6
port security max-mac-count 1
!
interface FastEthernet0/7
port security max-mac-count 1
!
interface FastEthernet0/8
port security max-mac-count 1
!
interface FastEthernet0/9
description con_pengshuiping
!
interface FastEthernet0/10
port security max-mac-count 1
spanning-tree portfast
!
interface FastEthernet0/11
port security max-mac-count 1
!
interface FastEthernet0/12
port security max-mac-count 1
!
interface FastEthernet0/13
port security max-mac-count 1
!
interface FastEthernet0/14
port security max-mac-count 1
!
interface FastEthernet0/15
port security max-mac-count 1
!
interface FastEthernet0/16
port security max-mac-count 1
!
interface FastEthernet0/17
port security max-mac-count 1
!
interface FastEthernet0/18
port security max-mac-count 1
!
interface FastEthernet0/19
port security max-mac-count 1
!
interface FastEthernet0/20
description con_to_mex_inside
!
interface FastEthernet0/21
port security max-mac-count 1
!
interface FastEthernet0/22
description con_lzs
port security max-mac-count 5
!
interface FastEthernet0/23
port security max-mac-count 1
!
interface FastEthernet0/24
description con_to_mex_outside
!
interface VLAN1
ip address 10.64.6.241 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
logging 10.64.6.101
mac-address-table secure 0000.0000.0002 FastEthernet0/2 vlan 1
mac-address-table secure 0000.0000.0004 FastEthernet0/4 vlan 1
mac-address-table secure 0000.0000.0010 FastEthernet0/10 vlan 1
mac-address-table secure 0000.0000.0011 FastEthernet0/11 vlan 1
mac-address-table secure 0000.0000.0012 FastEthernet0/12 vlan 1
mac-address-table secure 0000.0000.0014 FastEthernet0/14 vlan 1
mac-address-table secure 0000.0000.0015 FastEthernet0/15 vlan 1
mac-address-table secure 0000.0000.0017 FastEthernet0/17 vlan 1
mac-address-table secure 0000.0000.0018 FastEthernet0/18 vlan 1
mac-address-table secure 0000.0000.0021 FastEthernet0/21 vlan 1
mac-address-table secure 0006.29a6.8145 FastEthernet0/6 vlan 1
mac-address-table secure 0008.028f.897e FastEthernet0/5 vlan 1
mac-address-table secure 0010.b5a7.2557 FastEthernet0/22 vlan 1
mac-address-table secure 0010.b5be.2872 FastEthernet0/16 vlan 1
mac-address-table secure 0010.b5be.29f5 FastEthernet0/22 vlan 1
mac-address-table secure 0020.5514.a728 FastEthernet0/13 vlan 1
mac-address-table secure 0048.5475.78e2 FastEthernet0/22 vlan 1
mac-address-table secure 0050.fc0a.9658 FastEthernet0/22 vlan 1
mac-address-table secure 0050.fc0a.b491 FastEthernet0/19 vlan 1
mac-address-table secure 00b0.d078.ac16 FastEthernet0/23 vlan 1
mac-address-table secure 00b0.d08f.a6f0 FastEthernet0/8 vlan 1
mac-address-table secure 00d0.5933.7a74 FastEthernet0/20 vlan 1
mac-address-table secure 00d0.5934.05a6 FastEthernet0/22 vlan 1
!
line con 0

line vty 0 4

end
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP