cisco交换机管理配置常用命令

登录核心交换机 cisco6509
telnet 192.168.100.1

#show cdp nei
#show arp | in 192.168.106



kib6509#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID Local Intrfce Holdtme Capability Platform Port ID
OfficeB_2950_24_107
Gig 2/5 160 S I WS-C2950G-Gig 0/1
Genobank_4506_201
Gig 2/16 166 S I WS-C4506 Gig 2/1
Lib_2950_48_101 Gig 2/2 153 S I WS-C2950G-Gig 0/1
YiQiB_2950_24_113
Gig 2/3 131 S I WS-C2950G-Gig 0/1
kib_catalyst3550 Gig 1/48 134 R S I WS-C3550-2Fas 0/6
NorthB2950_48_111
Gig 2/4 160 S I WS-C2950G-Gig 0/1
StateKeyLab2950-103
Gig 2/15 133 S I WS-C2950G-Gig 0/1
SouthB_2950_48_109
Gig 2/9 158 S I WS-C2950G-Gig 0/1

kib6509#show arp | in 192.168.106
Internet 192.168.106.1 - 0015.2cb9.e400 ARPA Vlan6
Internet 192.168.106.7 4 0013.72b1.a3df ARPA Vlan6
Internet 192.168.106.8 0 001a.a014.1552 ARPA Vlan6
Internet 192.168.106.9 3 0014.2ab6.1d91 ARPA Vlan6
Internet 192.168.106.15 33 0011.1143.df8d ARPA Vlan6
Internet 192.168.106.31 33 001a.a014.19d0 ARPA Vlan6
Internet 192.168.106.100 33 0022.158a.e9bc ARPA Vlan6
Internet 192.168.106.109 0 0002.3f06.203f ARPA Vlan6
Internet 192.168.106.119 0 0016.41e3.c2cd ARPA Vlan6
Internet 192.168.106.123 33 0015.580a.1dc3 ARPA Vlan6
Internet 192.168.106.121 32 0024.7eda.7277 ARPA Vlan6
Internet 192.168.106.126 33 0024.8cf8.e7fb ARPA Vlan6
Internet 192.168.106.125 0 0026.2256.916e ARPA Vlan6
Internet 192.168.106.143 0 0024.7e15.b4ff ARPA Vlan6
Internet 192.168.106.140 0 0024.8cf8.e832 ARPA Vlan6
Internet 192.168.106.141 33 001e.ecc8.2166 ARPA Vlan6
Internet 192.168.106.144 33 0013.77fc.d1a0 ARPA Vlan6
Internet 192.168.106.224 33 0040.0544.9356 ARPA Vlan6
Internet 192.168.106.250 98 000e.5303.bd7b ARPA Vlan6
kib6509#

C:\Documents and Settings\dell>arp -a

Interface: 192.168.106.8 --- 0x10004
Internet Address Physical Address Type
192.168.106.1 00-15-2c-b9-e4-00 dynamic
192.168.106.7 00-13-72-b1-a3-df dynamic
192.168.106.109 00-02-3f-06-20-3f dynamic
192.168.106.119 00-16-41-e3-c2-cd dynamic
192.168.106.121 00-24-7e-da-72-77 dynamic
192.168.106.143 00-24-7e-15-b4-ff dynamic

kibpix525# show uauth | in 192.168.209.8
user 'zhangyub' at 192.168.209.8, authenticated (idle for 0:00:0

1)
user 'luojifeng' at 192.168.209.80, authenticated (idle for 0:00:29)
user 'gaofu' at 192.168.209.86, authenticated (idle for 0:00:00)
kibpix525#

Lib_2950_24_102#show mac-address-table | in 0024.7e15.b4ff
6 0024.7e15.b4ff DYNAMIC Fa0/17
Lib_2950_24_102#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Lib_2950_24_102(config)#int fa0/17
Lib_2950_24_102(config-if)#


kibpix525# show outbound
outbound 112 deny 0.0.0.0 0.0.0.0 4000-65535 ip
outbound 112 except 172.31.0.0 255.255.0.0 0 ip
outbound 112 except 159.226.0.0 255.255.0.0 0 ip
outbound 112 except 210.72.88.0 255.255.255.0 0 ip
outbound 112 except 218.75.80.80 255.255.255.255 0 ip
outbound 112 except 202.102.198.30 255.255.255.255 0 ip
outbound 112 except 202.101.43.85 255.255.255.255 0 ip
outbound 112 except 58.251.59.17 255.255.255.255 0 ip
outbound 112 except 202.103.25.206 255.255.255.255 0 ip
outbound 112 except 210.75.240.0 255.255.255.0 0 ip
outbound 112 except 222.221.253.184 255.255.255.255 0 ip
outbound 112 except 218.61.5.71 255.255.255.255 0 ip
outbound 113 permit 192.168.106.0 255.255.255.0 0 ip
outbound 114 permit 0.0.0.0 0.0.0.0 8080 tcp
outbound 114 permit 0.0.0.0 0.0.0.0 8725 tcp
outbound 115 deny 0.0.0.0 0.0.0.0 210 ip
outbound 115 permit 192.168.106.0 255.255.255.0 210 ip
outbound 115 permit 192.168.204.0 255.255.255.0 210 ip
outbound 115 permit 192.168.116.3 255.255.255.255 210 ip
outbound 115 permit 192.168.103.0 255.255.255.0 210 ip
kibpix525#

kibpix525# show conduit
conduit permit tcp host 210.72.88.234 eq www any
conduit permit tcp host 210.72.88.235 eq www any
conduit permit tcp host 210.72.88.243 eq www any
conduit permit tcp host 210.72.88.243 eq ftp any
conduit permit tcp host 210.72.88.239 eq 8181 any

相关文档
最新文档