Hardware configuration
The following sections describe the hardware configurations.
Configuring power shelf and power modules
For systems with modular power shelves and power modules, define the power shelf and module type used in the system.
Configuring power shelf and power module type for 7750 SR-2se with one shelf and four modules
configure chassis router chassis-number 1 power-shelf 1 power-shelf-type ps-a4-shelf-dc
configure chassis router chassis-number 1 power-shelf 1 power-module 1 power-module-type ps-a-dc-6000
configure chassis router chassis-number 1 power-shelf 1 power-module 2 power-module-type ps-a-dc-6000
configure chassis router chassis-number 1 power-shelf 1 power-module 3 power-module-type ps-a-dc-6000
configure chassis router chassis-number 1 power-shelf 1 power-module 4 power-module-type ps-a-dc-6000
Use the following command to display the operational status of the power shelf and modules.
show chassis power-shelf 1 power-module
Power shelf and module operational status output
===============================================================================
Power Shelf Summary
===============================================================================
Slot Provisioned Type Admin Operational Zone Input Output
Equipped Type (if diff) State State Mode
-------------------------------------------------------------------------------
1 ps-a4-shelf-dc up up 1 60A on
===============================================================================
===============================================================================
Power Module Summary
===============================================================================
Slot Provisioned Type Admin Operational Input Zone
Equipped Type (if diff) State State A B
-------------------------------------------------------------------------------
1 ps-a-dc-6000 up up Y Y 1
2 ps-a-dc-6000 up up Y Y 1
3 ps-a-dc-6000 up up Y Y 1
4 ps-a-dc-6000 up up Y Y 1
===============================================================================
Configuring line cards
Define line card types explicitly based on the system type.
Configuring line card type for the 7750 SR-1 with one pluggable MDA card
configure card 1 card-type iom-1
configure card 1 level he
configure card 1 mda 1 mda-type me6-100gb-qsfp28
show card state
Card state output
===============================================================================
Card State
===============================================================================
Slot/ Provisioned Type Admin Operational Num Num Comments
Id Equipped Type (if different) State State Ports MDA
-------------------------------------------------------------------------------
1 iom-1:he up up 2
1/1 me6-100gb-qsfp28 up up 6
A cpm-1 up up Active
===============================================================================
Configuring ports and interfaces
Configure the physical port first, followed by an interface with an IPv4 or IPv6 address.
Each port is considered a connector that supports breakout. Configure the connector with the breakout type so that the appropriate ports are created and can be configured.
Configuring the connector breakout type
The following example displays the configuration of a connector breakout. The default port MTU value is 9212.
configure port 1/1/c1 admin-state enable
configure port 1/1/c1 connector breakout c1-100g
configure port 1/1/c1/1 admin-state enable
configure port 1/1/c1/1 description “To Peering LAN"
Configuring the router interface
The interface is provided a name, an IP address, and is associated with a physical port as shown in the following example.
configure router "Base" interface "To-Peering-LAN" port 1/1/c1/1
configure router "Base" interface "To-Peering-LAN" ipv4 primary address 192.168.0.1 prefix-length 24
configure router "Base" interface "To-Peering-LAN" ipv6 address 2001:a8::4 prefix-length 124
Configuring the system interface
The system interface is the router's loopback interface (like lo0 or loopback0) and is configured as shown in the following example.
configure router "Base" interface "system" ipv4 primary address 10.0.0.1 prefix-length 32
configure router "Base" interface "system" ipv6 address 2001:1::101 prefix-length 128
show port
Port status output
===============================================================================
Ports on Slot 1
===============================================================================
Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/
Id State State MTU MTU Bndl Mode Encp Type MDIMDX
-------------------------------------------------------------------------------
1/1/c1 Up Link Up conn 100GBASE-LR4*
1/1/c1/1 Up Yes Up 9212 9212 - netw null cgige
show router interface
Router interface status output
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name Adm Opr(v4/v6) Mode Port/SapId
IP-Address PfxState
-------------------------------------------------------------------------------
To-Peering-LAN Up Up/Up Network 1/1/c1/1
192.168.0.1/24 n/a
2001:a8::4/124 PREFERRED
fe80::1668:ffff:fe00:0/64 PREFERRED
system Up Up/Up Network system
10.0.0.1/32 n/a
2001:1::101/128 PREFERRED
-------------------------------------------------------------------------------
Interfaces : 2
===============================================================================
SR OS allows the user to enable a single instance of BFD in the interface context, in addition to timers, for both IPv4 and IPv6. The interface BFD state can be shared by specific protocols by enabling the bfd-liveness command under protocol-specific CLI context.
Enabling BFD for IPv4 and IPv6
configure router "Base" interface "Interface-to-R1" ipv4 bfd admin-state enable
configure router "Base" interface "Interface-to-R1" ipv6 bfd admin-state enable
Use the following command to display the protocol-specific BFD session on the router.
show router bfd session
BFD session information output
The following example shows BFD sessions when bfd-liveness is enabled for the OSPF interface.
===============================================================================
Legend:
Session Id = Interface Name | LSP Name | Prefix | RSVP Sess Name | Service Id
wp = Working path pp = Protecting path
===============================================================================
BFD Session
===============================================================================
Session Id State Tx Pkts Rx Pkts
Rem Addr/Info/SdpId:VcId Multipl Tx Intvl Rx Intvl
Protocols Type LAG Port LAG ID
Loc Addr LAG name
-------------------------------------------------------------------------------
to-R2 Up 85 84
192.168.0.1 3 100 100
ospf2 iom N/A N/A
192.168.0.2
-------------------------------------------------------------------------------
No. of BFD sessions: 1
===============================================================================