双上联,g2/0/0走联通,g2/0/3走电信,电信主用,联通备用。主用不通,走备用。原配置如下,应该增加什么配置,请写出,谢谢。
[RT_H3C_MSR5660_YJYC02]disp cu
#
version 7.1.042, Release 0007P02
#
sysname RT_H3C_MSR5660_YJYC02
#
telnet server enable
#
ospf 100 router-id 10.235.252.142
area 0.0.0.12
network 10.46.46.17 0.0.0.0
network 10.235.252.142 0.0.0.0
network 10.235.252.186 0.0.0.0
#
ip unreachables enable
ip ttl-expires enable
#
system-working-mode
password-recovery enable
#
vlan 1
#
controller Cellular2/0/0
#
controller Cellular2/0/1
#
interface Aux0/0/1
#
interface Aux1/0/1
#
interface NULL0
#
interface GigabitEthernet2/0/0
port link-mode route
description To-YJ-GA-CR-H3C6602-G0/0/1.1072
combo enable fiber
ospf cost 100
ospf network-type p2p
packet-filter 3001 inbound
packet-filter 3001 outbound
#
interface GigabitEthernet2/0/0.1072
description To-YJ-GA-CR-H3C6602-G0/0/1.1072
ip address 10.235.252.142 255.255.255.252
ospf cost 100
ospf network-type p2p
packet-filter 3001 inbound
packet-filter 3001 outbound
vlan-type dot1q vid 1072
#
interface GigabitEthernet2/0/1
port link-mode route
combo enable fiber
shutdown
packet-filter 3001 inbound
packet-filter 3001 outbound
#
interface GigabitEthernet2/0/2
port link-mode route
description To-SW-H3C-S5700-G0/0/48
combo enable copper
ip address 10.46.46.17 255.255.255.252
ospf cost 100
ospf network-type p2p
packet-filter 3001 inbound
packet-filter 3001 outbound
#
interface GigabitEthernet2/0/3
port link-mode route
description to To-RT-HUAWEI-AR3260-G0/0/3
combo enable fiber
ip address 10.235.252.186 255.255.255.252
ospf cost 5
ospf network-type p2p
packet-filter 3001 inbound
packet-filter 3001 outbound
#
interface GigabitEthernet2/3/0
port link-mode route
shutdown
#
interface GigabitEthernet2/3/1
port link-mode route
shutdown
#
interface M-GigabitEthernet0
#
scheduler logfile size 16
#
line class aux
user-role network-operator
#
line class console
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0 1
user-role network-operator
#
line con 0 1
user-role network-a