Contexts
Creating Contexts
IMPORTANT:
[local]host_name# show context all
The output is a two-column
table similar to the example below. This example shows
that two contexts were created: one named source and one
named destination.
Context Name ContextID State
------------ --------- -----
local 1 Active
source 2 Active
destination 3 Active
The left column lists
the contexts that are currently configured. The center
column lists the corresponding context ID for each of the configured
contexts. The third column lists the current state of the
context.
IMPORTANT:
Creating an Interface
configure
context context_name
interface name
{ ip | ipv6 } address address subnetmask [ secondary ]
end
Configuring a Port and Binding It to an Interface
Configuring a Static Route for an Interface
[local]host_name# context context_name
[context_name]host_name# show { ip | ipv6 } interface
context_name represents
the name of the context in which the interface was created. The
output from these commands should be similar to the following example.
In this example an
interface named mgmt1 was
configured in the local context.
Intf Name: mgmt1
Intf Type: Broadcast
IP State: UP (Bound
to 17/1 untagged, ifIndex 285278209)
IP State: UP (Bound
to 5/11 untagged, ifIndex 285278209)
IP Address: 192.168.100.3 Subnet
Mask: 255.255.255.0
Bcast Address: 192.168.100.255 MTU: 1500
Resoln Type: ARP ARP timeout: 3600
secs
L3 monitor LC-port switchover: Disabled
Number of Secondary
Addresses: 0
Total interface count: 1
[context_name]host_name# show configuration
port slot#/port#
slot# is
the chassis slot number of the line card on which the physical port resides. slot# can
be any integer value from 17 to 39, and 42 to 48.
This command produces
an output similar to that displayed in the following example that shows
the configuration for port 1 on the line card installed in chassis
slot 17.
In this example, the
port is bound to an interface called rp1 configured
in a context called source.
config
port ethernet 17/1
description LC17/1_RP1
no shutdown
bind interface
rp1 source
#end
[context_name]host_name# show ip static-route
This command produces
an output similar to that displayed in the following example that shows
a static route to a gateway with an IP address of 192.168.250.1.
Destination Nexthop Protocol Prec Cost Interface
0.0.0.0/0 192.168.250.1 Static 0 0 SPIO1
0.0.0.0/0 192.168.250.1 Static 0 0 rp1 source
IMPORTANT:
Enabling the OLC (ATM) Line Card
Creating an IP Interface for Use with an ATM Port
Configuring an ATM Port to Use an IP Interface
Configuring an ATM Port for an SS7 Link
Binding an SS7 Link to an ATM Port
[local]host_name# context context_name
[context_name]host_name# show ip interface
context_name represents
the name of the context in which the interface was created. The output
from these commands should look similar to that displayed in the
following example.
In this example an
interface named mgmt1 was configured in the local context.
Intf Name: ipoa
Intf Type: Point
to point
IP State: UP (Bound
to 31/1 untagged, ifIndex 285278209)
IP Address: 192.168.100.3 Subnet Mask: 255.255.255.0
Bcast Address: 192.168.100.255 MTU: 1500
Resoln Type: ARP ARP timeout: 3600
secs
Number of Secondary
Addresses: 0
Total interface count: 1
show configuration
port slot#/port#
This command produces
an output similar to
that displayed in the following example:
config
port atm 31/1
no shutdown
pvc vpi 121 vci
4444
no shutdown
bind interface
ipoa sgsn3g
#exit
#exit
IMPORTANT:
Setting the Characteristics of the Channelized Line Card
Configuring the Channel Characteristics
configure
port channelized slot#/port#
path path_id { ds1 | e1 } number_of_connections frame_mapping multiplex# multiplex# framing framing_mode mapping-mode mapping_mode [ timeslots timeslot# [ timeslot# ] ]
IMPORTANT:
Binding a DLCI
Verifying the Frame Relay Interface Configuration and Status
Display Port and DLCI Configuration Details
[local]host_name# show port info 27/1
Port: 27/1
Port
Type : STM1/OC3 Channelized
Description : (None Set)
Controlled
By Card : 11 (Packet
Services Card)
Redundancy
Mode : Port Mode
Framing
Mode : SDH
Redundant
With : Not Redundant
Preferred
Port : Non-Revertive
Physical
ifIndex : 453050368
Administrative
State : Disabled
Link
State : Unknown
Line
Timing : Yes
SFP
Module : Not Present
Path
1 e1 1 : tu12-au3
1/1 crc4 bit-async
Timeslots : 12-14
Frame
Relay Intf Typ : DCE
Frame
Relay LMI Type : Q933A
Frame
Relay LMI n391 : 6
Frame
Relay LMI n392 : 2
Frame
Relay LMI n393 : 2
Frame
Relay LMI t391 : 10
Frame
Relay LMI t392 : 15
Frame
Relay DLCI 243
Logical
ifIndex : 453050369
Admin
State : Disabled
Operational
State : Down, Standby
Shaping : WFQ: Weight 1
Number
of DLCI : 1
Reserved
Bandwidth : 0
of 192000 bits/sec
Path
1 e1 2 : Unused
Number
of DLCI : 1