cisco 2960G IP&MAC&PORT绑定(1)
原创tagche2008 博主文章分类:Networking ©著作权
©著作权归作者所有:来自51CTO博客作者tagche2008的原创作品,请联系作者获取转载授权,否则将追究法律责任
Switch#
Switch#sh version
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 20:06 by nachen
Image text-base: 0x00003000, data-base: 0x00D40000
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)SEE6, RELEASE SOFTWARE (fc1)
Switch uptime is 5 days, 2 hours, 21 minutes
System returned to ROM by power-on
System p_w_picpath file is "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin"
cisco WS-C2960G -48TC-L (PowerPC405) processor (revision E0) with 61440K/4088K bytes of memory.
Processor board ID FOC1226V3WA
Last reset from power-on
2 Virtual Ethernet interfaces
48 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:22:0D:5D:EC:80
Motherboard assembly number : 73-10300-08
Power supply part number : 341-0098-02
Motherboard serial number : FOC12254Z0L
Power supply serial number : AZS122310WW
Model revision number : E0
Motherboard revision number : A0
Model number : WS-C2960G -48TC-L
System serial number : FOC1226V3WA
Top Assembly Part Number : 800-27071-03
Top Assembly Revision Number : A0
Version ID : V03
CLEI Code Number : COM4A 10BRC
Hardware Board Revision Number : 0x01
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 48 WS-C2960G -48TC-L 12.2(35)SE5 C 2960-LANBASE-M
Configuration register is 0xF
Switch#
Switch#sh flash
Directory of flash:/
2 -rwx 616 Mar 5 1993 20:41:29 +00:00 vlan.dat
3 -rwx 7843 Mar 6 1993 02:06:20 +00:00 config.text
4 -rwx 5 Mar 6 1993 02:06:20 +00:00 private-config.text
7 drwx 192 Mar 1 1993 00:11:37 +00:00 c 2960-lanbase-mz.122-35.SE5
32514048 bytes total (24170496 bytes free)
Switch#
Switch#sh ?
aaa Show AAA values
access-lists List access lists
accounting Accounting data for active sessions
aliases Display alias commands
archive Archive functions
arp ARP table
auto Show Automation Template
auto Show Automation Template
boot show boot attributes
buffers Buffer pool statistics
cable-diagnostics Show Cable Diagnostics Results
cca CCA information
cdp CDP information
class-map Show QoS Class Map
clock Display the system clock
cluster Cluster information
cns CNS agents
configuration Configuration details
controllers Interface controller status
dampening Display dampening information
data-corruption Show data errors
debugging State of each debugging option
derived-config Derived operating configuration
dhcp Dynamic Host Configuration Protocol status
dot1x Dot1x information
dtp DTP information
eap Shows EAP registration/session information
env Environmental facilities
errdisable Error disable
etherchannel EtherChannel information
exception exception informations
fallback Display Fallback configuration
file Show filesystem information
flash: display information about flash: file system
flowcontrol show flow control information
history Display the session command history
hosts IP domain-name, lookup style, nameservers, and host table
html HTML helper commands
idb List of Interface Descriptor Blocks
identity Identity profiles and policies
idprom show IDPROMs for interfaces
interfaces Interface status and configuration
inventory Show the physical inventory
ip IP information
kron Kron Subsystem
lacp Port channel information
line TTY line information
link Show Link
location Display the system location
logging Show the contents of logging buffers
login Display Secure Login Configurations and State
mac MAC configuration
mac-address-table MAC forwarding table
memory Memory statistics
mls mls global commands
monitor Monitoring different system events
mvr Show mvr global parameters
ntp Network time protocol
pagp Port channel information
parser Show parser commands
platform platform specific show commands
pm Show Port Manager commands
policy-manager Policy Manager
policy-map Show QoS Policy Map
port-security Show secure port information
post Show the results of the system POST
privilege Show current privilege level
processes Active process statistics
queue Show queue contents
queueing Show queueing configuration
radius Shows radius information
region Region Manager Status
registry Function registry information
reload Scheduled reload information
resource Resource group statistics
rhosts Remote-host+user equivalences
rmon rmon statistics
rtr Service Assurance Agent (SAA)
running-config Current operating configuration
sdm Switch database management
sessions Information about Telnet connections
setup Show express setup settings
snmp snmp statistics
spanning-tree Spanning tree topology
stacks Process stack utilization
standby Hot Standby Router Protocol (HSRP) information
startup-config Contents of startup configuration
storm-control Show storm control configuration
subsys Show subsystem information
system Show the system configuration
table-map Show Table Map
tacacs Shows tacacs+ server statistics
tcp Status of TCP connections
tech-support Show system information for Tech-Support
template Template information
terminal Display terminal configuration parameters
time-range Time range
udld UDLD information
users Display information about terminal lines
version System hardware and software status
vlan VTP VLAN status
vmps VMPS version information
vtp VTP information
Switch#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 200.73.71.220 5 0018.8bd6.f084 ARPA Vlan1
Internet 200.73.71.1 18 0023.8917.d4e8 ARPA Vlan1
Internet 200.73.71.14 - 0022.0d5d.ecc0 ARPA Vlan1
Switch#
Switch#sh mac-addres
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
All 0100.0ccc.cccc STATIC CPU
All 0180.c200.0010 STATIC CPU(???)
All ffff.ffff.ffff STATIC CPU
1 000f .e207.f2e0 DYNAMIC Gi0/48
1 000f .e2b9.9243 DYNAMIC Gi0/48
5 0800.20c 3.5aaf DYNAMIC Gi0/32
Total Mac Addresses for this criterion: 59
Switch#sh run
Building configuration...
Current configuration : 7843 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Switch
!
enable secret 5 $1$StA0$Q3DS2nqvrHKB1ISOYJBDC1
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
no ip domain-lookup
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet0/1
description x4(rhe5,x4200)
switchport access vlan 5
switchport mode access
switchport port-security mac-address 0014.4fe6.e866
ip access-group IP01 in
!
interface GigabitEthernet0/40
switchport access vlan 5
switchport mode access
ip access-group IP40 in
!
interface GigabitEthernet0/48
switchport mode trunk
!
interface Vlan1
ip address 200.73.71.14 255.255.255.0
no ip route-cache
!
ip default-gateway 200.73.71.1
ip http server
!
ip access-list standard IP01
permit 200.73.91.56
ip access-list standard IP32
permit 200.73.91.62
!
control-plane
!
line con 0
password 7 075D70187D30
transport preferred telnet
line vty 0 4
password 7 04095A 523C 18
login
end
#
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
IP协议原理(1)(五千字长文详解)
IP协议原理(1)
IP 5e TCP -
思科交换机2960G重灌IOS
公司的一台思科2960交换机拿来设置,在清空配置的时候不小心清空了Flash:结果reload启动不起来,直接进入了"SWITCH:”模式。
思科交换机 CISCO2960 重灌IOS 重装IOS switch: -
Cisco的MAC地址与IP绑定
CiscoMAC地址与IP绑定的几个方法
cisco 职场 休闲 MAC地址与IP绑定