CatOS (enable) show config
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default
configurations.
............
.......................
..
begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Thu Nov 21 2002, 15:24:27
!
#version 7.1(2)
!
!
#system web interface version(s)
set prompt CatOS
!
#test
!
#frame distribution method
set port channel all distribution mac both
!
#ip
set interface sc0 1 10.10.10.1/255.255.255.0 10.10.10.255
set interface sl0 down
set interface me1 down
set ip alias default 0.0.0.0
set ip alias cat 10.10.10.2
!
#spantree
#vlan <VlanID>
!
#set boot command
set boot config-register 0x2102
clear boot system all
!
!--- ポート 2/1 〜 2/4 がポート チャネルに割り当てられています。
#port channel
set port channel 2/1-4 29
!
#multicast filter
set igmp filter disable
!
#module 1 : 0-port Switching Supervisor
!
!--- トランキング モードは 802.1Q として指定されています。これは
!--- 2948G でサポートされている唯一のカプセル化
!--- 方式です。モードは nonegotiate に設定されています。
!--- これは、2948G-L3 で Dynamic Trunking Protocol(DTP; ダイナミック トランキング プロトコル)
!--- がサポートされていないためです。
#module 2 : 50-port 10/100/1000 Ethernet
set trunk 2/1 nonegotiate 802.1Q 1-1005
set trunk 2/2 nonegotiate 802.1Q 1-1005
set trunk 2/3 nonegotiate 802.1Q 1-1005
set trunk 2/4 nonegotiate 802.1Q 1-1005
!--- チャネル モードは on に設定されています。これは、2948G-L3 で
!--- Port Aggregation Protocol(PAgP; ポート集約プロトコル)がサポートされていないためです。
set port channel 2/1-4 mode on
end
Catalyst 2948G-L3
2948G-L3# show run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2948G-L3
!
enable secret 5 $1$bNvR$33puy1WCyrdKMvlnj61Js.
!
ip subnet-zero
!
!
!--- 論理ポートチャネル インターフェイスは、物理インターフェイスを
!--- チャネル グループ interface port-channel1 に
!--- 追加する前に作成してください。
no ip address
no ip directed-broadcast
hold-queue 300 in
!
!--- ネイティブ VLAN を指定します。この例では VLAN 1 です。
!--- これはデフォルトです。パフォーマンスおよびセキュリティ上の理由から、
!--- ユーザ トラフィックはネイティブ VLAN または管理 VLAN から
!--- 切り離しておくことを推奨します。
interface Port-channel1.1
encapsulation 802.1Q 1 native
ip address 10.10.10.2 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.2
encapsulation 802.1Q 2
ip address 10.10.11.2 255.255.255.0
no ip directed-broadcast
!
!--- 論理ポート チャネル インターフェイスの一部となる
!--- すべての物理ポートを指定します。
interface FastEthernet1
no ip address
no ip directed-broadcast
channel-group 1
!
interface FastEthernet2
no ip address
no ip directed-broadcast
channel-group 1
!
interface FastEthernet3
no ip address
no ip directed-broadcast
channel-group 1
!
interface FastEthernet4
no ip address
no ip directed-broadcast
channel-group 1
!
!--- 出力を省略。
!
ip classless
!
!
line con 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
end
2948G-L3# show interfaces port-channel 1
Port-channel1 is up, line protocol is up
Hardware is FEChannel, address is 0008.a308.1c07 (bia 0000.0000.0000)
MTU 1500 bytes, BW 400000 Kbit, DLY 100 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
Half-duplex, Unknown Speed, Media type unknown
ARP type: ARPA, ARP Timeout 04:00:00
No. of active members in this channel: 4
Member 0 : FastEthernet2
Member 1 : FastEthernet1
Member 2 : FastEthernet4
Member 3 : FastEthernet3
Last input 00:00:00, output 00:00:55, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/300, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
596128 packets input, 50714549 bytes, 0 no buffer
Received 7 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 watchdog, 0 multicast
0 input packets with dribble condition detected
44294 packets output, 17498215 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
show cdp neighbor:CDP で検出された、直接接続されている Cisco デバイスをすべて表示します。
反対側にあるスイッチをすべての物理ポートから確認できることを確かめます。
2948G-L3# show cdp neighbor
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
JAB032400H2 Port-channel1.1 126 T S WS-C2948 2/3
JAB032400H2 Port-channel1.1 124 T S WS-C2948 2/4
JAB032400H2 Port-channel1.1 123 T S WS-C2948 2/1
JAB032400H2 Port-channel1.1 123 T S WS-C2948 2/2