分类: 系统运维
2008-05-20 16:16:40
The following example shows a typical controller configuration for
the multichannel E1/PRI port adapter on a Cisco 7200 series or
Cisco uBR7200
series router:
router> enable
router# configure terminal
router(config)# controller E1 1/0
router(config-controller)# framing crc4
router(config-controller)# linecode hdb3
router(config-controller)# clocksource internal
router(config-controller)# channel-group 0 timeslots 1-31
router(config-controller)# description ppp channel 5
router(config-controller)# shutdown
router(config-controller)# ^Z
2.Interface Configuration Examples接口配置举例
The following example shows a typical interface configuration for
the multichannel E1/PRI port adapter on a Cisco 7200 series or
Cisco uBR7200 series router:
router> enable
router# configure terminal
router(config)# interface serial
router(config)# interface serial 4/1:0
router(config-if)# encapsulation ppp
router(config-if)# description ppp channel 5
router(config-if)# no shutdown
router(config-if)# ^Z
3. Configuring Multichannel E1 Interfaces 配制多通道E1接口
The channel groups must be mapped before the multichannel E1/PRI
controller can be configured. The following are controller commands
used to map the channel group (the default variable is listed first):
controller E1 port-adapter-slot number/port-number (for Cisco 7200
series router)
clock source [line | internal]
linecode [ami | hdb3]
framing [crc4 | no-crc4]
loopback [diagnostic | local {payload | line}]
shutdown
channel-group number timeslots list
Number is the channel group 0 to 30.
list is a number between 1 and 31. You can enter timeslots individually
and separate them by commas, or enter them as a range separated by
a hyphen (for example, 1-3, 8, 9-18). Timeslot 0 is an illegal
configuration.
4.常用调试命令
show version or show hardware
Displays system hardware configuration, the number of each interface
type installed, Cisco IOS software version, names and sources of
configuration files, and boot images
show controllers
Displays all the current interface processors and their interfaces
show diag slot
Displays types of port adapters installed in your system and
information about a specific port adapter slot, interface processor
slot, or chassis slot
show interfaces type 0 or 1/
interface-port-number
Displays status information about a specific type of interface (for
example, serial) on a Catalyst RSM/VIP2
show interfaces type mod_num/bay/port
Displays status information about a specific type of interface (for
example, serial) on a Catalyst 6000 family FlexWAN module
show interfaces type 3/interface-port-number
Displays status information about a specific type of interface (for
example, serial) in a Cisco 7120 series router
show interfaces type 4/interface-port-number
Displays status information about a specific type of interface (for
example, serial) in a Cisco 7140 series router
show interfaces type port-adapter-slot-number/interface-port-number
Displays status information about a specific type of interface (for
example, serial) in a Cisco 7200 series router
show interfaces type 1/interface-port-number
Displays status information about a specific type of interface (for
example, serial) in a Cisco uBR7223 router
show interfaces type 1 or 2/interface-port-number
Displays status information about a specific type of interface (for
example, serial) in a Cisco uBR7246 router
show interfaces type interface-processor-slot-number/port-adapter-
slot-number/interface-port-number
Displays status information about a specific type of interface (for
example, serial) on a VIP2 or VIP4 in a Cisco 7000 series or Cisco
7500 series router
Router# show interfaces serial 3/1/0
show protocols
Displays protocols configured for the entire system and for specific
interfaces
show running-config
Displays the running configuration file
show startup-config
Displays the configuration stored in NVRAM
5. show Cisco 7200 Series and Cisco uBR7200 Series Routers
下列显示72的SHOW结果!
Following is an example of the show interfaces serial port-adapter-
slot-number/port-number:channel-group command for Cisco 7200 series
and Cisco uBR7200 series routers. It shows all of the information
specific to the first multichannel E1/PRI port (port 0) in port
adapter slot 2, channel group 1:
Router# show interfaces serial 2/0:1
Serial2/0:1 is up, line protocol is up (looped)
Hardware is Multichannel E1
Internet address is 1.6.0.1/30
MTU 1500 bytes, BW 1536 Kbit, DLY 20000 usec, rely 255/255, load
1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:07, output 00:00:07, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/64/0 (size/threshold/drops)
Conversations 0/1 (active/max active)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
87 packets input, 6521 bytes, 0 no buffer
Received 87 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
87 packets output, 6521 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitions
no alarm present
Timeslot(s) Used:1-31, subrate: 64Kb/s, transmit delay is 0 flags