Qumran 1 Series Platforms | Qumran 2 Series Platforms |
---|---|
Supports both cc-type 1 and 2 | Supports only cc-type 1 and cv-type 1 and 3 |
#configure terminal | Enter configure mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 1.1.1.1/32 secondary | Set the IP address of the loopback interface to 1.1.1.1/32. |
(conf)#interface eth1 | Enter interface mode |
(conf-if)#ip address 10.10.10.1/24 | Assign IP address to eth1 interface |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#enable-ldp ipv4 | Enable LDP on eth1. |
(confi-if)#exit | Exit interface mode |
(config)#router ldp | Enter Router mode for LDP. |
(config-router)#router-id 1.1.1.1 | Set the router ID to IP address 1.1.1.1 |
(config-router)#transport-address ipv4 1.1.1.1 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. In addition, use the parameter "ipv6" if you are configuring an IPv6 interface. |
(config-router)#exit | Exit the Router mode and return to the Configure mode. |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#network 10.10.10.0/24 area 0 | Advertise the eth1 interface in OSPF area 0. |
(config-router)#network 1.1.1.1/32 area 0 | Advertise the lo interface in OSPF area 0. |
(config-router)#exit | Exit router mode |
(config)#mpls bfd ldp all | Configure mpls bfd for ldp |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
#configure terminal | Enter configure mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 2.2.2.2/32 secondary | Set the IP address of the loopback interface to 2.2.2.2/32. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth1 | Specify the interface (eth1) to be configured. |
(conf-if)#ip address 10.10.10.2/24 | Assign IP address to eth1 interface |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#enable-ldp ipv4 | Enable LDP on a specified interface (eth1). |
(config-if)#exit | Exit interface mode. |
(config)#interface eth2 | Specify the interface (eth2) to be configured. |
(conf-if)#ip address 20.20.20.1/24 | Assign IP address to eth2 interface |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#enable-ldp ipv4 | Enable LDP on a specified interface (eth2). |
(config-if)#exit | Exit interface mode. |
(config)#router ldp | Enter Router mode. |
(config-router)#router-id 2.2.2.2 | Set the router ID to IP address 2.2.2.2. |
(config-router)#transport-address ipv4 2.2.2.2 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. |
(config-router)#exit | Exit Router mode and return to Configure mode. |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#network 10.10.10.0/24 area 0 | Define the interfaces on which OSPF runs and associate the area ID (0) with them. |
(config-router)#network 20.20.20.0/24 area 0 | Define the interfaces on which OSPF runs and associate the area ID (0) with them. |
(config-router)#network 2.2.2.2/32 area 0 | Define the interfaces on which OSPF runs and associate the area ID (0) with them. |
(config)#mpls bfd ldp all | Configure mpls bfd for ldp |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
#configure terminal | Enter configure mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 3.3.3.3/32 secondary | Set the IP address of the loopback interface to 3.3.3.3/32. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth2 | Specify the interface (eth2) to be configured. |
(conf-if)#ip address 20.20.20.2/24 | Assign IP address to eth2 interface |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#enable-ldp ipv4 | Enable LDP on a specified interface (eth2). |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit Interface mode |
(config)#router ldp | Enter Router mode. |
(config-router)#router-id 3.3.3.3 | Set the router ID for IP address 3.3.3.3. |
(config-router)#transport-address ipv4 3.3.3.3 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. In addition, use the parameter "ipv6" if you are configuring an IPv6 interface. |
(config-router)#exit | Exit the Router mode and return to the Configure mode. |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#network 20.20.20.0/24 area 0 | Define the interfaces on which OSPF runs and associate the area ID (0) with them. |
(config-router)#network 3.3.3.3/32 area 0 | Define the interfaces on which OSPF runs and associate the area ID (0) with them. |
(config-router)#commit | Commit the transaction. |
(config)#mpls bfd ldp all | Configure mpls bfd for ldp |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
(config)#router rsvp | Enter Router mode for RSVP. |
(config-router)#exit | Exit RSVP router mode |
(conf)#interface eth1 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#enable-rsvp | Enable RSVP on eth1. |
(confi-if)#exit | Exit interface mode |
(config)#rsvp-trunk T1 ipv4 | Configure Trunk for RSVP |
(config-trunk)# from 1.1.1.1 | Specify tunnel ingress for RSVP |
(config-trunk)# to 3.3.3.3 | Specify tunnel egress for RSVP |
(config-trunk)#exit | Exit RSVP trunk configuration mode |
(config)#mpls bfd rsvp all | Configure mpls bfd for RSVP |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
(config)#router rsvp | Enter Router mode for RSVP. |
(config-router)#exit | Exit RSVP router mode |
(conf)#interface eth1 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#enable-rsvp | Enable RSVP on eth1. |
(confi-if)#exit | Exit interface mode |
(conf)#interface eth2 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#enable-rsvp | Enable RSVP on eth2. |
(confi-if)#exit | Exit interface mode |
(config)#mpls bfd rsvp all | Configure mpls bfd for RSVP |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
(config)#router rsvp | Enter Router mode for RSVP. |
(config-router)#exit | Exit RSVP router mode |
(conf)#interface eth2 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#enable-rsvp | Enable RSVP on eth2. |
(confi-if)#exit | Exit interface mode |
(config)#rsvp-trunk T1 ipv4 | Configure Trunk for RSVP |
(config-trunk)# from 3.3.3.3 | Specify tunnel ingress for RSVP |
(config-trunk)# to 1.1.1.1 | Specify tunnel egress for RSVP |
(config-trunk)#exit | Exit RSVP trunk configuration mode |
(config)#mpls bfd rsvp all | Configure mpls bfd for RSVP |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
(config)#interface eth1 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#exit | Exit interface mode |
(conf)#mpls ftn-entry 3.3.3.3/32 102 10.10.10.2 eth1 | Configure MPLS FTN entry for the creation of a static LSP to |
PE-2. | |
(config)#mpls ilm-entry 401 pop | Configure ILM entry |
(config)#mpls bfd static all | Configure mpls bfd for static MPLS |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
(config)#interface eth1 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth1. |
(confi-if)#exit | Exit interface mode |
(conf)#interface eth2 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#exit | Exit interface mode |
mpls ilm-entry 201 swap 401 eth1 10.10.10.1 1.1.1.1/32 | Swap the incoming label |
mpls ilm-entry 102 swap 301 eth2 mpls ftn-entry 1.1.1.1/32 201 20.20.20.1 eth2 20.20.20.2 3.3.3.3/32 | Swap the incoming label |
(config)#mpls bfd static all | Configure mpls bfd for static MPLS |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
(conf)#interface eth2 | Enter interface mode |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#exit | Exit interface mode |
(config)#mpls ftn-entry 1.1.1.1/32 201 20.20.20.1 eth2 | Configure MPLS FTN entry for the creation of a static LSP to |
PE-1 | |
(config)#mpls bfd static all | Configure mpls bfd for static MPLS |
(config-mpls-bfd)#exit | Exit mpls bfd mode |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit out of configuration terminal mode |
#configure terminal | Enter configure mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 1.1.1.1/32 secondary | Set the IP address of the loopback interface to 1.1.1.1/32. |
(conf)#interface eth1 | Enter interface mode |
(conf-if)#ip address 10.10.10.1/24 | Assign IP address to eth1 interface |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#enable-ldp ipv4 | Enable LDP on eth1. |
(confi-if)#exit | Exit interface mode |
(config)#router ldp | Enter Router mode for LDP. |
(config-router)#router-id 1.1.1.1 | Set the router ID to IP address 1.1.1.1 |
(config-router)#transport-address ipv4 1.1.1.1 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. In addition, use the parameter "ipv6" if you are configuring an IPv6 interface. |
(config-router)#exit | Exit the Router mode and return to the Configure mode. |
(config)#service-template st1 | Service template configuration |
(config-svc)#exit | Exit service-template configuration mode |
(config)#mpls l2-circuit pw1 3.3.3.3 | Configure the VC for PE2 |
(config-pseudowire)#control-word | Configure control-word |
(config-pseudowire)#vccv cc-type type-1 | Configure cc-type type-1 |
(config-pseudowire)#vccv cv-type type-3 | Configure cv-type type-3 |
(confi- pseudowire)#exit | Exit pw configuration mode |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter configure mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 2.2.2.2/32 secondary | Set the IP address of the loopback interface to 2.2.2.2/32. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth1 | Specify the interface (eth1) to be configured. |
(conf-if)#ip address 10.10.10.2/24 | Assign IP address to eth1 interface |
(config-if)#label-switching | Enable label switching on interface eth1. |
(config-if)#enable-ldp ipv4 | Enable LDP on a specified interface (eth1). |
(config-if)#exit | Exit interface mode. |
(config)#interface eth2 | Specify the interface (eth2) to be configured. |
(conf-if)#ip address 20.20.20.1/24 | Assign IP address to eth2 interface |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#enable-ldp ipv4 | Enable LDP on a specified interface (eth2). |
(config-if)#exit | Exit interface mode. |
(config)#router ldp | Enter Router mode. |
(config-router)#router-id 2.2.2.2 | Set the router ID to IP address 2.2.2.2. |
(config-router)#transport-address ipv4 2.2.2.2 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. |
(config-router)#pw-status-tlv | Configure PW Status TLV to signal the pseudowire status |
(config-router)#exit | Exit Router mode and return to Configure mode. |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter configure mode. |
(config)#interface lo | Specify the loopback (lo) interface to be configured. |
(config-if)#ip address 3.3.3.3/32 secondary | Set the IP address of the loopback interface to 3.3.3.3/32. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth1 | Specify the interface (eth1) to be configured. |
(conf-if)#ip address 20.20.20.2/24 | Assign IP address to eth1 interface |
(config-if)#label-switching | Enable label switching on interface eth2. |
(config-if)#enable-ldp ipv4 | Enable LDP on a specified interface (eth2). |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit Interface mode |
(config)#router ldp | Enter Router mode. |
(config-router)#router-id 3.3.3.3 | Set the router ID for IP address 3.3.3.3. |
(config-router)#transport-address ipv4 3.3.3.3 | Configure the transport address to be used for a TCP session over which LDP will run on an IPv4 interface. Note: It is preferable to use the loopback address as transport address. In addition, use the parameter "ipv6" if you are configuring an IPv6 interface. |
(config-router)#exit | Exit the Router mode and return to the Configure mode. |
(config)#service-template st1 | Service template configuration |
(config-svc)#exit | Exit service-template configuration mode |
(config)#mpls l2-circuit pw1 1.1.1.1 | Configure the VC for PE1 |
(config-pseudowire)#control-word | Configure control-word |
(config-pseudowire)#vccv cc-type type-1 | Configure cc-type type-1 |
(config-pseudowire)#vccv cv-type type-3 | Configure cv-type type-3 |
(confi- pseudowire)#exit | Exit pw configuration mode |