3 assigning ip addresses to a cisco hdlc wan port, 4 monitoring cisco hdlc port configuration, 12 cisco hdlc configuration example – Riverstone Networks WICT1-12 User Manual

Page 620: Cisco hdlc configuration example -16, Rate limiting configuration examples -13

Advertising
background image

30-16 Riverstone Networks RS Switch Router User Guide Release 8.0

Cisco HDLC Configuration Example

WAN Configuration

30.11.3

Assigning IP Addresses to a Cisco HDLC WAN Port

The interface address of the local Cisco HDLC WAN port and peer address must conform to the following rules:

1.

The interface and peer addresses should belong to the same subnet.

2.

The host part of the addresses should be either 1 or 2. If the host part of the interface address is 1,
then the peer address should be 2, and vice-versa.

For example on routers RS1 and RS2, in subnet 123.45.67.0, the configuration is:

30.11.4

Monitoring Cisco HDLC Port Configuration

Once you have configured your Cisco HDLC WAN interface(s), you can use the CLI to monitor status and statistics
for your WAN ports. The following table describes the monitoring commands for WAN interfaces, designed to be used
in the Enable mode:

30.12 CISCO HDLC CONFIGURATION EXAMPLE

HSSI ports 1 and 2 in slot 5 are configured for Cisco HDLC encapsulation, and a speed of 45Mbps. A service profile
“s1” is then created with the Keepalive set to 15 seconds, and RED disable. Finally, the service profile is applied to the
HSSI ports:

! RS1 Cisco HDLC WAN port

rs1(config)# interface create ip cisco_hdlc address-netmask 123.45.6.1/24

peer-address 123.45.67.2 port hs.5.1

! RS2 Cisco HDLC WAN port

rs2(config)# interface create ip cisco_hdlc address-netmask 123.45.6.2/24

peer-address 123.45.67.1 port hs.3.2

Display a particular Cisco HDLC service
profile.

cisco-hdlc show service

<service name>

Display all available Cisco HDLC service
profiles.

cisco-hdlc show service all

Display statistics for Cisco HDLC WAN
port(s).

cisco-hdlc show stats ports

<port name>

| all-ports

[summary]

Clear the specified statistics counter on
one or more Cisco HDLC WAN ports.

cisco-hdlc clear stats-counter

[frame-drop-qdepth-counter]

[max-frame-enqued-counter] [frame-drop-red-counter]

[rmon] port

<port-list>

rs(config)# port set hs.5.1,hs.5.2 wan-encapsulation cisco-hdlc speed 45000000

rs(config)# cisco-hdlc define service s1 keepalive 15 red off

rs(config)# cisco-hdlc apply service s1 ports hs.5.1,hs.5.2

Advertising