EasyManua.ls Logo

Huawei S Series - Page 36

Huawei S Series
74 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
d. Configure IP addresses for egress router interfaces.
Configure an IP address for the interface connecting to the intranet.
1
<HUAWEI> system-view
[HUAWEI] sysname Router
[Router] interface GigabitEthernet 0/0/1
[Router-GigabitEthernet0/0/1] ip address 172.16.1.2 24 //Configure an IP
address for the interface connecting to CORE1.
[Router-GigabitEthernet0/0/1] quit
[Router] interface GigabitEthernet 0/0/2
[Router-GigabitEthernet0/0/2] ip address 172.16.2.2 24 //Configure an IP
address for the interface connecting to CORE2.
[Router-GigabitEthernet0/0/2] quit
Configure an IP address for the interface connecting to the Internet.
[Router] interface GigabitEthernet 0/0/0
[Router-GigabitEthernet0/0/0] ip address 1.1.1.2 30 //Configure an IP
address for the interface connecting to the Internet.
[Router-GigabitEthernet0/0/0] quit
e. (Optional) Configure a static route.
Configure a default static route to the egress router and a backup static route on CORE1
and CORE2, respectively.
[CORE1] ip route-static 0.0.0.0 0.0.0.0 172.16.1.2
//Configure a default static route to the egress router on CORE1.
[CORE1] ip route-static 0.0.0.0 0.0.0.0 172.16.3.2 preference 70
//Configure a backup static route to CORE2 on CORE1.
[CORE2] ip route-static 0.0.0.0 0.0.0.0 172.16.2.2
[CORE2] ip route-static 0.0.0.0 0.0.0.0 172.16.3.1 preference 70
On the egress router, configure a default static route to the carrier device.
[Router] ip route-static 0.0.0.0 0.0.0.0 1.1.1.1
On the egress router, configure primary and backup routes. The next hop of the
primary route is CORE1 and that of the backup route is CORE2.
[Router] ip route-static 192.168.10.0 255.255.255.0 172.16.1.1
[Router] ip route-static 192.168.10.0 255.255.255.0 172.16.2.1 preference
70 //Configure a backup route to department A with the next hop pointing
to CORE2.
[Router] ip route-static 192.168.20.0 255.255.255.0 172.16.1.1
[Router] ip route-static 192.168.20.0 255.255.255.0 172.16.2.1 preference
70 //Configure a backup route to department B with the next hop pointing
to CORE2.
2
1
If a dynamic routing protocol is configured, skip this step.
2
3
33

Other manuals for Huawei S Series

Related product manuals