Configuration examples, Configuration examples -18 – Enterasys Networks Security Router X-PeditionTM User Manual
Page 54

Utilizing the Command Line Interface
2-18 Managing the XSR
•
Virtual Interfaces:
–
Loopback - Range 0 to 15. Interface type: Internal Loopback.
–
Dialer - Range: 0 to 255, Interface type: Dialer.
–
VPN - Range: 0 to 255, Interface type: VPN tunnel/Dialer.
–
Multilink - Range: 1 to 32767, Interface type: VPN tunnel.
–
Frame Relay DLCI - Range: 16 to 1007, Interface type: Serial/FR.
–
Sub-interface: Each sub-interface correlates with a physical interface, ranging as follows:
ATM, BRI, and Serial - 1 to 30, Fast/GigabitEthernet - 1 to 64. The sub-interface number is
Port number.sub-interface number for single channel serial, port
number.channelgroupnumber.subinterface number for multi-channel.
Configuration Examples
The following examples display minimal interface configuration:
•
FastEthernet Example
interface fastethernet 1
+
Begins configuring interface/port 1
no shutdown
+
Enables the interface
•
T1 Example
controller t1 1/0
+
Begins configuring controller on NIM card 1, port 0
channel-group 3 timeslots 1, 3-6, 12
+
Maps timeslots 1, 3, 4, 5, 6, and 12 to channel group 3
no shutdown
+
Enables the interface
!
interface serial 1/0:3
+
Configures channel group 3 defined above
encapsulation ppp
+
Sets interface encapsulation type to PPP
no shutdown
+
Enables the interface
•
T1-PRI (ISDN) Example
controller t1 1/0/0
+
Begins configuring PRI NIM card 1, port 0
pri-group
+
Enables ISDN, sets all timeslots to map to channel groups on NIM
controller t1 1/0/0:23
+
Maps T1 NIM to D-channel sub-interface
isdn switch-type primary-ni
+
Selects switch type
isdn pool-member 1 priority 100
+
Adds a prioritized pool member to sub-interface
•
Dialer Example
interface dialer 4
+
Begins configuring dialer interface 4
ip address 11.1.2.2 255.0.0.0
+
Sets IP address/subnet on dialer port
dialer pool 5
+
Sets dialer 4 to use pool 5. Its members are physical ports
interface serial 2/0
+
Configures serial interface on NIM card 2, port 0
encapsulation ppp
+
Sets interface encapsulation type to PPP
dialer pool member 5
+
Serial 2/0 is now a member of dialer pool 5 and will eventually be used by dialer 4
no shutdown
+
Enables the interface
!
interface serial 2/1
+
Configures serial interface on NIM card 2, port 1
encapsulation ppp
+
Sets interface encapsulation type to PPP
dialer pool member 5
+
Serial 2/1 is now a member of dialer pool 5 and will eventually be used by dialer 4
no shutdown
+
Enables the interface